CN112511691A - Data processing method, device and system - Google Patents

Data processing method, device and system Download PDF

Info

Publication number
CN112511691A
CN112511691A CN202011360455.6A CN202011360455A CN112511691A CN 112511691 A CN112511691 A CN 112511691A CN 202011360455 A CN202011360455 A CN 202011360455A CN 112511691 A CN112511691 A CN 112511691A
Authority
CN
China
Prior art keywords
sensing information
target
terminal equipment
image
cloud 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
CN202011360455.6A
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 CN202011360455.6A priority Critical patent/CN112511691A/en
Publication of CN112511691A publication Critical patent/CN112511691A/en
Pending legal-status Critical Current

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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/38Services specially adapted for particular environments, situations or purposes for collecting sensor information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a data processing method, a device and a system, which relate to the technical field of virtualization, wherein the method comprises the steps of receiving target sensing information sent by cloud terminal equipment; acquiring a current display interface of the virtual terminal equipment; determining an image to be displayed according to the current display interface and the target sensing information; and encoding the image to be displayed, and sending target encoded data obtained by encoding to the cloud terminal equipment, so that the cloud terminal equipment displays the decoded target encoded data. The processing of the sensing information is executed by the virtual terminal equipment, and the cloud terminal equipment only needs to decode and display the image to be displayed, so that the complex processing is not needed locally, and the processing burden of the cloud terminal equipment is reduced.

Description

