CN111866058A - Data processing method and system - Google Patents

Data processing method and system Download PDF

Info

Publication number
CN111866058A
CN111866058A CN202010450669.6A CN202010450669A CN111866058A CN 111866058 A CN111866058 A CN 111866058A CN 202010450669 A CN202010450669 A CN 202010450669A CN 111866058 A CN111866058 A CN 111866058A
Authority
CN
China
Prior art keywords
information
target
acquiring
equipment
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010450669.6A
Other languages
Chinese (zh)
Other versions
CN111866058B (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.)
Xian Wanxiang Electronics Technology Co Ltd
Original Assignee
Xian Wanxiang Electronics Technology Co 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 Xian Wanxiang Electronics Technology Co Ltd filed Critical Xian Wanxiang Electronics Technology Co Ltd
Priority to CN202410182111.2A priority Critical patent/CN118158206A/en
Priority to CN202010450669.6A priority patent/CN111866058B/en
Publication of CN111866058A publication Critical patent/CN111866058A/en
Application granted granted Critical
Publication of CN111866058B publication Critical patent/CN111866058B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a data processing method and a data processing system, relates to the technical field of electronic information, and can solve the problem that a cloud server cannot be flexibly adapted to a plurality of terminal devices based on image transmission. The specific technical scheme is as follows: when a server detects that a terminal device logs in, acquiring device hardware information corresponding to the terminal device, after negotiation processing with the terminal device, acquiring target negotiation information according to the device hardware information, wherein the specific acquisition of the target negotiation information comprises the following steps: acquiring target acquisition resolution corresponding to the terminal equipment according to screen information in the equipment hardware information; acquiring a target acquisition frame rate corresponding to the terminal equipment according to the acquisition resolution and the decoding information in the hardware information of the equipment; and acquiring a target audio acquisition format according to the audio playing format information in the equipment hardware information, and acquiring a target audio coding format according to the audio decoding format information in the equipment hardware information. The present disclosure is for data processing.

Description

