CN113965458A - Equipment parameter processing method and system - Google Patents

Equipment parameter processing method and system Download PDF

Info

Publication number
CN113965458A
CN113965458A CN202111160968.7A CN202111160968A CN113965458A CN 113965458 A CN113965458 A CN 113965458A CN 202111160968 A CN202111160968 A CN 202111160968A CN 113965458 A CN113965458 A CN 113965458A
Authority
CN
China
Prior art keywords
parameters
screen
parameter
equipment
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111160968.7A
Other languages
Chinese (zh)
Inventor
段瑞楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202111160968.7A priority Critical patent/CN113965458A/en
Publication of CN113965458A publication Critical patent/CN113965458A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting

Landscapes

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

Abstract

The invention provides a device parameter processing method and system, relates to the technical field of electronic information, and can solve the problem that a cloud mobile phone is poor in display effect when displaying data in a cloud side. The specific technical scheme is as follows: the terminal device obtains the hardware parameter matched with the terminal device, writes the hardware parameter into the device descriptor of the terminal device, and finally sends the device descriptor to the logged server, so that the server processes the data sent to the terminal device according to the device descriptor. The method is used for parameter processing of the cloud mobile phone.

Description

Equipment parameter processing method and system
Technical Field
The present disclosure relates to the field of electronic information technologies, and in particular, to a method and a system for processing device parameters.
Background
The cloud mobile phone Cloudphone is a mobile phone which applies a cloud computing technology to a network terminal service and realizes a cloud service through a cloud server. 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 is data-level interaction.
The interaction at the data level relates to data information description with granularity as fine as the application program level, so the relationship between the data information description and the running software is too close to achieve the independence of an operating system. And based on the interaction of the data layer, the cloud mobile phone has to have certain computing capability, and the data based on the service logic has to be analyzed by the operating system of the terminal machine on the cloud mobile phone terminal and then presented as a video. And different parameters of different mobile phones or terminals lead to poor effect after video transmission.
Disclosure of Invention
The embodiment of the disclosure provides a device parameter processing method and system, which can solve the problem of poor display effect when a cloud mobile phone displays data at a cloud end. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a device parameter processing method, applied to a terminal device, the method including:
acquiring preset hardware parameters matched with the terminal equipment, wherein the preset hardware parameters at least comprise: at least one of screen parameter, decoding capability parameter, network resource parameter, playing parameter and hardware parameter of input device;
generating a device information descriptor of the terminal device according to the preset parameters of the display device;
and transmitting the device information descriptor to the logged-in server so that the server sets parameters for processing data transmitted to the terminal device according to the device information descriptor.
In one embodiment, the method for acquiring screen parameters comprises the following steps:
acquiring the screen type of the terminal equipment;
when the screen type indication terminal equipment is display equipment with fixed resolution, screen parameters of the screen are obtained, wherein the screen parameters comprise resolution and field frequency information;
and when the screen type indicates that the terminal equipment is the display equipment with variable resolution, acquiring screen parameters of the screen, wherein the screen parameters comprise EDID of the screen.
In one embodiment, the obtaining the decoding capability parameter in the method includes:
acquiring decoding hardware parameters matched with the end equipment;
and acquiring a decoding algorithm matched with the terminal equipment, wherein the decoding algorithm is at least one of a preset audio decoding algorithm, a preset image decoding algorithm and a preset video decoding algorithm.
In one embodiment, the method for acquiring the parameters of the input device comprises the following steps:
traversing the port of the terminal equipment, and finding the input equipment connected with the terminal equipment, wherein the input equipment comprises at least one of a keyboard, a mouse and control equipment;
acquiring hardware parameters of the connected input device, wherein the hardware parameters comprise: inputting at least one of hardware parameters, control area and mouse coordinate information of the equipment.
In one embodiment, the method for obtaining the playing parameters includes:
acquiring an audio playing format matched with the terminal equipment, wherein the audio playing format comprises the following steps: channel number, sampling rate, and sampling data format;
or the like, or, alternatively,
and acquiring an image playing format matched with the terminal equipment, wherein the image playing format at least comprises an image type and image pixels.
According to a second aspect of the embodiments of the present disclosure, there is provided a device parameter processing method, applied to a server, including:
when the terminal equipment is detected to log in, acquiring an equipment information descriptor sent by the terminal equipment;
analyzing the device information descriptor, and acquiring preset hardware parameters in the device, wherein the preset hardware parameters at least comprise: at least one of a screen parameter, a decoding capability parameter, a network resource parameter, a playing parameter and a parameter of an input device;
and setting parameters for processing the target data according to the preset hardware parameters so as to enable the processed target data to be matched with the hardware capability of the terminal equipment.
In one embodiment, the method for setting parameters when processing the target data comprises the following steps:
analyzing the device descriptor to obtain the screen parameters of the terminal device;
when the screen type indication terminal equipment is display equipment with fixed resolution, screen parameters of the screen are obtained, wherein the screen parameters comprise resolution and field frequency information;
setting the resolution ratio when the target data is acquired according to the resolution ratio;
setting a frame rate when the target data is collected according to the field frequency information;
or the like, or, alternatively,
when the screen type indicates that the terminal equipment is display equipment with variable resolution, acquiring screen parameters of the screen, wherein the screen parameters comprise EDID of the screen;
setting the resolution when the target data is acquired according to the target resolution in the EDID;
and setting the frame rate when the target data is acquired according to the field frequency information matched with the target resolution.
In one embodiment, the method for setting parameters when processing the target data comprises the following steps:
analyzing the device descriptor to obtain decoding capability parameters matched with the terminal device, wherein the decoding capability parameters comprise at least one of decoding hardware parameters and decoding algorithms, and the decoding algorithms preset at least one of audio decoding algorithms, image decoding algorithms and video decoding algorithms;
and according to the decoding capability parameter matched with the terminal equipment, the data volume of the coding code stream sent by the terminal equipment is estimated, and according to the data volume of the coding code stream, the frame rate when the target data is acquired is set.
In one embodiment, the method for setting parameters when processing the target data comprises the following steps:
analyzing the device descriptor, and acquiring a playing parameter matched with the terminal device, wherein the playing parameter comprises: an audio playback format or an image playback format;
determining an acquisition format when the audio is acquired according to the audio playing format;
or the like, or, alternatively,
and determining the acquisition format when the image is acquired according to the image playing format.
In one embodiment, the method for setting parameters when processing the target data comprises the following steps:
analyzing the device descriptor to obtain the hardware parameters of the input device connected with the terminal device;
and determining a processing strategy when the terminal equipment transmits an input event according to the hardware parameters of the input equipment, wherein the input event comprises instructions and data transmitted by the input equipment.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus parameter processing system including: a terminal device and a server, wherein,
the terminal device is configured to perform the first aspect of the above embodiments;
the server is adapted to perform the second aspect of the above embodiments.
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 flowchart 1 of a device parameter processing method provided by an embodiment of the present disclosure;
fig. 1a is a logic schematic diagram 1 of a device parameter processing method provided by an embodiment of the present disclosure;
fig. 2 is a flowchart 2 of a device parameter processing method provided by an embodiment of the present disclosure;
fig. 2a is a logic diagram 2 of a device parameter processing method according to an embodiment of the present disclosure;
FIG. 3 is a block diagram of a device parameter processing system provided by an embodiment of the present disclosure;
fig. 3a is a structural diagram of a terminal device in a device parameter processing system according to an embodiment of the present disclosure;
fig. 3b is a block diagram of a server in a device parameter 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.
An embodiment of the present disclosure provides an apparatus parameter processing method, as shown in fig. 1, where the apparatus parameter processing method is applied to a terminal apparatus, for example, the terminal apparatus may be a thin terminal apparatus, and the method includes the following steps:
101. and acquiring preset hardware parameters matched with the terminal equipment.
The preset hardware parameters at least include: at least one of a screen parameter, a decoding capability parameter, a network resource parameter, a playing parameter and a parameter of an input device;
according to the method and the device, when the terminal equipment logs in the server and negotiates with the server for processing parameters, only the hardware capability of the equipment is included, and the capability of the operating system software of the thin terminal is not included. The thin terminal has only network capabilities, decoding capabilities, input device event capture capabilities, image display capabilities, and audio playback capabilities. The negotiation process is irrelevant to the server-side operating system, and different operating systems can be started by connecting the client side with different server-side virtual machines.
Herein, a method for obtaining part of the parameters in the preset hardware parameters is only described as an example, and the parameters in the preset hardware parameters can also be obtained according to specific deployment requirements.
The method for acquiring the screen parameter in the preset hardware parameter includes:
acquiring the screen type of the terminal equipment;
when the screen type indication terminal equipment is display equipment with fixed resolution, screen parameters of the screen are obtained, wherein the screen parameters comprise resolution and field frequency information;
and when the screen type indicates that the terminal equipment is the display equipment with variable resolution, acquiring screen parameters of the screen, wherein the screen parameters comprise EDID of the screen.
Specifically, Extended Display Identification Data (Extended Display Identification Data) is a VESA standard Data format, which contains parameters related to the monitor and its performance, including vendor information, maximum image size, color settings, vendor presets, limits on frequency range, and strings of Display name and serial number.
The method for acquiring the decoding capability parameter in the preset hardware parameter includes:
acquiring decoding hardware parameters matched with the end equipment;
and acquiring a decoding algorithm matched with the terminal equipment, wherein the decoding algorithm is at least one of a preset audio decoding algorithm, a preset image decoding algorithm and a preset video decoding algorithm.
The method for acquiring the parameters of the input device in the preset hardware parameters includes:
traversing the port of the terminal equipment, and finding the input equipment connected with the terminal equipment, wherein the input equipment comprises at least one of a keyboard, a mouse and control equipment;
acquiring hardware parameters of the connected input device, wherein the hardware parameters comprise: inputting at least one of hardware parameters, control area and mouse coordinate information of the equipment.
The method for acquiring the playing parameters in the preset hardware parameters includes:
acquiring an audio playing format matched with the terminal equipment, wherein the audio playing format comprises the following steps: channel number, sampling rate, and sampling data format;
or the like, or, alternatively,
and acquiring an image playing format matched with the terminal equipment, wherein the image playing format at least comprises an image type and image pixels.
In particular practice, the image formats described above include: the method comprises the following steps of presetting a single-pixel byte number, presetting a pixel depth and presetting a parallelism. The number of bytes of a single pixel is the number of bytes occupied by a pixel, and the depth of the pixel is the number of bits used for storing each pixel. Accordingly, when the output resolution of the image is unknown, since the image format is preset, the data amount of the intra-frame data packet can be determined by the header information in the intra-frame data packet.
102. And generating the device information descriptor of the terminal device according to the preset hardware parameter.
The device information descriptor provided by the disclosure can preset the meaning represented by each byte in the device information descriptor with the server, so that the server can rapidly analyze the device information descriptor and set the display parameters of the terminal device.
103. And transmitting the device information descriptor to the logged-in server so that the server sets parameters for processing data transmission to the terminal device according to the device information descriptor.
Specifically, the server sends processed data to the terminal device after acquiring and/or encoding and/or identifying the data according to the device information description information, and the data processed by the server can be matched with the hardware capability of the terminal device, so that the optimal display effect of the data is ensured.
In the method provided by the disclosure, the terminal device sends the device information descriptor to the operating system of the virtual machine in the logged server, so that the purpose that a user connects the same virtual machine through a plurality of thin terminals with different hardware parameters, the display effects of the virtual machine are different, and different display requirements of different thin terminals are better matched.
The interaction between the thin terminal and the server-side operating system related to the negotiation method provided by the present disclosure is an image-level interaction. The interaction based on the image layer only relates to hardware capabilities which are irrelevant to an 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 any operating system can be started by the cloud mobile phone and the thin client. The cloud mobile phone based on the image layer only needs to decode and display images, and does not need to perform business logic operation related to software running on a server side.
In a specific implementation, the logic diagram of the method provided by the present disclosure can be shown in fig. 1a
The method comprises the following steps: the terminal equipment is connected with the server and logs in the virtual machine in the server.
Step two: the terminal device determines whether the screen type is a fixed resolution.
The thin terminal needs to write the screen type to the device information descriptor.
When the screen of the terminal is a screen with a fixed size, such as a mobile phone screen or other touch screens, the terminal acquires the resolution and field frequency information of the screen and writes the resolution and field frequency information of the screen into the device information descriptor.
When the terminal display device is a common screen, the terminal acquires the EDID of the screen and writes the EDID of the screen into the device information descriptor.
Step three: the terminal acquires the video hardware decoder type and writes the video hardware decoder type into the device information descriptor. Such as h.264/h.265 or vendor custom decoding standards.
Step four: the terminal obtains the modem rate criteria and writes the modem rate criteria to a device information descriptor, such as CAT8, CAT10, etc.
Step five: the terminal acquires the types of the input devices and writes the type of each input device into the device information descriptor.
Specific input devices include absolute coordinate class input devices. Such as a touch screen, a relative coordinate type input device such as a mouse, a key type device such as a keyboard, and a keyboard standard.
Step six: and the terminal acquires the audio playing format and writes the supportable audio playing format into the device information descriptor.
Specifically, the audio playback format includes the number of channels, the sampling rate, and the sample data format (whether interleaved, sample bit wide, sample byte order, unsigned, or signed).
Step seven: the terminal acquires the coding and decoding types supported by the audio decoder and writes the coding and decoding types supported by the audio decoder into the device information descriptor.
Step eight: and the terminal sends the device information descriptor to a virtual machine operating system of the server side.
According to the device parameter processing method provided by the embodiment of the disclosure, the terminal device obtains the hardware parameter matched with the terminal device, writes the hardware parameter into the device descriptor of the terminal device, and finally sends the device descriptor to the logged server, so that the server processes the data sent to the terminal device according to the device descriptor.
Example two
Based on the device parameter processing method provided in the embodiment corresponding to fig. 1, another embodiment of the present disclosure provides a device parameter processing method, which may be applied to a server.
Referring to fig. 2, the device parameter processing method provided in this embodiment includes the following steps:
201. when the terminal equipment is detected to log in, acquiring an equipment information descriptor sent by the terminal equipment;
in the method provided by the disclosure, when the server monitors that the terminal device successfully logs in, the server may request the terminal device to send the device information descriptor, or the terminal device actively sends the device information descriptor.
202. And analyzing the device information descriptor to obtain preset hardware parameters in the device.
The preset hardware parameters at least include: at least one of a screen parameter, a decoding capability parameter, a network resource parameter, a playback parameter, and a parameter of an input device.
The preset hardware parameter provided in the present disclosure is a parameter used for instructing the server to collect target data, where the target data is data sent to the terminal device, and may not be limited to the above listed parameters.
203. And setting parameters for processing the target data according to the preset hardware parameters so as to enable the processed target data to be matched with the hardware capability of the terminal equipment.
Further, the processed target data can be sent to the terminal device, so that a display effect matched with the terminal device is achieved.
The processing may include at least one of an operation of acquiring processing target data, an operation of encoding processing, and an operation of identifying processing target data.
Specifically, the parameter refers to a parameter when processing the target data, and the processing parameter at least includes: the method comprises the steps of collecting resolution, collecting frame rate, collecting format, coding strategy and identification strategy of input equipment.
The method provided by the present disclosure sets parameters when processing target data according to screen parameters in the preset hardware parameters, and specifically includes:
when the preset hardware parameters include screen parameters, the setting of the target hardware parameters of the terminal device includes:
analyzing the device descriptor to obtain the screen parameters of the terminal device;
when the screen type indication terminal equipment is display equipment with fixed resolution, screen parameters of the screen are obtained, wherein the screen parameters comprise resolution and field frequency information;
according to the resolution, setting the resolution when the target data is acquired, wherein the target data is data sent to the terminal equipment;
setting a frame rate when the target data is collected according to the field frequency information;
or the like, or, alternatively,
when the screen type indicates that the terminal equipment is display equipment with variable resolution, acquiring screen parameters of the screen, wherein the screen parameters comprise EDID of the screen;
setting the resolution ratio when the target data is acquired according to the target resolution ratio matched with the EDID;
and setting the frame rate when the target data is acquired according to the field frequency information matched with the target resolution.
The method provided by the present disclosure specifically includes, according to a decoding capability parameter in the preset hardware parameter, a parameter when processing target data:
analyzing the device descriptor to obtain a decoding capability parameter matched with the terminal device, wherein the decoding capability parameter comprises at least one of a decoding hardware parameter and a decoding algorithm, and the decoding algorithm comprises: at least one of a preset audio decoding algorithm, a preset image decoding algorithm and a preset video decoding algorithm is set;
and determining a coding strategy matched with the terminal equipment according to the decoding capability parameter matched with the terminal equipment, estimating the data volume of the coding code stream sent by the terminal equipment, and setting an initial acquisition frame rate according to the data volume of the coding code stream.
In the method provided by the present disclosure, when the target data is an audio or an image, setting a parameter when the target data is processed according to a playing parameter in the preset hardware parameter, specifically including:
analyzing the device descriptor, and acquiring a playing parameter matched with the terminal device, wherein the playing parameter comprises: an audio playing format and an image playing format;
determining an acquisition format when the audio is acquired according to the audio playing format;
or the like, or, alternatively,
and determining the acquisition format when the image is acquired according to the image playing format.
The method provided by the present disclosure sets a parameter when processing target data according to a hardware parameter of the input device of the preset hardware parameter, and specifically includes:
analyzing the device descriptor to obtain the hardware parameters of the input device connected with the terminal device;
according to the hardware parameters of the input device, an input event sent by the terminal device is identified, and a strategy when the input event is processed is determined, wherein the input event comprises instructions and data sent by the input device.
And responding to the input event and sending a response result to the terminal equipment.
Specifically, when the input event is an input event generated by a mouse, the policy for processing the input event includes: and determining at least one of initial coordinates, relative coordinates or absolute coordinates of the mouse in the display area matched with the terminal equipment.
In a specific implementation process, a logic diagram of the method provided by the present disclosure may be shown in fig. 2 a:
the method comprises the following steps: and detecting whether the terminal equipment logs in the virtual machine in the server or not.
Step two: when the terminal device is detected to log in, judging and analyzing the device information descriptor sent by the terminal device, and determining whether the screen type is the fixed resolution or not by the terminal device.
When the screen of the terminal is a screen with a fixed size, such as a mobile phone screen or other touch screens, the virtual machine image is acquired according to the resolution, and the screen field frequency is used as one of the determination parameters of the subsequent frame rate.
When the terminal display device is a screen with variable resolution, the virtual machine analyzes the EDID of the screen to obtain the current resolution and a field frequency list in the EDID, acquires the virtual machine image according to the recommended resolution in the EDID, and takes the field frequency corresponding to the resolution as one of the determination parameters of the subsequent frame rate.
Step three: and analyzing the decoding type of a video decoder of the thin terminal, determining the coding type of the virtual machine according to the decoding type, and estimating the size of the coding code stream with different frame rates as one of the determination parameters of the initial acquisition frame rate.
Step four: and analyzing the decoding type of a video decoder of the thin terminal, determining the coding type of the virtual machine according to the decoding type, and estimating the size of the coding code stream with different frame rates as one of the determination parameters of the initial acquisition frame rate.
Step five: and analyzing the type of the input equipment of the thin terminal so as to identify the input equipment event data sent by the thin terminal subsequently.
Step six: and analyzing the audio playing format of the thin terminal as an audio acquisition format (whether the audio acquisition format is an interleaving type, a sampling bit width, a sampling byte order, a non-symbol format or a symbol format).
Step seven: and analyzing the audio decoding playing format of the thin terminal as an audio coding format.
Step eight: and finishing the negotiation process after the virtual machine is analyzed.
According to the equipment parameter processing method provided by the embodiment of the disclosure, after the server detects that the terminal equipment logs in, the equipment descriptor sent by the terminal equipment is obtained, the equipment descriptor is analyzed, the hardware parameter matched with the terminal equipment is determined, and finally the parameter when the target data is processed is set according to the hardware parameter, so that the processed target data is matched with the hardware capability of the terminal equipment.
According to the parameter processing method provided by the disclosure, through a negotiation process, a server can acquire an image suitable for the screen size according to the screen resolution of a thin terminal; determining an initial frame rate of an acquired image according to the field frequency of the thin terminal screen and the Modem capability; outputting a code stream with a corresponding format according to the capability of a video decoder of the thin terminal; and receiving and analyzing an input device event from the thin terminal according to the type of the local input device of the thin terminal, such as absolute coordinates of touch screen clicking or relative coordinates of mouse moving. Therefore, the purpose that a user connects the same virtual machine through a plurality of thin terminals with different hardware parameters and the display effects are different is achieved, and different display requirements of different thin terminals are better matched.
EXAMPLE III
Based on the device parameter processing method described in the embodiments corresponding to fig. 1 and fig. 2, the following is an embodiment of the apparatus 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 an apparatus parameter processing system, as shown in fig. 3, the apparatus parameter processing system 30 includes: a terminal device 301 and a server 302,
the terminal device 301 is configured to execute the method according to the first embodiment;
the server 302 is configured to perform the method described in embodiment two.
In one embodiment, as shown in fig. 3a, the terminal device 301 in the device parameter processing system 30 includes: an acquisition module 3011, a generation module 3012, and a sending module 3013;
the obtaining module 3011 is configured to obtain preset hardware parameters matched with the terminal device, where the preset hardware parameters at least include: at least one of screen parameter, decoding capability parameter, network resource parameter, playing parameter and hardware parameter of input device;
the generating module 3012 is configured to generate a device information descriptor of the terminal device according to a preset parameter of the display device;
the sending module 3013 is configured to send the device information descriptor to the logged server, so that the server sets a parameter for processing data transmission to the terminal device according to the device information descriptor.
In one embodiment, as shown in FIG. 3b, the service 302 in the device parameter processing system 30 further comprises: an obtaining module 3021, an analyzing module 3022, and a processing module 3023;
the obtaining module 3021, configured to obtain a device information descriptor sent by the terminal device after detecting that the terminal device logs in;
the parsing module 3022 is configured to parse the device information descriptor to obtain a preset hardware parameter in the device, where the preset hardware parameter at least includes: at least one of a screen parameter, a decoding capability parameter, a network resource parameter, a playing parameter and a parameter of an input device;
the processing module 3023 is configured to set a parameter when the target data is processed according to the preset hardware parameter, so that the processed target data matches the hardware capability of the terminal device.
According to the equipment parameter processing system provided by the embodiment of the disclosure, through a negotiation process, a server can acquire an image suitable for the screen size according to the screen resolution of a thin terminal; determining an initial frame rate of an acquired image according to the field frequency of the thin terminal screen and the Modem capability; outputting a code stream with a corresponding format according to the capability of a video decoder of the thin terminal; and receiving and analyzing an input device event from the thin terminal according to the type of the local input device of the thin terminal, such as absolute coordinates of touch screen clicking or relative coordinates of mouse moving. Therefore, the purpose that a user connects the same virtual machine through a plurality of thin terminals with different hardware parameters and the display effects are different is achieved, and different display requirements of different thin terminals are better matched.
Based on the device parameter processing method described in the embodiments of fig. 1 and fig. 2, the embodiments of the present disclosure further provide 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 device parameter processing method described in the embodiment corresponding to fig. 1 and fig. 2, 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 (11)