Data processing method, device and system
Technical Field
The present disclosure relates to the field of virtualization technologies, and in particular, to a data processing method, apparatus, and system.
Background
With the continuous development of communication technology, smart phones are indispensable electronic products in people's lives. A plurality of sensors are typically provided in a smartphone, each sensor being used to implement a respective function.
In the related art, a sensor on the smart phone sends acquired sensing information to a processor of the smart phone, the processor processes the received sensing information, and finally, a processing result is displayed on a display screen.
However, in the above-mentioned technology, the smart phone needs to locally perform all processing of the sensing data, thereby increasing the processing load of the smart phone.
Disclosure of Invention
The embodiment of the disclosure provides a data processing method, device and system, which can solve the problem that the processing burden of a smart phone is increased in the prior art. 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 virtual terminal device, where the virtual terminal device is configured on a cloud server, the method including:
receiving target sensing information sent by cloud terminal equipment;
acquiring a current display interface of the virtual terminal equipment;
determining an image to be displayed according to the current display interface and the target sensing information;
and encoding the image to be displayed, and sending target encoded data obtained by encoding to the cloud terminal equipment, so that the cloud terminal equipment displays the decoded target encoded data.
The embodiment of the disclosure provides a data processing method, wherein when receiving target sensing information sent by cloud terminal equipment, a virtual terminal equipment obtains a current display interface of the virtual terminal equipment, determines an image to be displayed according to the current display interface and the target sensing information, and finally sends target encoding data obtained by encoding the image to be displayed to the cloud terminal equipment, and the cloud terminal equipment decodes and displays the target encoding data. Therefore, the processing of the sensing information is executed by the virtual terminal device, the cloud terminal device only needs to decode and display the image to be displayed, and complex processing is not needed to be performed locally, so that the processing burden of the cloud terminal device is reduced.
In one embodiment, the target sensing information includes at least one of: gravity sensing information, distance sensing information, temperature and humidity sensing information, light sensing information, gyroscope sensing information, pressure sensing information, magnetic sensing information, position sensing information and image sensing information.
In one embodiment, before the receiving target sensing information sent by the cloud terminal device, the method further includes:
pre-configuring each sensing node;
initializing each of the sensing nodes.
In one embodiment, the receiving target sensing information sent by the cloud terminal device includes:
and receiving the target sensing information sent by the cloud terminal equipment, and writing the target sensing information into the corresponding sensing node.
In one embodiment, the receiving target sensing information sent by the cloud terminal device includes:
receiving the target sensing information sent by the cloud terminal equipment through a target application program interface; the target application program interfaces correspond to the target sensing information one to one.
In one embodiment, the target sensing information is the sensing information encrypted according to a preset encryption algorithm;
the determining the image to be displayed according to the current display interface and the target sensing information comprises:
decrypting the target sensing information according to a preset decryption algorithm;
and determining the image to be displayed according to the current display interface and the decrypted target sensing information.
In one embodiment, the determining the image to be displayed according to the current display interface and the decrypted target sensing information includes:
preprocessing the decrypted target sensing information;
and determining the image to be displayed according to the current display interface and the preprocessed target sensing information.
In one embodiment, when the target sensing information includes the gravity sensing information, the determining the image to be displayed according to the current display interface and the preprocessed target sensing information includes:
determining a current required target screen direction of the cloud terminal equipment according to the preprocessed target sensing information;
when the screen direction of the current display interface is determined to be not the same as the target screen direction, adjusting the screen direction of the current display interface to the target screen direction;
and determining the image to be displayed according to the adjusted current display interface.
In one embodiment, when the target sensing information includes the gyroscope sensing information, the determining the image to be displayed according to the current display interface and the preprocessed target sensing information includes:
determining target actions required by the current picture of the cloud terminal equipment according to the preprocessed target sensing information;
and displaying the target action on the current display interface to obtain the image to be displayed.
According to a second aspect of the embodiments of the present disclosure, there is provided a data processing apparatus, the apparatus comprising:
the receiving module is used for receiving target sensing information sent by the cloud terminal equipment;
the acquisition module is used for acquiring a current display interface of the virtual terminal equipment;
the determining module is used for determining an image to be displayed according to the current display interface and the target sensing information;
the sending module is used for coding the image to be displayed and sending the coded target coded data to the cloud terminal equipment, so that the cloud terminal equipment displays the decoded target coded data.
The embodiment of the disclosure provides a data processing device, wherein when receiving target sensing information sent by cloud terminal equipment, a virtual terminal equipment obtains a current display interface of the virtual terminal equipment, determines an image to be displayed according to the current display interface and the target sensing information, and finally sends target encoding data obtained by encoding the image to be displayed to the cloud terminal equipment, and the cloud terminal equipment decodes and displays the target encoding data. Therefore, the processing of the sensing information is executed by the virtual terminal device, the cloud terminal device only needs to decode and display the image to be displayed, and complex processing is not needed to be performed locally, so that the processing burden of the cloud terminal device is reduced.
In one embodiment, the target sensing information includes at least one of: gravity sensing information, distance sensing information, temperature and humidity sensing information, light sensing information, gyroscope sensing information, pressure sensing information, magnetic sensing information, position sensing information and image sensing information.
In one embodiment, the apparatus further comprises a configuration module and an initialization module;
the configuration module is used for configuring each sensing node in advance;
the initialization module is used for initializing each sensing node.
In one embodiment, the receiving module comprises a first receiving submodule;
the first receiving submodule is used for receiving the target sensing information sent by the cloud terminal equipment and writing the target sensing information into the corresponding sensing node.
In one embodiment, the receiving module comprises a second receiving submodule;
the second receiving submodule is used for receiving the target sensing information sent by the cloud terminal equipment through a target application program interface; the target application program interfaces correspond to the target sensing information one to one.
In one embodiment, the target sensing information is the sensing information encrypted according to a preset encryption algorithm; the determining module comprises a decryption submodule and a determining submodule;
the decryption submodule is used for decrypting the target sensing information according to a preset decryption algorithm;
and the determining submodule is used for determining the image to be displayed according to the current display interface and the decrypted target sensing information.
In one embodiment, the determination submodule includes a preprocessing unit and a determination unit;
the preprocessing unit is used for preprocessing the decrypted target sensing information;
and the determining unit is used for determining the image to be displayed according to the current display interface and the preprocessed target sensing information.
In one embodiment, when the target sensing information includes the gravity sensing information, the determination unit includes a first determination subunit, an adjustment subunit, and a second determination subunit;
the first determining subunit is configured to determine, according to the preprocessed target sensing information, a target screen direction currently required by the cloud terminal device;
the adjusting subunit is configured to adjust the screen direction of the current display interface to the target screen direction when it is determined that the screen direction of the current display interface is not the same as the target screen direction;
and the second determining subunit is used for determining the image to be displayed according to the adjusted current display interface.
In one embodiment, when the target sensing information includes the gyro sensing information, the determination unit includes a third determination subunit and a fourth determination subunit;
the third determining subunit is configured to determine, according to the preprocessed target sensing information, a target action required by the current picture of the cloud terminal device;
and the fourth determining subunit is configured to display the target action on the current display interface to obtain the image to be displayed.
According to a third aspect of the embodiments of the present disclosure, there is provided a data processing system, including a cloud terminal device and a cloud server, where the cloud server includes at least one virtual terminal device described in any one of the above embodiments; the cloud terminal equipment comprises a processing chip, and an input module, a display module and a network transmission module which are connected with the processing chip.
In one embodiment, the input module includes at least one of: the device comprises an image acquisition module, a fingerprint acquisition module, a voice acquisition module, a key module and a touch screen.
In one embodiment, the cloud terminal device includes one of: cell-phone, panel computer, bracelet, wrist-watch, glasses, helmet and finger board.
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 of a data processing method provided by an embodiment of the present disclosure;
fig. 2 is a flowchart of a data processing method provided by an embodiment of the present disclosure;
FIG. 3a is a block diagram of a data processing apparatus provided in an embodiment of the present disclosure;
FIG. 3b is a block diagram of a data processing apparatus according to an embodiment of the present disclosure;
FIG. 3c is a block diagram of a data processing apparatus according to an embodiment of the present disclosure;
FIG. 3d is a block diagram of a data processing apparatus according to an embodiment of the present disclosure;
FIG. 3e is a block diagram of a data processing apparatus according to an embodiment of the present disclosure;
FIG. 3f is a block diagram of a data processing apparatus according to an embodiment of the present disclosure;
FIG. 3g is a block diagram of a data processing apparatus according to an embodiment of the present disclosure;
FIG. 3h is a block diagram of a data processing apparatus according to 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 data processing method, as shown in fig. 1, which is applied to a virtual terminal device, where the virtual terminal device is configured on a cloud server, and the method includes the following steps:
step 101, receiving target sensing information sent by cloud terminal equipment.
Wherein the target sensing information includes at least one of: gravity sensing information, distance sensing information, temperature and humidity sensing information, light sensing information, gyroscope sensing information, pressure sensing information, magnetic sensing information, position sensing information and image sensing information.
And 102, acquiring a current display interface of the virtual terminal equipment.
And 103, determining an image to be displayed according to the current display interface and the target sensing information.
And step 104, encoding the image to be displayed, and sending target encoded data obtained through encoding to the cloud terminal equipment, so that the cloud terminal equipment displays the decoded target encoded data.
The embodiment of the disclosure provides a data processing method, wherein when receiving target sensing information sent by cloud terminal equipment, a virtual terminal equipment obtains a current display interface of the virtual terminal equipment, determines an image to be displayed according to the current display interface and the target sensing information, and finally sends target encoding data obtained by encoding the image to be displayed to the cloud terminal equipment, and the cloud terminal equipment decodes and displays the target encoding data. Therefore, the processing of the sensing information is executed by the virtual terminal device, the cloud terminal device only needs to decode and display the image to be displayed, and complex processing is not needed to be performed locally, so that the processing burden of the cloud terminal device is reduced.
The embodiment of the present disclosure provides a data processing method, as shown in fig. 2, which is applied to a virtual terminal device, where the virtual terminal device is configured on a cloud server, and the method includes the following steps:
step 201, configuring each sensing node in advance.
In an example, each sensing node is configured in advance in the virtual terminal device, and the sensing nodes include a gravity sensor node, a distance sensor node, a temperature and humidity sensor node, a light sensor node, a gyroscope sensor node, a pressure sensor node, a magnetic sensor node, a position sensor node, an image sensor node, and the like.
It should be noted that, according to a user requirement, the virtual terminal device may further be configured with other sensing nodes, for example, an infrared sensor node, and the like, which is not limited in this disclosure.
It should be noted that before configuring each sensing node in advance, a connection between the cloud terminal device and the virtual terminal device needs to be established, where the specific connection process is as follows: firstly, a user starts cloud terminal equipment, inputs an IP address of a cloud server on a corresponding decoder of the cloud terminal equipment, clicks a connection key, and establishes network connection between the cloud terminal equipment and the cloud server, wherein the specific network connection can be wide area network connection or local area network connection; and then the user inputs target login information again, so that the cloud terminal equipment sends the target login information to the cloud server, and when the cloud server determines that the target input information is legal, the cloud server acquires corresponding target account information according to the target input information and determines virtual terminal equipment corresponding to the cloud terminal equipment according to the target account information, so that the virtual terminal equipment is controlled to establish connection with the cloud terminal equipment.
Step 202, initializing each sensing node.
For example, when a user configures each sensing node on the virtual terminal device, each sensing node may be initialized according to a corresponding effect of each sensing node in the cloud terminal device, for example, if the cloud terminal device is a cloud mobile phone and the sensing node is a gyroscope sensor node, the initialization of the gyroscope sensor node is set to be coordinate information of the cloud mobile phone at a longitudinal position, where the longitudinal position is a direction in which a screen of the cloud mobile phone is longer; if the sensing node is distance sensing information, the initialization of the distance sensor node is set to be 0 or a preset value.
And step 203, receiving target sensing information sent by the cloud terminal equipment.
Wherein the target sensing information includes at least one of: gravity sensing information, distance sensing information, temperature and humidity sensing information, light sensing information, gyroscope sensing information, pressure sensing information, magnetic sensing information, position sensing information and image sensing information.
Optionally, the target sensing information sent by the cloud terminal device is received, and the target sensing information is written into the corresponding sensing node.
Each sensor is arranged on the cloud terminal equipment and comprises a gravity sensor, a distance sensor, a temperature and humidity sensor, a light sensor, a gyroscope sensor, a pressure sensor, a magnetic sensor, a position sensor, an image sensor and the like, when the sensor collects corresponding target sensing information, the sensor sends the target sensing information to a processing chip of the cloud terminal equipment, and the processing chip sends the target sensing information to virtual terminal equipment connected with the cloud terminal equipment through a wireless transmission module, so that the virtual terminal receives the target sensing information sent by the cloud terminal equipment and writes the target sensing information into corresponding sensing nodes; for example, when the target sensing information is gravity sensing information, the gravity sensing information is written into the gravity sensor node, when the target sensing information is distance sensing information, the distance sensing information is written into the distance sensor node, and other sensing information is similar, so that each sensing information is stored.
Wherein, gravity sensor also is called acceleration sensor, can detect cloud terminal equipment triaxial acceleration's size and direction, and the scene of main application includes: firstly, switching horizontal and vertical screens of a screen of cloud terminal equipment; secondly, game application, particularly action and racing games, can determine the left and right directions of the cloud terminal equipment by using gravity, and reduces the use of physical keys; and thirdly, receiving information, typically, the cloud terminal equipment of shaking, so as to realize corresponding different functions and play a role of pressing keys.
Distance sensors, also called proximity sensors, measure the distance between objects by infrared light reflection, and the main application scenarios include: firstly, when a user answers a call, the mobile phone can automatically close the screen, so that unnecessary electricity waste can be saved, and misoperation during call answering can be reduced; and secondly, realizing the operations of turning over the mobile phone to mute, locking and unlocking and the like by utilizing other sensors together.
And the temperature and humidity sensor is used for detecting the temperature change condition of the mobile phone battery and the processing chip or detecting the temperature and humidity information of the current environment.
The light sensor is also called as a brightness sensor, and the main application scene is that the screen brightness of the cloud terminal equipment is automatically adjusted according to the light brightness required by the cloud terminal equipment, and meanwhile, unnecessary power consumption of the screen of the cloud terminal equipment is saved.
The gyroscope sensor, also called angular velocity sensor, can measure the action of rotation and deflection, and the main application scenarios include: firstly, game and 3D application program: the game can be controlled by utilizing the multidirectional directivity of the gyroscope sensor, so that the operation of the game is simplified; secondly, photographing application: the sensing in the direction of the gyroscope can improve the shooting experience of the mobile phone and realize the anti-shake function and the panoramic shooting function of the camera; thirdly, inertial navigation: the navigation software utilizes the directional pointing effect of the gyroscope to provide continuous navigation.
The pressure sensor is divided into an external air pressure sensor and an internal air pressure sensor, and the external air pressure sensor is used for detecting the height of the cloud terminal equipment; the internal air pressure sensor is used for detecting internal air pressure change to determine the shell sealing condition of the cloud terminal equipment; the main application scene is to assist the position sensor, determine the current height and improve the positioning accuracy.
The magnetic sensor is used for sensing the earth magnetic field, detecting the three-axis environmental magnetic field data and playing the role of a compass.
The position sensor is used for realizing a positioning function, and the image sensor is used for realizing a photographing and shooting function.
It should be noted that the functions that need to be implemented by the sensors are all executed on the virtual terminal device, and the cloud terminal device only needs to decode the image to be displayed.
Optionally, the target sensing information sent by the cloud terminal device through a target application program interface is received; the target application program interfaces correspond to the target sensing information one to one.
For example, in order to ensure the independence of each sensor data, the cloud terminal device establishes different application program interfaces for different sensor data, and when a processing chip of the cloud terminal device receives the sensing information of a certain sensor, the processing chip firstly determines the application program interface corresponding to the sensing information, and then sends the received sensing information to the virtual terminal device connected with the cloud terminal device in the cloud server through the corresponding application program interface, so as to ensure the independence of each sensing data; for example, the gravity sensor sends gravity sensing data through a first application program interface; the distance sensor sends distance sensing data through a second application program interface; the temperature and humidity sensor sends temperature and humidity sensing data through a third application program interface; the light sensor sends light intensity sensing information through a fourth application program interface; the gyroscope sensor sends gyroscope sensing information through a fifth application program interface; the pressure sensor sends pressure sensing information through a sixth application program interface; the magnetic sensor sends magnetic sensing information through a seventh application program interface; the position sensor sends position sensing information through an eighth application program interface; the image sensor transmits the image sensing information through the ninth application program interface.
In addition, the target sensing information specifically includes all the contents that can be collected by the corresponding sensor, for example, the gravity sensing information includes one or more of the following combinations: start time, end time, number of steps, distance, overall average pace, current average pace, number of steps per second, etc.; the position sensing information comprises one or more of the following combinations: precision, latitude, altitude, horizontal error, vertical error, moving speed, direction, timestamp, and the like; the gyroscope sensing information includes angular velocity information in three directions, and the like, which may refer to the prior art specifically, and this disclosure is not repeated herein.
And 204, acquiring a current display interface of the virtual terminal equipment.
Illustratively, when the virtual terminal device acquires the target sensing information, a current display interface of the virtual terminal device is acquired to determine a currently played content.
Step 205, determining an image to be displayed according to the current display interface and the target sensing information.
The target sensing information is the sensing information which is encrypted according to a preset encryption algorithm.
Optionally, decrypting the target sensing information according to a preset decryption algorithm; and determining the image to be displayed according to the current display interface and the decrypted target sensing information.
Illustratively, when receiving sensing information sent by a sensor, a processing chip of the cloud terminal device encrypts the sensing information according to a preset encryption algorithm and sends the encrypted target sensing information to the virtual terminal device, and when receiving the target sensing information, the virtual terminal device decrypts the target sensing information according to a preset decryption algorithm, and finally determines an image to be displayed according to a current display interface and the decrypted target sensing information. The preset decryption algorithm corresponds to the preset encryption algorithm, and the specific decryption algorithm and encryption algorithm refer to the prior art, which is not described herein again.
It should be noted that, for different sensors, different encryption algorithms and corresponding different decryption algorithms may also be adopted, which is not limited in this disclosure.
Further, preprocessing the decrypted target sensing information; and determining the image to be displayed according to the current display interface and the preprocessed target sensing information.
For example, after decrypting the target sensing information, the virtual terminal device needs to pre-process the decrypted target sensing information, where the pre-processing includes correction, filtering, curve fitting, and the like of the decrypted target sensing data, and a specific pre-processing process may refer to the prior art, and is not described herein again.
Optionally, when the target sensing information includes the gravity sensing information, a specific method for determining the image to be displayed according to the current display interface and the preprocessed target sensing information is as follows:
determining a current required target screen direction of the cloud terminal equipment according to the preprocessed target sensing information; when the screen direction of the current display interface is determined to be not the same as the target screen direction, adjusting the screen direction of the current display interface to the target screen direction; and determining the image to be displayed according to the adjusted current display interface.
For example, taking a cloud terminal device as a cloud mobile phone as an example, when the target sensing information is gravity sensing information and the current display interface is an interface of a video application program, it may be determined according to the preprocessed gravity sensing data that a user wants the cloud mobile phone to be in a vertical screen state or a horizontal screen state at the moment, that is, it is determined that the current required screen direction of the cloud mobile phone is determined; if the target screen direction required by the cloud mobile phone is determined to be a vertical screen and the screen direction of the current display interface of the virtual terminal device is determined to be a horizontal screen, determining that the screen direction of the current display interface is different from the target screen direction, at this moment, adjusting the screen direction of the current display interface to be the vertical screen, and determining the adjusted current display interface to be an image to be displayed.
Optionally, when the target sensing information includes the gyroscope sensing information, a specific method for determining the image to be displayed according to the current display interface and the preprocessed target sensing information is as follows:
determining a target action required by the current picture of the cloud terminal equipment according to the preprocessed target sensing information; and displaying the target action on the current display interface to obtain the image to be displayed.
For example, taking a cloud terminal device as a cloud mobile phone as an example, when the target sensing information is gyroscope sensing information and the current display interface is an interface of an aerocar game, the target action required by the user at the moment can be determined according to the preprocessed gyroscope sensing data, so that the target action is displayed on the current display interface to determine an image to be displayed; the different gyroscope sensing data correspond to different operation actions, for example, the operation actions may be left turn of the flying vehicle, right turn of the flying vehicle, acceleration of the flying vehicle, and the like.
And 206, encoding the image to be displayed, and sending the encoded target encoded data to the cloud terminal equipment, so that the cloud terminal equipment displays the decoded target encoded data.
In an example, after the virtual terminal device determines an image to be displayed, the virtual terminal device acquires the image to be displayed through the acquisition module, sends the acquired image to be displayed to the graphics rendering module, performs coding rendering on the image to be displayed through the graphics rendering module, sends target coded data obtained after the coding rendering to a processor of the virtual terminal device, and sends the target coded data to the cloud terminal device through the processor, so that the cloud terminal device decodes and displays the received target coded data; for example, when the target sensing information is gravity sensing information, the cloud terminal device receives an image to be displayed after the screen is adjusted, so that the control of the user on the screen direction is realized; when the target sensing information is the gyroscope sensing information, the cloud terminal equipment receives the image to be displayed aiming at the game action, so that the control of the user on the game action is realized.
The embodiment of the disclosure provides a data processing method, wherein when receiving target sensing information sent by cloud terminal equipment, a virtual terminal equipment obtains a current display interface of the virtual terminal equipment, determines an image to be displayed according to the current display interface and the target sensing information, and finally sends target encoding data obtained by encoding the image to be displayed to the cloud terminal equipment, and the cloud terminal equipment decodes and displays the target encoding data. Therefore, the processing of the sensing information is executed by the virtual terminal device, the cloud terminal device only needs to decode and display the image to be displayed, and complex processing is not needed to be performed locally, so that the processing burden of the cloud terminal device is reduced.
Based on the data processing method described in the above embodiments, the following is an embodiment of the apparatus of the present disclosure, which can be used to execute the embodiment of the method of the present disclosure.
The embodiment of the present disclosure provides a data processing apparatus, as shown in fig. 3a, the data processing apparatus 30 includes: a receiving module 301, an obtaining module 302, a determining module 303 and a sending module 304.
The receiving module 301 is configured to receive target sensing information sent by the cloud terminal device.
An obtaining module 302, configured to obtain a current display interface of the virtual terminal device.
And the determining module 303 is configured to determine an image to be displayed according to the current display interface and the target sensing information.
A sending module 304, configured to code the image to be displayed, and send target encoded data obtained through coding to the cloud terminal device, so that the cloud terminal device displays the decoded target encoded data.
In one embodiment, the target sensing information includes at least one of: gravity sensing information, distance sensing information, temperature and humidity sensing information, light sensing information, gyroscope sensing information, pressure sensing information, magnetic sensing information, position sensing information and image sensing information.
In one embodiment, as shown in fig. 3b, the apparatus further comprises a configuration module 305 and an initialization module 306.
The configuration module 305 is configured to pre-configure each sensing node.
The initialization module 306 is configured to initialize each of the sensing nodes.
In one embodiment, as shown in fig. 3c, the receiving module 301 comprises a first receiving submodule 3011.
The first receiving submodule 3011 is configured to receive the target sensing information sent by the cloud terminal device, and write the target sensing information into the corresponding sensing node.
In one embodiment, as shown in fig. 3d, the receiving module 301 comprises a second receiving submodule 3012.
The second receiving submodule 3012 is configured to receive the target sensing information sent by the cloud terminal device through a target application program interface; the target application program interfaces correspond to the target sensing information one to one.
In one embodiment, as shown in fig. 3e, the target sensing information is the sensing information encrypted according to a preset encryption algorithm; the determining module 303 includes a decryption sub-module 3031 and a determining sub-module 3032.
The decryption submodule 3031 is configured to decrypt the target sensing information according to a preset decryption algorithm.
The determining submodule 3032 is configured to determine the image to be displayed according to the current display interface and the decrypted target sensing information.
In one embodiment, as shown in fig. 3f, the determination submodule 3032 comprises a preprocessing unit 30321 and a determination unit 30322.
The preprocessing unit 30321 is configured to preprocess the decrypted target sensing information.
The determining unit 30322 is configured to determine the image to be displayed according to the current display interface and the preprocessed target sensing information.
In one embodiment, as shown in fig. 3g, when the target sensing information includes the gravity sensing information, the determining unit 30322 includes a first determining sub-unit 303221, an adjusting sub-unit 303222 and a second determining sub-unit 303223.
The first determining subunit 303221 is configured to determine, according to the preprocessed target sensing information, a target screen direction currently required by the cloud terminal device.
The adjusting subunit 303222 is configured to, when it is determined that the screen direction of the current display interface is not the same as the target screen direction, adjust the screen direction of the current display interface to the target screen direction.
A second determining subunit 303223, configured to determine the image to be displayed according to the adjusted current display interface.
In one embodiment, as shown in fig. 3h, when the target sensing information includes the gyro sensing information, the determining unit 30322 includes a third determining sub-unit 303224 and a fourth determining sub-unit 303225.
The third determining subunit 303224 is configured to determine, according to the preprocessed target sensing information, a target action required by the current picture of the cloud terminal device.
The fourth determining subunit 303225 is configured to display the target action on the current display interface, so as to obtain the image to be displayed.
The embodiment of the disclosure provides a data processing device, wherein when receiving target sensing information sent by cloud terminal equipment, a virtual terminal equipment obtains a current display interface of the virtual terminal equipment, determines an image to be displayed according to the current display interface and the target sensing information, and finally sends target encoding data obtained by encoding the image to be displayed to the cloud terminal equipment, and the cloud terminal equipment decodes and displays the target encoding data. Therefore, the processing of the sensing information is executed by the virtual terminal device, the cloud terminal device only needs to decode and display the image to be displayed, and complex processing is not needed to be performed locally, so that the processing burden of the cloud terminal device is reduced.
Fig. 4 is a framework diagram of a data processing system provided in an embodiment of the present disclosure, where the data processing system shown in fig. 4 includes a cloud terminal device 401 and a cloud server 402, and the cloud server 402 includes at least one virtual terminal device 4021 described in any one of the above embodiments; the cloud terminal device 401 includes a processing chip 4011, and an input module 4012, a display module 4013, and a network transmission module 4014 connected to the processing chip 4011.
Optionally, the input module 4012 includes at least one of: the device comprises an image acquisition module, a fingerprint acquisition module, a voice acquisition module, a key module and a touch screen.
The image acquisition module comprises a camera, the fingerprint acquisition module comprises a fingerprint acquirer, the voice acquisition module comprises a microphone, and the key module comprises a keyboard.
Optionally, the processing chip 4011 includes a processor, and a video encoding and decoding module, a storage module, an audio processing module, a sensor component, an input/output interface, a power interface, an image acquisition module, and a positioning module connected to the processor; the input module, the display module and the network transmission module are also connected with the processor.
Optionally, the cloud terminal device 401 includes one of the following: cell-phone, panel computer, bracelet, wrist-watch, glasses, helmet and finger board.
Based on the data processing method described in the embodiment corresponding to fig. 1, an 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. 1, which is not described herein again.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
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 (13)