Data processing method and system
Technical Field
The present disclosure relates to the field of electronic information technologies, and in particular, to a data processing method and system.
Background
The existing cloud mobile phone scheme is based on a cloud operating system. The interaction between the cloud mobile phone terminal and the server side operating system comprises the interaction of an image layer, the interaction based on the image layer only relates to hardware capabilities which are irrelevant to the operating system, such as image decoder capability information, display device capability information, audio playing capability information, network capability, local input equipment type and the like, and the cloud mobile phone and the thin client can start any operating system. However, different cloud mobile phones or thin terminals have different screen models and modem models, and the display capability, decoding capability and network capability of the corresponding required server end are different, but a server connected with the terminal device in the prior art cannot display different acquisition results according to different device hardware information.
Disclosure of Invention
The embodiment of the disclosure provides a data processing method and system, which can solve the problem that a cloud server cannot be flexibly adapted to a plurality of terminal devices when image transmission is based. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a data processing method applied to a server, the method including:
When the terminal device is detected to log in, acquiring device hardware information corresponding to the terminal device, wherein the device hardware information comprises screen information and decoding information;
and performing interactive negotiation with the terminal equipment according to the equipment hardware information to generate target negotiation information, wherein the target negotiation information is used for indicating the server to process strategy information when the terminal equipment sends data.
According to a second aspect of the embodiments of the present disclosure, there is provided a data processing method applied to a terminal device, the method including:
acquiring equipment hardware information corresponding to the terminal equipment, wherein the equipment hardware information comprises at least one of screen information, decoding information, equipment type, audio playing format information and audio decoding format information corresponding to the terminal equipment;
sending the hardware information of the equipment to the server;
and performing interactive negotiation with the server according to the hardware information of the equipment to acquire target negotiation information, wherein the target negotiation information is used for indicating the server to process strategy information when the terminal equipment sends data.
According to a third aspect of embodiments of the present disclosure, there is provided a data processing system comprising: a server and a terminal device, the server and the terminal device being connected,
The terminal device is used for acquiring device hardware information corresponding to the terminal device, wherein the device hardware information comprises at least one item of information of screen information, decoding information, device type, audio playing format information and audio decoding format information corresponding to the terminal device;
generating login request information according to the equipment hardware information, wherein the login request information is used for requesting to login the server and comprises the hardware information and the identification information of the terminal equipment;
sending the login request information to the server;
the server is used for acquiring the login request information and acquiring equipment hardware information corresponding to the terminal equipment according to the login request information;
and according to the hardware information of the equipment, carrying out interactive negotiation with the terminal equipment to generate target negotiation information of the terminal equipment, wherein the target negotiation information is used for indicating the server to process strategy information when the terminal equipment sends data.
In one embodiment, the server in the system is further configured to,
when the login request information is acquired, determining a target virtual machine logged in by the terminal equipment, and acquiring identification information of the target virtual machine;
Acquiring equipment hardware information corresponding to the terminal equipment through the target virtual machine;
and processing the identification information of the target virtual machine and the hardware information of the equipment by the target virtual machine to generate target negotiation information.
In one embodiment, the device hardware information in the system includes screen information and decoding information, and the server, when generating the target negotiation information, is further configured to,
acquiring a target acquisition resolution corresponding to the terminal equipment according to the screen information;
acquiring a target acquisition frame rate corresponding to the terminal equipment according to the target acquisition resolution and the decoding information;
generating first target negotiation information according to the target acquisition resolution and the target acquisition frame rate, wherein the first target negotiation information is used for indicating the server to process strategy information when the terminal equipment sends an image, and the first target negotiation information belongs to the target negotiation information;
wherein, obtain the target acquisition resolution that this terminal equipment corresponds, include:
analyzing the screen information, and acquiring the screen type in the screen information according to the analysis result;
according to the screen type, if the screen type indicates a fixed resolution type, obtaining a classification rate corresponding to the screen type, and obtaining a target acquisition resolution according to the resolution;
And according to the screen type, if the screen type indicates a resolution variable type, acquiring EDID information in the screen information, and acquiring a target acquisition resolution according to the resolution in the EDID information.
In one embodiment, when the system acquires the target acquisition frame rate corresponding to the terminal device, the server is further configured to,
determining encoding information corresponding to the decoding information according to the decoding information;
determining a preset coding code stream corresponding to at least one preset frame rate corresponding to the coding information according to the coding information;
and determining the target acquisition frame rate according to the preset coding code stream and the target acquisition resolution screen field frequency.
In one embodiment, the device hardware information in the system includes a device type, and the server, in generating the target negotiation information, is further configured to,
and acquiring second target negotiation information corresponding to the equipment type according to the equipment type, wherein the equipment type is determined by taking a coordinate corresponding to an input equipment event as a relative coordinate or an absolute coordinate, the second target negotiation information is used for indicating policy information for processing the input equipment event corresponding to the equipment type, and the second target negotiation information belongs to the target negotiation information.
In one embodiment, the device hardware information in the system includes audio playing format information and audio decoding format information, and the server, when generating the target negotiation information, is further configured to:
acquiring a target audio acquisition format according to the audio playing format information;
acquiring a target audio coding format according to the audio decoding format information;
and generating third target negotiation information according to the target audio acquisition format and the target audio coding format, wherein the third target negotiation information is used for indicating a server to process strategy information when the terminal equipment sends audio.
In one embodiment, the device hardware information in the system includes screen information, and the terminal device is further configured to:
acquiring a screen type corresponding to the terminal equipment and a resolution corresponding to the screen type;
if the screen type indicates a fixed resolution type, acquiring a classification rate corresponding to the screen type, and generating screen information according to the screen type and the resolution;
and if the screen type indicates a resolution variable type, acquiring EDID information in the screen information, and generating the screen information according to the EDID information and the screen type.
In one embodiment, the terminal devices in the system are further configured to,
sending target data to the server according to the target negotiation information, wherein the target data comprises at least one of images, audio or input device events;
acquiring a processing result matched with the target negotiation information according to the target data;
the server in the system is also used for processing the target data sent by the terminal equipment according to the target negotiation information and generating a processing result;
sending the processing result to the terminal equipment;
wherein the processing the target data comprises:
when the target data is a target image, determining a target acquisition resolution and a target acquisition frame rate corresponding to the target image according to the target negotiation information;
and acquiring the target image according to the target acquisition resolution and the target acquisition frame rate.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic diagram of a network structure provided by an embodiment of the present disclosure;
fig. 2 is a flowchart 1 of a data processing method provided by an embodiment of the present disclosure;
FIG. 3 is a flowchart 2 of a data processing method provided by an embodiment of the present disclosure;
FIG. 4 is a block diagram of a data processing system according to an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The embodiment of the present disclosure provides a multimedia data transmission method, which is applied to a server and a terminal device, as shown in fig. 1, fig. 1 is a schematic diagram of a network structure provided by the embodiment of the present disclosure, the network is adapted to the internet, and data can be mutually transmitted between a server 102 and a terminal device 101 in fig. 1 through the internet.
Example one
An embodiment of the present disclosure provides a data processing method, as shown in fig. 2, where the data processing method is applied to a server, and includes the following steps:
201. and when the login of the terminal equipment is detected, acquiring equipment hardware information corresponding to the terminal equipment.
The device hardware information includes at least one of screen information, decoding information, device type, audio playback format information, and audio decoding format information.
The method provided by the present disclosure further includes determining whether the terminal device successfully logs in, for example, by obtaining login information sent by the terminal device, where the login information includes account information, password information, security information, and the like; searching preset login information matched with the terminal equipment according to the login information of the terminal equipment; and if the two are consistent, determining that the terminal equipment has successfully logged in.
The method provided by the disclosure can firstly determine that the terminal equipment successfully logs in, send feedback information to the terminal equipment, and then acquire the equipment hardware information according to the feedback information, and also can analyze the login information after determining that the terminal equipment successfully logs in, wherein the login information comprises the equipment hardware information and the identification information of the terminal equipment, and the equipment hardware information is acquired according to the analysis result.
202. And performing interactive negotiation with the equipment hardware according to the equipment hardware information to generate target negotiation information, wherein the target negotiation information is used for indicating the server to process strategy information when the terminal equipment sends data.
When the negotiation information is generated, the method provided by the disclosure can also determine the target virtual machine logged in by the terminal equipment through the login information of the terminal equipment, process the equipment hardware information of the terminal equipment through the target virtual machine, further establish target mapping by acquiring the identification information of the target virtual machine and the identification information of the terminal equipment, and further realize that when the terminal equipment logs in the server, the virtual machine and the target negotiation information are automatically matched.
The negotiation information of the method provided by the disclosure only comprises the hardware capability of the device and does not comprise the capability of the operating system software of the thin terminal. The negotiation process is irrelevant to the server-side operating system, and different operating systems can be started by connecting the client of the terminal equipment with different server-side virtual machines.
In a specific implementation process, the target negotiation information may be further subdivided according to data sent by the terminal device:
Example one: when the data sent by the terminal device is of an image type or contains an image, the process of generating the first target negotiation information may include:
and acquiring the target acquisition resolution corresponding to the terminal equipment according to the screen information.
And acquiring a target acquisition frame rate corresponding to the terminal equipment according to the target acquisition resolution and the decoding information.
And generating target image information according to the target acquisition resolution and the target acquisition frame rate, wherein the target image information is used for instructing a server to process the image sent by the terminal equipment.
The acquiring information corresponding to the terminal device in the method includes:
analyzing the screen information, and acquiring the screen type in the screen information according to the analysis result;
according to the screen type, if the screen type indicates a fixed resolution type, acquiring a classification rate corresponding to the screen type, and taking the resolution as a target acquisition resolution;
and according to the screen type, if the screen type indicates a resolution variable type, acquiring EDID information in the screen information, and taking the resolution in the EDID information as a target acquisition resolution. The EDID information, i.e., extended display Identification Data, is a VESA standard Data format, which includes parameters related to the monitor and its performance, including vendor information, maximum image size, color setting, vendor preset, limit of frequency range, and character strings of display name and serial number.
The method for acquiring the target acquisition frame rate corresponding to the terminal device includes:
determining encoding information corresponding to the decoding information according to the decoding information;
determining a preset coding code stream corresponding to at least one preset frame rate corresponding to the coding information according to the coding information;
and determining the target acquisition frame rate according to the preset coding code stream and the target acquisition resolution screen field frequency.
In a specific implementation process, determining the target acquisition frame rate may further include: the server analyzes the decoding type of a video decoder corresponding to the terminal equipment according to the hardware information of the equipment, determines the coding type of the server according to the decoding type, estimates the coding code streams with different frame rates and takes the coding code streams as one of the determination parameters of the initial acquisition frame rate.
The server analyzes the Modem rate standard corresponding to the terminal equipment according to the hardware information of the equipment, takes the Modem rate standard as one of the determination parameters of the initial acquisition frame rate, and finally determines the acquisition frame rate by combining the screen field frequency of the terminal equipment and the estimated sizes of the coding code streams with different frame rates.
After first target negotiation information is generated, when data sent by terminal equipment is acquired, the data is processed according to the first target negotiation information, and specifically, an image which is suitable for the screen size of the terminal equipment is determined to be acquired according to the screen resolution of the terminal equipment; determining an initial frame rate of the acquired image according to the screen resolution, the screen field frequency and the demodulation capacity of the terminal equipment; and outputting the code stream with the corresponding format according to the capability of the video decoder of the thin terminal.
Example two:
in the method provided by the disclosure, the data acquired by the server and sent by the terminal device not only include images and videos formed by the images, but also include data of audio types, and further, the target negotiation information corresponding to the images is determined according to the device hardware information of the terminal device.
In the method provided by the present disclosure, the hardware information of the device includes audio playing format information and audio decoding format information, and the method further includes:
acquiring a target audio acquisition format according to the audio playing format information;
acquiring a target audio coding format according to the audio decoding format information;
and generating third target negotiation information according to the target audio acquisition format and the target audio coding format, wherein the third target negotiation information is used for indicating a server to process strategy information when the terminal equipment sends audio.
Example three: in the method provided by the disclosure, a server acquires data sent by a terminal device, and also can acquire data of an input device, for example, specific input device events can include remote sensing handle input events, mouse input events, keyboard input events and other input device triggered events, and coordinate types corresponding to different input device events are different, for example, absolute coordinate types corresponding to touch screen clicking are different; relative coordinate types corresponding to the mouse movement events.
The method provided by the present disclosure includes that the device hardware information includes a device type, and the method further includes:
and acquiring second target negotiation information corresponding to the device type according to the device type, wherein the device type can be determined as a relative coordinate or an absolute coordinate according to a coordinate corresponding to an input device event, and the second target negotiation information is used for indicating policy information for processing the input device event corresponding to the device type.
The second negotiation strategy can rapidly and accurately process the event when detecting the event of the input equipment of the terminal equipment, thereby achieving the effect of displaying the event in a unified way with the terminal equipment.
The data processing method provided by the embodiment of the disclosure is applied to a server, and when a terminal device is detected to log in, device hardware information corresponding to the terminal device is acquired, and after negotiation processing with the terminal device, target negotiation information is acquired according to the device hardware information, and specifically acquiring the target negotiation information includes: acquiring target acquisition resolution corresponding to the terminal equipment according to screen information in the equipment hardware information; acquiring a target acquisition frame rate corresponding to the terminal equipment according to the acquisition resolution and the decoding information in the equipment hardware information; and acquiring a target audio acquisition format according to the audio playing format information in the equipment hardware information, and acquiring a target audio coding format according to the audio decoding format information in the equipment hardware information. When the server processes the target data sent by the terminal equipment, the information such as the acquisition information, the decoding information and the like of the target data can be determined according to the target negotiation information, so that the purpose that when a plurality of different pieces of terminal equipment are connected with the same virtual machine, the display effects are different is achieved, and the flexibility and the accuracy of data processing are improved.
Example two
Based on the data processing method provided by the embodiment corresponding to fig. 1 and fig. 2, another embodiment of the present disclosure provides a data processing method, which may be applied to a terminal device. Referring to fig. 3, the data processing method provided in this embodiment includes the following steps:
301. and acquiring hardware information of the corresponding equipment of the terminal equipment.
The device hardware information comprises at least one of screen information, decoding information, device type, audio playing format information and audio decoding format information corresponding to the terminal device.
The method for acquiring the screen information in the hardware information of the corresponding equipment of the terminal equipment comprises the following steps:
acquiring a screen type corresponding to the terminal equipment and a resolution corresponding to the screen type;
if the screen type indicates a fixed resolution type, acquiring a classification rate corresponding to the screen type, and generating screen information according to the screen type and the resolution;
the method for acquiring the decoding information in the hardware information of the corresponding equipment of the terminal equipment comprises the following steps:
and acquiring the type of a video hardware decoder, such as an H.264 decoding strategy, an H.265 decoding strategy or a terminal device custom decoding standard, and acquiring decoding information according to the type of the video hardware decoder.
Further, an LTE uploading and downloading rate standard supported by a Modem corresponding to the terminal equipment is obtained, and the hardware information descriptor of the equipment is written. Such as CAT8 mesh type, CAT10 mesh type, etc.
The method for acquiring the device type in the device hardware information corresponding to the terminal device provided by the disclosure includes:
acquiring the type of each input device corresponding to the terminal device, wherein the type of the input device can be determined according to coordinates, such as absolute coordinate input devices such as a touch screen, relative coordinate input devices such as a mouse, and key devices such as a keyboard and a keyboard standard;
and acquiring the device type according to the type of each input device.
The method for acquiring the audio format information in the hardware information of the corresponding equipment of the terminal equipment comprises the following steps: the number of channels, the sampling rate and the format of the sampled data (whether the data is in an interleaving mode, the bit width of the sampled data, the byte order of the sampled data, and whether the data is unsigned or signed) corresponding to the terminal equipment.
The method provided by the disclosure can be used for acquiring the audio decoding format information in the hardware information of the corresponding equipment of the terminal equipment according to the coding and decoding types supported by the audio decoder.
302. And sending the hardware information of the equipment to the server.
In the method provided by the disclosure, the hardware information of the device is sent to the server, and can be directly sent to the server, or the hardware information of the device can be sent after the server is logged in first and is determined to be successfully logged in, and further the login request information of the server can include the hardware information of the device.
303. And according to the hardware information of the equipment, carrying out interactive negotiation with the server to obtain target negotiation information, wherein the target negotiation information is used for indicating the server to process strategy information when the terminal equipment sends data.
The method provided by the present disclosure further includes: sending target data to the server according to the target negotiation information, wherein the target data comprises at least one of images, audio or input device events;
and acquiring a processing result matched with the target negotiation information according to the target data, wherein the server displays an image matched with a display screen of the terminal equipment.
The present disclosure provides a terminal device having network capabilities, decoding capabilities, input device event capture capabilities, image display capabilities, and audio playback capabilities,
the negotiation process is unrelated to the server-side operating system, and different operating systems can be started by connecting the client side with different server-side virtual machines.
The data processing method provided by the embodiment of the disclosure includes that a terminal device firstly acquires device hardware information of the terminal device, then sends the device hardware information to a server through a login server, acquires target negotiation information through a negotiation process with the server, and acquires an image suitable for the screen size through the target negotiation information server according to the screen resolution of the terminal device; determining an initial frame rate of an acquired image according to the field frequency of a screen of the terminal equipment and the Modem capability; outputting a code stream in a corresponding format according to the capability of a video decoder of the terminal equipment; an input device event from the terminal device, such as absolute coordinates of a touch screen click or relative coordinates of a mouse movement, is received and parsed according to the type of the terminal device local input device. Therefore, the purpose that the user uses different terminal equipment to connect the same virtual machine and the display effect is different is achieved.
EXAMPLE III
Based on the data processing method described in the embodiments corresponding to fig. 1, fig. 2, and fig. 3, the following is an embodiment of the system of the present disclosure, which can be used to execute an embodiment of the method of the present disclosure.
An embodiment of the present disclosure provides a data processing system 40, as shown in fig. 4, including: a server 402 and a terminal device 401, the server 402 and the terminal device 401 being connected,
The terminal device 401 is configured to obtain device hardware information corresponding to the terminal device 401, where the device hardware information includes at least one of screen information, decoding information, device type, audio playing format information, and audio decoding format information corresponding to the terminal device 401;
generating login request information according to the device hardware information, wherein the login request information is used for requesting to login the server 402 and comprises the hardware information and the identification information of the terminal device 401;
and sends the login request information to the server 402.
In an alternative embodiment, the terminal device 401 in the system 40 is also adapted to,
acquiring a screen type corresponding to the terminal device 401 and a resolution corresponding to the screen type;
if the screen type indicates a fixed resolution type, acquiring a classification rate corresponding to the screen type, and generating screen information according to the screen type and the resolution;
and if the screen type indicates a resolution variable type, acquiring EDID information in the screen information, and generating the screen information according to the EDID information and the screen type.
In an alternative embodiment, the terminal device 401 in the system 40 is also adapted to,
Sending target data to the server 402 according to the target negotiation information, the target data including at least one of an image, audio, or an input device event;
acquiring a processing result matched with the target negotiation information according to the target data;
the server 402 is configured to obtain the login request information, and obtain device hardware information corresponding to the terminal device 401 according to the login request information;
and according to the device hardware information, performing interactive negotiation with the terminal device 401 to generate target negotiation information of the terminal device 401, where the target negotiation information is used to instruct the server 402 to process policy information when the terminal device 401 sends data.
In an alternative embodiment, the server 402 in the system 40 is also configured to,
when the login request information is acquired, determining a target virtual machine logged in by the terminal device 401, and acquiring identification information of the target virtual machine;
acquiring device hardware information corresponding to the terminal device 401 through the target virtual machine;
and processing the identification information of the target virtual machine and the hardware information of the equipment by the target virtual machine to generate target negotiation information.
In an alternative embodiment, the device hardware information in the system 40 includes screen information and decoding information, and the server 402, when generating the target negotiation information, is further configured to,
Acquiring a target acquisition resolution corresponding to the terminal device 401 according to the screen information;
acquiring a target acquisition frame rate corresponding to the terminal device 401 according to the target acquisition resolution and the decoding information;
generating first target negotiation information according to the target acquisition resolution and the target acquisition frame rate, wherein the first target negotiation information is used for indicating policy information when the server 402 processes the image sent by the terminal equipment 401, and the first target negotiation information belongs to the target negotiation information;
the obtaining of the target acquisition resolution corresponding to the terminal device 401 includes:
analyzing the screen information, and acquiring the screen type in the screen information according to the analysis result;
according to the screen type, if the screen type indicates a fixed resolution type, obtaining a classification rate corresponding to the screen type, and obtaining a target acquisition resolution according to the resolution;
and according to the screen type, if the screen type indicates a resolution variable type, acquiring EDID information in the screen information, and acquiring a target acquisition resolution according to the resolution in the EDID information.
In an alternative embodiment, when the server 402 in the system 40 acquires the target frame rate of acquisition corresponding to the terminal device 401, the server 402 is further configured to,
Determining encoding information corresponding to the decoding information according to the decoding information;
determining a preset coding code stream corresponding to at least one preset frame rate corresponding to the coding information according to the coding information;
and determining the target acquisition frame rate according to the preset coding code stream and the target acquisition resolution screen field frequency.
In an alternative embodiment, where the device hardware information in the system 40 includes a device type, the server 402, in generating the target negotiation information, is further configured to,
and acquiring second target negotiation information corresponding to the equipment type according to the equipment type, wherein the equipment type is determined by taking a coordinate corresponding to an input equipment event as a relative coordinate or an absolute coordinate, the second target negotiation information is used for indicating policy information for processing the input equipment event corresponding to the equipment type, and the second target negotiation information belongs to the target negotiation information.
In an alternative embodiment, the device hardware information in the system 40 includes audio playing format information and audio decoding format information, and the server 402, when generating the target negotiation information, is further configured to:
acquiring a target audio acquisition format according to the audio playing format information;
acquiring a target audio coding format according to the audio decoding format information;
And generating third target negotiation information according to the target audio acquisition format and the target audio encoding format, wherein the third target negotiation information is used for instructing the server 402 to process strategy information when the terminal device 401 sends audio.
In an alternative embodiment, the device hardware information in the system 40 includes screen information,
the server 402 in the system is further configured to process the target data sent by the terminal device 401 according to the target negotiation information, and generate a processing result;
sending the processing result to the terminal device 401;
wherein the processing the target data comprises:
when the target data is a target image, determining a target acquisition resolution and a target acquisition frame rate corresponding to the target image according to the target negotiation information;
and acquiring the target image according to the target acquisition resolution and the target acquisition frame rate.
Wherein the processing the target data further comprises:
when the target data is a target audio, determining a target audio acquisition format and a target audio coding format corresponding to the target audio according to the target negotiation information;
and acquiring a target audio according to the target audio acquisition format, and encoding and processing the target audio according to the target audio encoding format.
The data processing system provided by the embodiment of the disclosure includes a terminal device and a server, the terminal device first acquires device hardware information of the terminal device itself, and then sends the device hardware information to the server through a login server, when the server detects that the terminal device logs in, the device hardware information corresponding to the terminal device is acquired, after negotiation processing between the server and the terminal device, target negotiation information is acquired according to the device hardware information, and the specific acquisition of the target negotiation information includes: acquiring target acquisition resolution corresponding to the terminal equipment according to screen information in the equipment hardware information; acquiring a target acquisition frame rate corresponding to the terminal equipment according to the acquisition resolution and the decoding information in the equipment hardware information; and acquiring a target audio acquisition format according to the audio playing format information in the equipment hardware information, and acquiring a target audio coding format according to the audio decoding format information in the equipment hardware information. When the server processes the target data sent by the terminal equipment, the information such as the acquisition information, the decoding information and the like of the target data can be determined according to the target negotiation information, so that the purpose that when a plurality of different pieces of terminal equipment are connected with the same virtual machine, the display effects are different is achieved, and the flexibility and the accuracy of data processing are improved.
Based on the data processing method described in the embodiment corresponding to fig. 2 and fig. 3, the embodiment of the present disclosure further provides a computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be a Read Only Memory (ROM), a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. The storage medium stores computer instructions for executing the data processing method described in the embodiment corresponding to fig. 2 and fig. 3, which is not described herein again.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (10)

1. A data processing system is characterized by comprising a server and a terminal device, wherein the server is connected with the terminal device,
The terminal device is used for acquiring device hardware information corresponding to the terminal device, wherein the device hardware information comprises at least one item of information of screen information, decoding information, device type, audio playing format information and audio decoding format information corresponding to the terminal device;
generating login request information according to the equipment hardware information, wherein the login request information is used for requesting to login the server and comprises the hardware information and the identification information of the terminal equipment;
sending the login request information to the server;
the server is used for acquiring the login request information and acquiring equipment hardware information corresponding to the terminal equipment according to the login request information;
and according to the hardware information of the equipment, carrying out interactive negotiation with the terminal equipment to generate target negotiation information of the terminal equipment, wherein the target negotiation information is used for indicating strategy information when the server processes data sent by the terminal equipment.
2. The system of claim 1, wherein the server is further configured to,
when the login request information is acquired, determining a target virtual machine logged in by the terminal equipment, and acquiring identification information of the target virtual machine;
Acquiring equipment hardware information corresponding to the terminal equipment through the target virtual machine;
and processing the identification information of the target virtual machine and the equipment hardware information by the target virtual machine to generate target negotiation information.
3. The system of claim 1, wherein the device hardware information includes screen information and decoding information, the server, in generating the target negotiation information, is further configured to,
acquiring a target acquisition resolution corresponding to the terminal equipment according to the screen information;
acquiring a target acquisition frame rate corresponding to the terminal equipment according to the target acquisition resolution and the decoding information;
generating first target negotiation information according to the target acquisition resolution and the target acquisition frame rate, wherein the first target negotiation information is used for indicating a server to process strategy information when the terminal equipment sends an image, and the first target negotiation information belongs to target negotiation information;
the acquiring of the target acquisition resolution corresponding to the terminal device includes:
analyzing the screen information, and acquiring the screen type in the screen information according to the analysis result;
according to the screen type, if the screen type indicates a fixed resolution type, obtaining a classification rate corresponding to the screen type, and obtaining a target acquisition resolution according to the resolution;
And according to the screen type, if the screen type indicates a resolution variable type, obtaining EDID information in the screen information, and according to the resolution in the EDID information, obtaining a target acquisition resolution.
4. The system according to claim 3, wherein the server is further configured to, when obtaining the target frame rate for acquisition corresponding to the terminal device,
determining coding information corresponding to the decoding information according to the decoding information;
determining a preset coding code stream corresponding to at least one preset frame rate corresponding to the coding information according to the coding information;
and determining the target acquisition frame rate according to the preset coding code stream and the target acquisition resolution screen field frequency.
5. The system of claim 1, wherein the device hardware information includes a device type, wherein the server, when generating the target negotiation information, is further configured to,
and acquiring second target negotiation information corresponding to the equipment type according to the equipment type, wherein the equipment type is determined by taking a coordinate corresponding to an input equipment event as a relative coordinate or an absolute coordinate, the second target negotiation information is used for indicating strategy information for processing the input equipment event corresponding to the equipment type, and the second target negotiation information belongs to the target negotiation information.
6. The system of claim 1, wherein the device hardware information comprises audio playback format information and audio decoding format information, and wherein the server, when generating the target negotiation information, is further configured to:
acquiring a target audio acquisition format according to the audio playing format information;
acquiring a target audio coding format according to the audio decoding format information;
and generating third target negotiation information according to the target audio acquisition format and the target audio coding format, wherein the third target negotiation information is used for instructing a server to process strategy information when the terminal equipment sends audio.
7. The system of claim 1, wherein the device hardware information comprises screen information, and wherein the terminal device is further configured to:
acquiring a screen type corresponding to the terminal equipment and a resolution corresponding to the screen type;
if the screen type indication is a fixed resolution type, obtaining a classification rate corresponding to the screen type, and generating screen information according to the screen type and the resolution;
and if the screen type indicates a resolution variable type, obtaining EDID information in the screen information, and generating the screen information according to the EDID information and the screen type.
8. The system of claim 1, wherein the terminal device in the system is further configured to,
sending target data to the server according to the target negotiation information, wherein the target data comprises at least one of images, audio or input equipment events;
acquiring a processing result matched with the target negotiation information according to the target data;
the server in the system is further configured to process target data sent by the terminal device according to the target negotiation information, and generate a processing result;
sending the processing result to the terminal equipment;
wherein said processing said target data comprises:
when the target data is a target image, determining a target acquisition resolution and a target acquisition frame rate corresponding to the target image according to the target negotiation information;
and acquiring the target image according to the target acquisition resolution and the target acquisition frame rate.
9. A data processing method is applied to a server, and the method comprises the following steps:
acquiring login request information sent by terminal equipment, and acquiring equipment hardware information corresponding to the terminal equipment according to the login request information, wherein the equipment hardware information comprises screen information and decoding information;
And performing interactive negotiation with the terminal equipment according to the equipment hardware information to generate target negotiation information, wherein the target negotiation information is used for indicating strategy information when the server processes data sent by the terminal equipment.
10. A data processing method is applied to a terminal device, and the method comprises the following steps:
acquiring device hardware information corresponding to the terminal device, wherein the device hardware information comprises at least one of screen information, decoding information, device type, audio playing format information and audio decoding format information corresponding to the terminal device;
sending the device hardware information to the server;
and carrying out interactive negotiation with the server according to the hardware information of the equipment to obtain target negotiation information, wherein the target negotiation information is used for indicating strategy information when the server processes the data sent by the terminal equipment.
CN202010450669.6A 2020-05-25 2020-05-25 Data processing method and system Active CN111866058B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202410182111.2A CN118158206A (en) 2020-05-25 2020-05-25 Data processing method, server and terminal equipment
CN202010450669.6A CN111866058B (en) 2020-05-25 2020-05-25 Data processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010450669.6A CN111866058B (en) 2020-05-25 2020-05-25 Data processing method and system

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202410182111.2A Division CN118158206A (en) 2020-05-25 2020-05-25 Data processing method, server and terminal equipment

Publications (2)

Publication Number Publication Date
CN111866058A true CN111866058A (en) 2020-10-30
CN111866058B CN111866058B (en) 2024-02-27

Family

ID=72985968

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202410182111.2A Pending CN118158206A (en) 2020-05-25 2020-05-25 Data processing method, server and terminal equipment
CN202010450669.6A Active CN111866058B (en) 2020-05-25 2020-05-25 Data processing method and system

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202410182111.2A Pending CN118158206A (en) 2020-05-25 2020-05-25 Data processing method, server and terminal equipment

Country Status (1)

Country Link
CN (2) CN118158206A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113010245A (en) * 2021-02-24 2021-06-22 杭州雾联科技有限公司 Method and device for creating virtual display, electronic equipment and storage medium
WO2023142714A1 (en) * 2022-01-27 2023-08-03 腾讯科技(深圳)有限公司 Video processing collaboration method, apparatus, device, and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1538707A (en) * 2003-10-24 2004-10-20 中国科学院计算技术研究所 Adaptive playing method for multimedia in terminal application protocol
CN104486665A (en) * 2014-12-31 2015-04-01 乐视致新电子科技(天津)有限公司 Remote assistance method and device of mobile terminal
CN105183308A (en) * 2015-07-27 2015-12-23 努比亚技术有限公司 Picture display method and apparatus
CN105992028A (en) * 2015-02-13 2016-10-05 腾讯科技(深圳)有限公司 Decoding strategy determination method and server
CN106034241A (en) * 2015-03-19 2016-10-19 华为技术有限公司 Multimedia redirection method, device and system
CN108683498A (en) * 2018-05-14 2018-10-19 国网江西省电力有限公司电力科学研究院 A kind of cloud terminal management-control method based on changeable key national secret algorithm
CN108900856A (en) * 2018-07-26 2018-11-27 腾讯科技(深圳)有限公司 A kind of video frame rate prediction technique, device and equipment
CN109246307A (en) * 2018-10-19 2019-01-18 西安万像电子科技有限公司 Data transmission method and device
US20190091568A1 (en) * 2017-09-28 2019-03-28 Universal Entertainment Corporation Server, information processor, recording medium, and game controlling method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1538707A (en) * 2003-10-24 2004-10-20 中国科学院计算技术研究所 Adaptive playing method for multimedia in terminal application protocol
CN104486665A (en) * 2014-12-31 2015-04-01 乐视致新电子科技(天津)有限公司 Remote assistance method and device of mobile terminal
CN105992028A (en) * 2015-02-13 2016-10-05 腾讯科技(深圳)有限公司 Decoding strategy determination method and server
CN106034241A (en) * 2015-03-19 2016-10-19 华为技术有限公司 Multimedia redirection method, device and system
CN105183308A (en) * 2015-07-27 2015-12-23 努比亚技术有限公司 Picture display method and apparatus
US20190091568A1 (en) * 2017-09-28 2019-03-28 Universal Entertainment Corporation Server, information processor, recording medium, and game controlling method
CN108683498A (en) * 2018-05-14 2018-10-19 国网江西省电力有限公司电力科学研究院 A kind of cloud terminal management-control method based on changeable key national secret algorithm
CN108900856A (en) * 2018-07-26 2018-11-27 腾讯科技(深圳)有限公司 A kind of video frame rate prediction technique, device and equipment
CN109246307A (en) * 2018-10-19 2019-01-18 西安万像电子科技有限公司 Data transmission method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113010245A (en) * 2021-02-24 2021-06-22 杭州雾联科技有限公司 Method and device for creating virtual display, electronic equipment and storage medium
WO2023142714A1 (en) * 2022-01-27 2023-08-03 腾讯科技(深圳)有限公司 Video processing collaboration method, apparatus, device, and storage medium

Also Published As

Publication number Publication date
CN111866058B (en) 2024-02-27
CN118158206A (en) 2024-06-07

Similar Documents

Publication Publication Date Title
US11526325B2 (en) Projection, control, and management of user device applications using a connected resource
KR101993239B1 (en) Method and apparatus for managing user device and contents using QR code
KR102058976B1 (en) Application method and device
CN111601115B (en) Video detection method, related device, equipment and storage medium
US11470387B2 (en) Methods, systems, and media for remote rendering of Web content on a television device
CN110177300B (en) Program running state monitoring method and device, electronic equipment and storage medium
CN105939483A (en) Video processing method and device
CN111866058B (en) Data processing method and system
CN109120954B (en) Video message pushing method and device, computer equipment and storage medium
CN106303634A (en) A kind of TV equipment barrage sends system and method
WO2022028177A1 (en) Information pushing method, video processing method, and device
US8139757B2 (en) Electronic device capable of recording conference information, computer system, conference information processing method, and program product therefor
CN110888781B (en) Application blockage detection method and detection device
US9729931B2 (en) System for managing detection of advertisements in an electronic device, for example in a digital TV decoder
CN111290722A (en) Screen sharing method, device and system, electronic equipment and storage medium
CN111013131A (en) Delayed data acquisition method, electronic device, and storage medium
CN114374853A (en) Content display method and device, computer equipment and storage medium
CN113730923A (en) Anchor input operation sharing and displaying method and device based on live game
CN112000559A (en) Abnormal equipment detection method and device
CN113965458A (en) Equipment parameter processing method and system
JP2015232916A (en) Operation recording device, operation recording regeneration system, and program
KR102399661B1 (en) Apparatus and method for remote connection
KR102369525B1 (en) Apparatus, system, and method for remote connection
KR101767929B1 (en) System for evaluating performance and method thereof
CN114630134A (en) Processing method and system for newly added code stream

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