1. A device parameter processing method is applied to a terminal device, and comprises the following steps:
acquiring preset hardware parameters matched with the terminal equipment, wherein the preset hardware parameters at least comprise: at least one of screen parameter, decoding capability parameter, network resource parameter, playing parameter and hardware parameter of input device;
generating a device information descriptor of the terminal device according to the preset parameters of the display device;
and sending the device information descriptor to the logged server so that the server sets parameters for processing the target data according to the device information descriptor, and sending the processed target data to the terminal equipment.
2. The method of claim 1, wherein obtaining screen parameters comprises:
acquiring the screen type of the terminal equipment;
when the screen type indication terminal equipment is display equipment with fixed resolution, screen parameters of the screen are obtained, wherein the screen parameters comprise resolution and field frequency information;
and when the screen type indicates that the terminal equipment is display equipment with variable resolution, acquiring screen parameters of the screen, wherein the screen parameters comprise EDID of the screen.
3. The method of claim 1, wherein obtaining the decoding capability parameter comprises:
acquiring decoding hardware parameters matched with the end equipment;
acquiring a decoding algorithm matched with the terminal equipment, wherein the decoding algorithm comprises the following steps: and at least one of a preset audio decoding algorithm, a preset image decoding algorithm and a preset video decoding algorithm.
4. The method of claim 1, wherein the obtaining hardware parameters of the input device comprises:
traversing the port of the terminal equipment, and finding the input equipment connected with the terminal equipment, wherein the input equipment comprises at least one of a keyboard, a mouse and control equipment;
acquiring hardware parameters of the connected input device, wherein the hardware parameters comprise: inputting at least one of hardware parameters, control area and mouse coordinate information of the equipment.
5. The method of claim 1, wherein obtaining the playback parameters comprises:
acquiring an audio playing format matched with the terminal equipment, wherein the audio playing format comprises the following steps: channel number, sampling rate, and sampling data format;
or the like, or, alternatively,
and acquiring an image playing format matched with the terminal equipment, wherein the image playing format at least comprises an image type and image pixels.
6. The equipment parameter processing method is applied to a server and comprises the following steps:
when the terminal equipment is detected to log in, acquiring an equipment information descriptor sent by the terminal equipment;
analyzing the device information descriptor, and acquiring preset hardware parameters in the device, wherein the preset hardware parameters at least comprise: at least one of screen parameter, decoding capability parameter, network resource parameter, playing parameter and hardware parameter of input device;
and setting parameters during processing the target data according to the preset hardware parameters so as to enable the processed target data to be matched with the hardware capability of the terminal equipment, wherein the processing comprises at least one of acquisition processing, coding processing and recognition processing.
7. The method according to claim 6, wherein the setting parameters when processing the target data comprises:
analyzing the device descriptor to obtain the screen parameters of the terminal device;
when the screen type indication terminal equipment is display equipment with fixed resolution, screen parameters of the screen are obtained, wherein the screen parameters comprise resolution and field frequency information;
setting the resolution ratio when the target data is acquired according to the resolution ratio;
setting a frame rate when target data are collected according to the field frequency information;
or the like, or, alternatively,
when the screen type indicates that the terminal equipment is display equipment with variable resolution, acquiring screen parameters of the screen, wherein the screen parameters comprise EDID of the screen;
setting the resolution when the target data is acquired according to the target resolution in the EDID;
and setting a frame rate when the target data is acquired according to the field frequency information matched with the target resolution.
8. The method according to claim 6, wherein the setting parameters when processing the target data comprises:
analyzing the device descriptor to obtain decoding capability parameters matched with the terminal device, wherein the decoding capability parameters comprise at least one of decoding hardware parameters and decoding algorithms, and the decoding algorithms preset at least one of audio decoding algorithms, image decoding algorithms and video decoding algorithms;
and according to the decoding capability parameter matched with the terminal equipment, the data volume of the coding code stream sent by the terminal equipment is estimated, and according to the data volume of the coding code stream, the frame rate when the target data is collected is set.
9. The method of claim 6, wherein when the target data is audio or image, setting parameters for processing the target data comprises:
analyzing the device descriptor, and acquiring playing parameters matched with the terminal device, wherein the playing parameters comprise: an audio playback format or an image playback format;
determining an acquisition format when the audio is acquired according to the audio playing format;
or the like, or, alternatively,
and determining the acquisition format when the image is acquired according to the image playing format.
10. The method according to claim 6, wherein the setting parameters when processing the target data comprises:
analyzing the device descriptor to obtain the hardware parameters of the input device connected with the terminal device;
and determining a processing strategy when the terminal equipment sends an input event according to the hardware parameters of the input equipment, wherein the input event comprises an instruction and data sent by the input equipment.
11. A system for device parameter negotiation, the system comprising: a terminal device and a server, wherein,
the terminal device is used for executing the method of any one of claims 1 to 5;
the server is configured to perform the method of any of claims 6 to 10.
CN202111160968.7A 2021-09-30 2021-09-30 Equipment parameter processing method and system Pending CN113965458A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111160968.7A CN113965458A (en) 2021-09-30 2021-09-30 Equipment parameter processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111160968.7A CN113965458A (en) 2021-09-30 2021-09-30 Equipment parameter processing method and system