1. A data processing method is applied to a virtual terminal device, wherein the virtual terminal device is configured on a cloud server, and the method comprises the following steps:
receiving target sensing information sent by cloud terminal equipment;
acquiring a current display interface of the virtual terminal equipment;
determining an image to be displayed according to the current display interface and the target sensing information;
and encoding the image to be displayed, and sending target encoded data obtained by encoding to the cloud terminal equipment, so that the cloud terminal equipment displays the decoded target encoded data.
2. The method of claim 1, wherein the target sensory information includes at least one of: gravity sensing information, distance sensing information, temperature and humidity sensing information, light sensing information, gyroscope sensing information, pressure sensing information, magnetic sensing information, position sensing information and image sensing information.
3. The method according to claim 1, wherein before the receiving the target sensing information sent by the cloud terminal device, the method further comprises:
pre-configuring each sensing node;
initializing each of the sensing nodes.
4. The method according to claim 3, wherein the receiving target sensing information sent by the cloud terminal device comprises:
and receiving the target sensing information sent by the cloud terminal equipment, and writing the target sensing information into the corresponding sensing node.
5. The method according to claim 1, wherein the receiving target sensing information sent by the cloud terminal device comprises:
receiving the target sensing information sent by the cloud terminal equipment through a target application program interface; the target application program interfaces correspond to the target sensing information one to one.
6. The method according to claim 2, wherein the target sensing information is the sensing information encrypted according to a preset encryption algorithm;
the determining the image to be displayed according to the current display interface and the target sensing information comprises:
decrypting the target sensing information according to a preset decryption algorithm;
and determining the image to be displayed according to the current display interface and the decrypted target sensing information.
7. The method of claim 6, wherein the determining the image to be displayed according to the current display interface and the decrypted target sensing information comprises:
preprocessing the decrypted target sensing information;
and determining the image to be displayed according to the current display interface and the preprocessed target sensing information.
8. The method of claim 7, wherein when the target sensing information comprises the gravity sensing information, the determining the image to be displayed according to the current display interface and the preprocessed target sensing information comprises:
determining a current required target screen direction of the cloud terminal equipment according to the preprocessed target sensing information;
when the screen direction of the current display interface is determined to be not the same as the target screen direction, adjusting the screen direction of the current display interface to the target screen direction;
and determining the image to be displayed according to the adjusted current display interface.
9. The method of claim 7, wherein when the target sensing information comprises the gyroscope sensing information, the determining the image to be displayed according to the current display interface and the preprocessed target sensing information comprises:
determining target actions required by the current picture of the cloud terminal equipment according to the preprocessed target sensing information;
and displaying the target action on the current display interface to obtain the image to be displayed.
10. A data processing apparatus, comprising:
the receiving module is used for receiving target sensing information sent by the cloud terminal equipment;
the acquisition module is used for acquiring a current display interface of the virtual terminal equipment;
the determining module is used for determining an image to be displayed according to the current display interface and the target sensing information;
the sending module is used for coding the image to be displayed and sending the coded target coded data to the cloud terminal equipment, so that the cloud terminal equipment displays the decoded target coded data.
11. A data processing system comprising a cloud terminal device and a cloud server, the cloud server comprising at least one virtual terminal device according to any one of claims 1 to 9; the cloud terminal equipment comprises a processing chip, and an input module, a display module and a network transmission module which are connected with the processing chip.
12. The system of claim 11, wherein the input module comprises at least one of: the device comprises an image acquisition module, a fingerprint acquisition module, a voice acquisition module, a key module and a touch screen.
13. The system of claim 11, wherein the cloud end device comprises one of: cell-phone, panel computer, bracelet, wrist-watch, glasses, helmet and finger board.
CN202011360455.6A 2020-11-27 2020-11-27 Data processing method, device and system Pending CN112511691A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011360455.6A CN112511691A (en) 2020-11-27 2020-11-27 Data processing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011360455.6A CN112511691A (en) 2020-11-27 2020-11-27 Data processing method, device and system

Publications (1)

Publication Number Publication Date
CN112511691A true CN112511691A (en) 2021-03-16

Family

ID=74967284

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011360455.6A Pending CN112511691A (en) 2020-11-27 2020-11-27 Data processing method, device and system

Country Status (1)

Country Link
CN (1) CN112511691A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114115657A (en) * 2021-11-23 2022-03-01 北京百度网讯科技有限公司 Display mode switching method, device, equipment and medium of cloud mobile phone

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114115657A (en) * 2021-11-23 2022-03-01 北京百度网讯科技有限公司 Display mode switching method, device, equipment and medium of cloud mobile phone
CN114115657B (en) * 2021-11-23 2024-04-02 北京百度网讯科技有限公司 Display mode switching method, device, equipment and medium of cloud mobile phone

Similar Documents

Publication Publication Date Title
CN110544280B (en) AR system and method
US11315336B2 (en) Method and device for editing virtual scene, and non-transitory computer-readable storage medium
CN110917614B (en) Cloud game system based on block chain system and cloud game control method
US9075429B1 (en) Distortion correction for device display
CN109806586B (en) Starting method, device and equipment of game auxiliary function and readable storage medium
KR20180073327A (en) Display control method, storage medium and electronic device for displaying image
CN110213608B (en) Method, device, equipment and readable storage medium for displaying virtual gift
CN107707817B (en) video shooting method and mobile terminal
CN110533585B (en) Image face changing method, device, system, equipment and storage medium
CN110971925B (en) Display method, device and system of live broadcast interface
CN112533017B (en) Live broadcast method, device, terminal and storage medium
CN111147743B (en) Camera control method and electronic equipment
CN110300274B (en) Video file recording method, device and storage medium
WO2022052620A1 (en) Image generation method and electronic device
CN112328091B (en) Barrage display method and device, terminal and storage medium
CN110996117B (en) Video transcoding method and device, electronic equipment and storage medium
CN111510757A (en) Method, device and system for sharing media data stream
WO2022252823A1 (en) Method and apparatus for generating live video
CN111314616A (en) Image acquisition method, electronic device, medium and wearable device
CN112130945A (en) Gift presenting method, device, equipment and storage medium
CN112511691A (en) Data processing method, device and system
CN111128115B (en) Information verification method and device, electronic equipment and storage medium
US20170293368A1 (en) Gyroscope apparatus
WO2021136265A1 (en) Unlocking method and electronic device
CN113608616A (en) Virtual content display method and device, electronic equipment and storage medium

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