Publications (1)

Publication Number Publication Date
CN113965458A true CN113965458A (en) 2022-01-21

Family

ID=79463074

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111160968.7A Pending CN113965458A (en) 2021-09-30 2021-09-30 Equipment parameter processing method and system

Country Status (1)

Country Link
CN (1) CN113965458A (en)

Similar Documents

Publication Publication Date Title
CN110381322B (en) Video stream decoding method and device, terminal equipment and storage medium
CN108933935A (en) Detection method, device, storage medium and the computer equipment of video communication system
KR101491639B1 (en) Method for determining type of network and method for providing contents by using the same
EP3410302A1 (en) Graphic instruction data processing method, apparatus and system
CN108900830B (en) Platform for verifying accuracy of infrared video image processing algorithm
CN111866058B (en) Data processing method and system
CN106851172A (en) The call method of camera, apparatus and system
CN110740316A (en) Data coding method and device
CN110826355A (en) Image recognition method, device and storage medium
CN115396705A (en) Screen projection operation verification method, platform and system
CN103686056A (en) Conference terminal and video processing method for conference terminal
CN113965458A (en) Equipment parameter processing method and system
CN113839829A (en) Cloud game delay testing method, device and system and electronic equipment
CN113014953A (en) Video tamper-proof detection method and video tamper-proof detection system
CN111629228A (en) Data transmission method and server
CN111224891A (en) Traffic application identification system and method based on dynamic learning triples
CN112584134B (en) Method and device for testing video conference code stream, computer equipment and storage medium
US6731325B1 (en) Methods and apparatus for selecting wire video size
CN112202985B (en) Information processing method, client device, server device and information processing system
CN114827692A (en) System for operating cloud desktop based on smart television
CN103974087A (en) Video image file compressing system, client and method
CN110650372B (en) Definition adjusting mechanism based on number of video terminals
CN106973307A (en) A kind of video equipment access method and device
CN118301360A (en) Data transmission method, terminal equipment and server
CN112559111B (en) Screen capturing method and device for sharing desktop

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication