Information processing method and electronic equipment
By establishing a screen projection channel between three-dimensional and two-dimensional display devices and adjusting the display method using instructions, the problem that the screen projection screen does not meet the viewing expectations is solved, adaptive display is realized, and the flexibility and accuracy of the screen projection data are improved.
Patent Information
- Application Number
- CN202510238291.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-02
- Publication Date
- 2025-07-11
AI Technical Summary
In the prior art, when a three-dimensional display device projects a screen to a two-dimensional display device, the screen does not meet viewing expectations and cannot be adaptively adjusted, resulting in low accuracy and poor flexibility.
By establishing a screen projection channel between the three-dimensional display device and the two-dimensional display device, and adjusting the display method using instructions, the three-dimensional display device can actively trigger adjustment and receive data output from the two-dimensional display device, and realize adaptive display.
Improves the flexibility and accuracy of screen projection data, reduces display delay, and ensures that the display effect meets viewing expectations.
Smart Images

Figure CN120302093A_ABST
Abstract
Description
Technical Field
[0001] This application relates to, but is not limited to, the field of information processing technologies, and in particular, to an information processing method and an electronic device. Background Art
[0002] A first device for three-dimensional display can project a display screen to a second device for two-dimensional display. In related technologies, when the first device projects the screen to the second device, the displayed screen on the second device is much smaller than the display area of the second device, and the displayed screen does not meet the viewing expectations. At the same time, even if you want to adjust the displayed screen, you can only set manual adjustments on the second device, and it is impossible to adaptively adjust the display screen projected by the first device, resulting in problems such as low accuracy and poor flexibility. Summary of the Invention
[0003] In view of this, embodiments of the present application at least provide an information processing method and an electronic device.
[0004] The technical solution of the embodiments of the present application is implemented as follows:
[0005] Embodiments of the present application provide an information processing method, and the method includes:
[0006] During the process of the first device outputting based on the first data, a first instruction is obtained; the first instruction is used to adjust the first display mode of the target object output based on the first data, and the first data is the data projected and displayed by the second device on the first device;
[0007] In response to the first instruction, second data is obtained, so that when the first device outputs based on the second data, the target object is displayed in the first device in a second display mode;
[0008] The first device is for two-dimensional display, and the second device is for three-dimensional display.
[0009] Embodiments of the present application provide an electronic device, and the electronic device includes:
[0010] A display module for two-dimensional display;
[0011] A processor, which is configured to obtain a first instruction during the process of outputting based on the first data; the first instruction is used to adjust the first display mode of the target object output based on the first data, and the first data is the data projected and displayed by the second device on the electronic device;
[0012] The processor is further configured to obtain second data in response to the first instruction, so that when the electronic device outputs based on the second data, the target object is displayed in the electronic device in a second display mode.
[0013] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, rather than limiting the technical solution of this application. Brief Description of the Drawings
[0014] The drawings herein are incorporated into and constitute a part of this specification. These drawings illustrate embodiments consistent with this application and, together with the specification, are used to explain the technical solution of this application.
[0015] Figure 1 Schematic diagram of the implementation process of an information processing method provided by an embodiment of this application Figure 1 ;
[0016] Figure 2A Schematic diagram of displaying a target object provided by an embodiment of this application Figure 1 ;
[0017] Figure 2B Second schematic diagram of displaying a target object provided by an embodiment of this application;
[0018] Figure 3 Second schematic diagram of the implementation process of an information processing method provided by an embodiment of this application;
[0019] Figure 4 Schematic diagram of the implementation process of an information processing method provided by an embodiment of this application Figure 3 ;
[0020] Figure 5 Flowchart of an information processing method provided by an embodiment of this application;
[0021] Figure 6 Schematic diagram of the composition structure of an electronic device provided by an embodiment of this application;
[0022] Figure 7 Schematic diagram of the hardware entity of an electronic device provided by an embodiment of this application. Detailed Description of Specific Embodiments
[0023] In order to make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be further elaborated in detail below in conjunction with the drawings and embodiments. The described embodiments should not be regarded as limitations of this application. All other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.
[0024] In the following description, reference is made to "some embodiments", which describe a subset of all possible embodiments. However, it can be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments and can be combined with each other without conflict.
[0025] It should be noted that the terms "first", "second", and "third" involved in the embodiments of the present application are only used to distinguish similar objects, and do not represent a specific order for the objects. It can be understood that "first", "second", and "third" can be interchanged in a specific order or sequence when permitted, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here.
[0026] Those skilled in the art of the present technology can understand that, unless otherwise defined, all terms (including technical terms and scientific terms) used here have the same meaning as the general understanding of those of ordinary skill in the art in the field to which the embodiments of the present application belong. It should also be understood that terms defined in a general dictionary, such as those, should be understood to have a meaning consistent with the meaning in the context of the prior art, and will not be interpreted with an idealized or overly formal meaning unless specifically defined as here.
[0027] The first device for three-dimensional display can project the display screen to the second device for two-dimensional display. In the related art, when the first device projects the screen to the second device, the displayed screen on the second device is much smaller than the display area of the second device, and the displayed screen does not meet the viewing expectations. At the same time, even if you want to adjust the displayed screen, you can only set manual adjustments on the second device, and it is impossible to adaptively adjust the display screen projected by the first device, resulting in problems such as low accuracy and poor flexibility.
[0028] The embodiments of the present application provide an information processing method. During the process of outputting the first data by the first device for two-dimensional display, a first instruction for adjusting the first display mode of the target object based on the output of the first data is obtained. Then, in response to the first instruction, second data is obtained, so that when the first device outputs based on the second data, the target object is displayed in the second display mode on the first device. In this way, after the first device receives the trigger for screen projection by the first data, it can actively trigger the adjustment and receive the second data output by the second device, so that the second data output by the first device can meet the viewing expectations, timely adjust the display effect of the first device, reduce the display delay of the screen-projected data. At the same time, the first device only needs to generate an instruction to receive the adjusted screen-projected data, and can realize the adaptive adjustment of the screen-projected data when the processing ability of the first device is weak, improving the flexibility of data screen projection.
[0029] Figure 1 It is a schematic flow of an information processing method provided by the embodiments of the present application Figure 1 , such as Figure 1 shown, the method includes step S101 and step S102, where:
[0030] In step S101, when the first device outputs based on the first data, a first instruction is obtained; the first instruction is used to adjust the first display mode of the target object output based on the first data, and the first data is the data that the second device performs screen mirroring display on the first device.
[0031] Here, the first device is a device for two-dimensional display. The first device may include, but is not limited to, one of the following: a computer, a mobile terminal, etc. The first data is the data output in the first device. The first instruction is an instruction for triggering the adjustment of the display mode of the object outputting the data.
[0032] In some embodiments, the first data is the data that the second device performs screen mirroring display on the first device. The first device may actively read the first data from the second device, or the first device may receive the first data actively sent by the second device to obtain the first data and output the first data in the first device. Wherein, the second device is a device for three-dimensional display.
[0033] In some embodiments, when the first device outputs the first data, the first data may include at least one object. The at least one object may be used as the target object output of the first data, or some objects may be selected from the at least one object as the target object output of the first data.
[0034] In some embodiments, since the first data is the data that the second device performs screen mirroring display on the first device, therefore, the display mode of the first data is the display mode of the first data in the second device, that is, the first display mode is the display mode of the first data in the second device. In implementation, the first display mode may be a small window display.
[0035] The method for obtaining the first instruction may include, but is not limited to: the first device obtains the first instruction based on the received target operation, the first device automatically generates the first instruction based on the detected target parameter, etc. For example, the target operation may be any type of operation, such as a gesture operation, an audio operation, a click operation, a swipe operation, etc. After the first device recognizes the target operation, it may determine that it is necessary to adjust the first display mode of the target object output based on the first data, thereby obtaining the first instruction. Also, for example, the target parameter may be any type of parameter, such as the light intensity, the position of the first device, etc. After the first device detects a change in the target parameter, it may automatically generate the first instruction to obtain the first instruction.
[0036] In some embodiments, a screen mirroring channel can be established between a first device and a second device, so that the first device obtains first data from the screen mirroring channel. During implementation, the screen mirroring channel can be distinguished according to the data transmission direction, and the screen mirroring channel can include a first sub-channel and a second sub-channel. Among them, the first sub-channel is a channel for the second device to transmit data to the first device, and the second sub-channel is a channel for the first device to transmit data to the second device. The first device can obtain the first data output by the second device based on the first sub-channel, and the first device can send a first instruction to the second device based on the second sub-channel.
[0037] In some embodiments, before obtaining the first data, the first device needs to first obtain the screen mirroring parameters of the second device from the second device through the first sub-channel, and send the screen mirroring parameters of the first device to the second device based on the second sub-channel. Among them, the screen mirroring parameters (including the screen mirroring parameters of the first device and the second device) can include but are not limited to at least one of the following: protocol name, top-level application name, display area area, etc. The protocol name can include but is not limited to: Miracast protocol, WebRTC protocol, etc.
[0038] Step S102, in response to the first instruction, obtain second data, so that when the first device outputs based on the second data, the target object is displayed in the second display mode on the first device; the first device is used for two-dimensional display, and the second device is used for three-dimensional display.
[0039] Here, the second data is the data output in the first device in response to the first instruction. In some embodiments, after obtaining the first instruction, the first device can send the first instruction to the second device, so that the second device adjusts the first data based on the first instruction, and then changes the data for screen mirroring display on the first device to the second data, so that the first device obtains the second data.
[0040] In some embodiments, the data of the second device at any screen mirroring moment can be the first data, that is, the display content of the first data can change with the change of the screen mirroring moment, but the target object in the first data remains unchanged. For example, the display content of the first data was a car 50 meters away from the target point at the previous screen mirroring moment, and the display content of the first data is a car 10 meters away from the target point at the current screen mirroring moment, and the car as the target object has not changed.
[0041] In some embodiments, after the first device sends the first instruction to the second device, the first device can actively read the second data from the second device, or the first device can receive the second data actively sent by the second device, so as to obtain the second data and output the second data in the first device.
[0042] In some embodiments, the display content of the second data is the same as that of the first data, but the display methods are different. When the first device outputs based on the second data, the target object is displayed on the first device in the second display method.
[0043] In some embodiments, the second display method is different from the first display method, and the second display method may be a magnified display. In implementation, the second display method may magnify and display the target object.
[0044] In some embodiments, a screen mirroring channel may be established between the first device and the second device, so that the first device obtains the second data from the screen mirroring channel. In implementation, the screen mirroring channel includes a first sub-channel and a second sub-channel, and the first device may obtain the second data output by the second device based on the first sub-channel.
[0045] In some embodiments, when the first device obtains the second data output by the second device based on the first sub-channel, it may continuously obtain the screen mirroring parameters of the second device from the second device through the first sub-channel, and send the screen mirroring parameters of the first device to the second device based on the second sub-channel. When it is detected that the screen mirroring parameters of the second device change, the first device may regenerate the first instruction and obtain the first instruction.
[0046] In the embodiments of the present application, during the output of the first data by the first device for two-dimensional display, a first instruction for adjusting the first display method of the target object output based on the first data is obtained. Then, in response to the first instruction, the second data is obtained, so that when the first device outputs based on the second data, the target object is displayed on the first device in the second display method. In this way, after the first device receives the first data and triggers screen mirroring, it can actively trigger the adjustment and receive the second data output by the second device, so that the second data output by the first device can meet the viewing expectations, timely adjust the display effect of the first device, reduce the display delay of the screen mirroring data. At the same time, the first device only needs to generate an instruction to receive the adjusted screen mirroring data, and can achieve the adaptive adjustment of the screen mirroring data when the processing capacity of the first device is weak, improving the flexibility of data screen mirroring.
[0047] In some embodiments, when obtaining the first instruction, the following steps may be performed:
[0048] Step S11, in response to the received first input information, obtain the first instruction; the first input information is generated by the input device or the biological information detected by the first device, and the biological information includes at least one of the following: facial information, gesture information.
[0049] Here, the first input information is information generated by the first device based on biometric information detected by an input device or the first device itself. The input device may include, but is not limited to, one of the following: remote control, handle, joystick, mouse, etc.
[0050] In some embodiments, the input device may be connected to the first device by a wired connection through a connecting line or a wireless connection such as Bluetooth, so that the first device can detect the first input information through the connected input device. Alternatively, the first device may be equipped with an input device, so that the first device can detect the first input information through the equipped input device. This application does not limit the connection method between the input device and the first device. At the same time, it should be noted that after the input device is connected to the first device, the input device belongs to the first device.
[0051] In some embodiments, the biometric information includes at least one of the following: facial information, gesture information. The methods for obtaining biometric information may include, but are not limited to: obtaining biometric information through a camera, obtaining biometric information through a gesture recognition device, etc. For example, the first device may be equipped with a camera, and through the images or video streams captured by the camera, biometric information can be extracted from the images or video streams using computer vision technology. Another example is that when extracting gesture information, the hand movements can be captured by a gesture recognition device equipped on the first device, and then the posture and movement trajectory of the hand can be analyzed to obtain gesture information.
[0052] In some embodiments, the biometric information detected by the input device or the first device may be triggered and generated by the interaction between the first object and the first device, where the first object refers to the object interacting with the first device. The first object can be any suitable object, such as a person, a machine, etc.
[0053] In some embodiments, the facial information may include, but is not limited to, at least one of the following: the gaze area of the first object, the facial expression of the first object, etc. Among them, the gaze area of the first object refers to the visual focus area when the first object interacts with the output first data. When the obtained facial information indicates that the first object continuously gazes at the target object of the first data, a first instruction can be obtained.
[0054] In some embodiments, the gaze area of the first object can be determined by eye tracking technology. Eye tracking technology is a sensor technology that can detect the presence of a person and track in real time what they are looking at.
[0055] In some embodiments, the facial expression of the first object can be determined by means of face detection. The implementation methods of face detection can include, but are not limited to: implementing face detection by using OpenCV, implementing face detection by using MediaPipe, etc. For example, OpenCV comes with some pre-trained Haar cascade models that can be used to implement face detection. For another example, MediaPipe provides a pre-built graph to implement face detection, and this graph is called FaceDetection. FaceDetection is based on the BlazeFace model, which is a lightweight and efficient face detector.
[0056] In some embodiments, the first device can parse the biological information to obtain a parsing result, and obtain a first instruction when the parsing result indicates that the first display mode of the first data needs to be adjusted. During implementation, the biological information can be parsed by a deep neural network. The trained deep neural network has a feature extraction module and a classifier. It can extract features such as Histogram of Oriented Gradient (HOG) and Scale-Invariant Feature Transform (SIFT) of the biological information through the feature extraction module, and then classify the extracted features through the classifier, so as to parse the biological information. Among them, the classifier can include, but is not limited to: decision tree, random forest, etc.
[0057] In some embodiments, according to a predefined communication protocol, the first input information can be converted into an internal format that the first device can process, and then through preprocessing steps such as digitizing, filtering, and amplifying the first input information, and performing logical judgment on the preprocessed first input information to parse the first input information to obtain a parsing result, and then determine the operation intention of the first object based on the parsing result. When the operation intention of the first object indicates that the first display mode of the first data needs to be adjusted, a first instruction is obtained.
[0058] In the embodiments of the present application, obtaining a first instruction from the first input information generated by the biological information detected by the input device or the first device can trigger the adjustment of the first data in various ways, while improving the flexibility of the information processing method, and can also timely adjust the display effect of the screen projection data, improving the viewing experience.
[0059] In some embodiments, a target object is displayed in the target window. When displaying the target object, any one of the following steps can be executed:
[0060] Step S103, the target window is displayed in the first device in a second display mode, so that the target object is displayed in the first device in the second display mode.
[0061] Here, the target window is a display window for displaying at least one object. In some embodiments, the at least one object includes the target object. The number of target objects is at least one.
[0062] In some embodiments, during the process of the first device outputting based on the first data, the target window is displayed in the first device in a first display mode, so that the target object is displayed in the first device in the first display mode.
[0063] In some embodiments, when the first device outputs based on the second data, the target window is displayed in the first device in a second display mode. At this time, at least one object in the target window is displayed in the second display mode, and since the at least one object includes the target object, the target object is displayed in the first device in the second display mode.
[0064] Figure 2A A schematic diagram for displaying a target object provided by an embodiment of the present application Figure 1 , such as Figure 2A shown, in the first device 20, the target window 21 is displayed. The target window 21 includes the target object 22. During the process of the first device 20 outputting based on the first data, the target window 21 is displayed in the first device 20 in a first display mode. When the first device 20 outputs based on the second data, the target window 21 is displayed in the first device 20 in a second display mode, so that the target object 22 is displayed in the first device 20 in the second display mode. And, the target object 22 changes proportionally with the magnification of the target window 21.
[0065] Step S104, the target object is displayed in the first device in a second display mode, and other objects in the target window are displayed in a first display mode.
[0066] Here, the target window includes at least one object. Among the at least one object, the objects other than the target object are other objects. The number of target objects is at least one, and the number of other objects is at least one.
[0067] In some embodiments, during the process of the first device outputting based on the first data, the target object is displayed in the first device in a first display mode. At the same time, other objects in the target window may be displayed in the first display mode or in other display modes.
[0068] In some embodiments, when the first device outputs based on the second data, since the first object focuses on the target object, the target object is displayed in the second display mode on the first device, and other objects in the target window can be displayed in the display mode of their previous output. Exemplarily, the display of the target window is a picture of a car speeding on the road, and the target object can be the entire picture or just the car, so that the entire target window can be displayed in the second display mode, or a part of the target window can be displayed in the second display mode.
[0069] Figure 2B FIG. 2 is a schematic diagram of displaying a target object provided by an embodiment of the present application. As Figure 2B shown, a target window 21 is displayed in the first device 20. The target window 20 includes at least one object. During the process of the first device 20 outputting based on the first data, the target object 22 and other objects 23 in the target window 21 are displayed in the first display mode on the first device 20. When the first device 20 outputs based on the second data, the target object 22 is displayed in the second display mode on the first device 20, and other objects 23 in the target window 21 are displayed in the first display mode.
[0070] In the embodiment of the present application, by changing the size of the target window as a whole, or only changing the size of the target object so that the target object is displayed in the second display mode on the first device, the target object can be displayed in the second display mode by different methods, improving the flexibility of displaying the target object.
[0071] Figure 3 FIG. 2 is a schematic flowchart of an information processing method provided by an embodiment of the present application. As Figure 3 shown, the method includes step S301 and step S302, where:
[0072] Step S301, during the process of the second device outputting the first data for screen mirroring display on the first device, obtain a second instruction; the first data is the data for the second device to perform screen mirroring display on the first device, and the second instruction is generated by the second device based on the information fed back by the first device.
[0073] Here, the second device is a device for three-dimensional display. The second device may include but is not limited to: VR device, AR device, MR device, etc.
[0074] The first device is a device for two-dimensional display. The first device may include but is not limited to one of the following: computer, mobile terminal, etc. The first data is the data for the second device to perform screen mirroring display on the first device. The second instruction is an instruction generated by the second device based on the information fed back by the first device, and the second instruction is related to the first device.
[0075] In some embodiments, the second instruction is an instruction triggered and generated by the second device based on the information fed back by the first device. It may mean that the second device directly generates the second instruction based on the information fed back by the first device, or it may mean that after receiving the information fed back by the first device, the second device first triggers the generation of the second instruction and then obtains the required information to generate the second instruction.
[0076] In some embodiments, the information fed back by the first device may include, but is not limited to: the screen mirroring parameters of the first device and the display attributes of the first device. Among them, the screen mirroring parameters (including the screen mirroring parameters of the first device and the screen mirroring parameters of the second device) may include, but are not limited to, at least one of the following: protocol name, topmost application name, display area size, etc. The protocol name may include, but is not limited to: Miracast protocol, WebRTC protocol, etc. The display attributes of the first device may include, but are not limited to, at least one of the following: the display area size of the first device, the display resolution of the first device, the display brightness of the first device, etc.
[0077] In some embodiments, the second device includes a plurality of display windows for presenting a display screen to a second object. Among them, the second object refers to an object that interacts with the second device. In some embodiments, the second object may be any suitable object, such as a person, a machine, etc. The second object and the first object may be the same object or different objects.
[0078] In some embodiments, after receiving the screen mirroring instruction, the second device may output all the plurality of display windows included in the second device to the first device. After the first device returns a selection result to the second device, the second device may output first data according to the selection result. The selection result represents the data that the first device selects to output.
[0079] In some embodiments, after receiving the screen mirroring instruction, the second device may establish a screen mirroring channel between the second device and the first device so that the second device outputs first data from the screen mirroring channel. During implementation, the screen mirroring channel includes a first sub-channel and a second sub-channel. The second device may output the first data to the first device based on the first sub-channel, and the second device may obtain the data sent by the first device based on the second sub-channel.
[0080] In some embodiments, before outputting the first data, the second device needs to first send the screen mirroring parameters of the second device to the first device through the first sub-channel and obtain the screen mirroring parameters of the first device from the first device based on the second sub-channel.
[0081] Step S302: In response to the second instruction, output second data such that the first display mode of the target object output based on the first data by the first device is different from the second display mode of the target object output based on the second data; the first device is for two-dimensional display and the second device is for three-dimensional display.
[0082] Here, the second data is the data output in the first device in response to the first instruction. The first instruction is used to adjust the first display mode of the target object output based on the first data.
[0083] In some embodiments, the display content of the second data and the first data is the same, but the display modes are different. When the first device outputs based on the second data, the target object is displayed in the first device in the second display mode. Among them, the second display mode is the display mode adjusted by the second device.
[0084] In some embodiments, the second display mode is different from the first display mode, and the second display mode can be a magnified display. In implementation, the second display mode can magnify and display the target object.
[0085] In some embodiments, a screen mirroring channel can be established between the first device and the second device so that the second device outputs the second data from this screen mirroring channel. In implementation, the screen mirroring channel includes a first sub-channel and a second sub-channel, and the second device can output the second data to the first device based on the first sub-channel.
[0086] In some embodiments, when the second device outputs the second data to the first device based on the first sub-channel, it can continuously send the screen mirroring parameters of the second device to the first device through the first sub-channel, and obtain the screen mirroring parameters of the first device from the first device based on the second sub-channel. In the case where it is detected that the screen mirroring parameters of the first device change, the second device can regenerate the second instruction and output the second data in response to the second instruction.
[0087] In the embodiments of the present application, the second device for three-dimensional display obtains a second instruction triggered by information fed back from the first device during the process of outputting the first data for screen mirroring display on the first device, and then, in response to the second instruction, outputs the second data so that when the first device outputs based on the second data, the target object is displayed in the first device in the second display mode. In this way, after the first device actively triggers the adjustment, the second device can adjust the output first data and output the second data, so that the second data output by the first device can meet the viewing expectations, timely adjust the display effect of the first device, reduce the display delay of the screen mirroring data, and at the same time, the second device can achieve adaptive adjustment of the screen mirroring data when the processing capacity of the first device is weak, improving the flexibility of data screen mirroring.
[0088] In some embodiments, when outputting the third data, the following steps may be performed:
[0089] Step S303, the second device outputs the third data; the object to which the third data is output is displayed in the first display mode, and the output module corresponding to the third data is different from the output module corresponding to the second data.
[0090] Here, the third data is the data output by the second device to the second object. In some embodiments, the third data may be multiple display windows in the second device, the third data includes at least one object, and the object to which the third data is output is displayed in the first display mode.
[0091] In some embodiments, the data output module in the second device may be a virtual camera. A virtual camera is a virtual module with data rendering ability and data adjustment ability, which can convert a virtual scene into an image that can be presented in the second device. In implementation, the second device includes at least two virtual cameras, where the first virtual camera is the output module corresponding to the third data, and the second virtual camera is the output module corresponding to the second data or the first data.
[0092] In the embodiments of the present application, the second device can output the third data and the second data through different output modules, which can adapt the mirroring data to the first device while keeping the display effect of the data in the second device unchanged, taking into account the mirroring effect of the first device while accurately outputting the third data, and improving the accuracy of data output.
[0093] In some embodiments, when outputting the second data, the following steps may be performed:
[0094] Step S321, in response to the second instruction, determine the first parameter; the first parameter is used to characterize the ratio difference between the display area of the first device and the display area of the second device, and the first parameter is determined based on the first instruction, and the first instruction is used to adjust the first display mode of the target object output based on the first data.
[0095] Here, the first parameter can be used to characterize the ratio difference between the display area of the first device and the display area of the second device. The first parameter can be of any suitable size, for example, 0.1, 0.6, etc. The display area of the second device refers to the area of the display window in the second device.
[0096] The method for determining the first parameter may include but is not limited to: the first ratio, weighting / taking the logarithm / taking the exponent, etc. of the first ratio. Among them, the first ratio is the ratio between the display area of the first device and the display area of the second device. The first ratio can be of any suitable size, for example, 0.5, 0.2, etc. In implementation, the first ratio can be used as the first parameter.
[0097] In some embodiments, the display area of the first device may be a target window, and the display area of the second device may be the screen area of a display module for two-dimensional display. Herein, the target window refers to the display window for displaying a target object. During implementation, a first parameter may be determined according to the ratio between the area of the target window and the screen area of the display module.
[0098] In some embodiments, the first instruction of the first device may include the display area of the first device. After obtaining the first instruction, the second device may obtain the display area of the second device and determine the first parameter based on the display area of the first device in the first instruction.
[0099] In some embodiments, the second device may respond to a second instruction and obtain the first parameter from the first device, thereby being able to determine the first parameter. This is because the first parameter may be determined by the first device based on the first instruction. After the first device obtains the display area of the second device, it may determine the first parameter according to the proportional difference between the display area of the first device and the display area of the second device.
[0100] Step S321: The second device adjusts the second parameter of the first data based on the first parameter and outputs second data; the second parameter includes at least one of the following: a field-of-view angle parameter, a near-plane parameter, and a far-plane parameter.
[0101] Here, the second parameter may be used to characterize the display effect of the first data. The second parameter may include but is not limited to at least one of the following: a field-of-view angle parameter, a near-plane parameter, a far-plane parameter, etc. The field-of-view angle parameter refers to the visual field range that the second object can see through the second device. In 3D graphics, the camera position may be predefined, and then the camera is used to project the near plane, so that the far plane corresponding to the near plane can be obtained. Herein, the near plane refers to the plane closer to the camera. The far plane refers to the plane farther from the camera.
[0102] In some embodiments, the field-of-view angle parameter may be of any suitable size. For example, it may be 30° (degrees), 120°, etc. The field-of-view angle parameter may include but is not limited to at least one of the following: a horizontal field-of-view angle, a vertical field-of-view angle, a diagonal field-of-view angle, etc. The near-plane parameter may include but is not limited to at least one of the following: the area of the near plane, the position of the near plane, etc. The far-plane parameter may include but is not limited to at least one of the following: the area of the far plane, the position of the far plane, etc.
[0103] In some embodiments, since the first parameter is used to characterize the proportional difference between the display area of the first device and the display area of the second device, the second device may proportionally enlarge or reduce the second parameter according to the first parameter. Thus, after adjusting the second parameter of the first data, second data is output.
[0104] In the embodiments of the present application, the second device may determine a first parameter based on a first instruction in response to a second instruction, and then adjust a second parameter of the first data based on the first parameter to output second data, and can adaptively adjust the output screen mirroring data in the second device, improving the accuracy of the output of the screen mirroring data.
[0105] In some embodiments, when outputting the first data, the following steps may be performed:
[0106] Step S304, adjust the data to be screen-mirrored based on a preset viewing habit, and output the first data.
[0107] Here, the preset viewing habit is data stored in the second device, which can represent the preferences or behavior patterns shown when viewing data. The data to be screen-mirrored is the data in the second device that needs to be screen-mirrored to the first device.
[0108] In some embodiments, since the data to be screen-mirrored is adjusted based on a preset viewing habit, the data to be screen-mirrored is different from the first data. Among them, the data to be screen-mirrored being different from the first data may mean that the display methods are different but the display contents are the same, or the display contents are different but the display methods are the same.
[0109] In some embodiments, the preset viewing habit may be determined and stored by the second device, or may be read and stored by the second device from the first device or the cloud. The source of the preset viewing habit is not limited herein.
[0110] In some embodiments, the display method of the data to be screen-mirrored may be adjusted based on a preset viewing habit to output the first data with the first display method. Or the display content of the data to be screen-mirrored may be deleted or added based on a preset viewing habit to output the first data with the first display method. For example, if the preset viewing habit represents that a first object expects to view a video at a multiple speed when viewing data, the second device may adjust the output magnification of the data to be screen-mirrored to output the first data with the first display method.
[0111] In some embodiments, the second device may determine a preset viewing habit according to historical screen-mirroring data. The second device may determine the preset viewing habit by analyzing the display method and / or display content of the historical screen-mirroring data during output. In implementation, since the historical screen-mirroring data is in an updated state, the preset viewing habit may be updated when the historical screen-mirroring data is updated.
[0112] Step S305: Based on the second input information obtained by the second device, adjust the data to be cast and displayed, and output the first data; the second input information is generated from biometric information detected by an input device or the second device.
[0113] Here, the second input information is information generated by the second device from biometric information detected by an input device or the second device. The input device may include, but is not limited to, one of the following: remote control, handle, rocker, mouse, etc. The biometric information includes at least one of the following: facial information, gesture information.
[0114] In some embodiments, the input device may be connected to the second device in a wired connection manner through a connection line or a wireless connection manner such as Bluetooth, so that the second device can detect the second input information through the connected input device. Alternatively, the second device may be equipped with the input device, so that the second device can detect the second input information through the equipped input device. This application does not limit the connection manner between the input device and the second device. At the same time, it should be noted that after the input device is connected to the second device, the input device belongs to the second device.
[0115] In some embodiments, the second device may parse the biometric information to obtain a parsing result, and adjust the data to be cast and displayed according to the parsing result, and output the first data. During implementation, the biometric information may be parsed through a deep neural network. The trained deep neural network has a feature extraction module and a classifier, and can extract features such as HOG and SIFT of the biometric information through the feature extraction module, and then classify the extracted features through the classifier, so as to parse the biometric information. Among them, the classifier may include, but is not limited to: decision tree, random forest, etc.
[0116] In some embodiments, according to a predefined communication protocol, the second input information may be converted into an internal format that the second device can process, and then through preprocessing steps such as digitizing, filtering, and amplifying the second input information, and performing a logical judgment on the preprocessed second input information to parse the second input information to obtain a parsing result, and then adjust the data to be cast and displayed based on the parsing result, and output the first data.
[0117] Exemplarily, if the parsing result of the second input information is to intercept part of the data in the data to be cast and displayed, the data to be cast and displayed may be intercepted, so as to obtain and output the first data. If the parsing result of the second input information is to magnify the data to be cast and displayed, the data to be cast and displayed may be magnified, so as to obtain and output the first data.
[0118] In the embodiments of the present application, before outputting the first data, the data to be screen-cast and displayed can be adjusted by using a preset viewing habit or second input information obtained by a second device, so as to output the first data, reducing the possibility that the display effect of the first data does not meet the viewing expectation, thereby reducing the computing resources required for adjusting the screen-cast data multiple times and improving the efficiency of outputting the screen-cast data.
[0119] In some embodiments, when the second instruction is obtained, the following steps can be executed:
[0120] Step S306, when the first device obtains the first instruction, the second device obtains the second instruction to output the second data in response to the second instruction; the first instruction is generated by the first device when the display effect of the target object does not meet the viewing expectation.
[0121] Here, when the display effect of the target object does not meet the viewing expectation, the first device generates the first instruction. The second instruction is triggered and generated by the second device based on the information fed back by the first device.
[0122] In some embodiments, the first device can obtain the first instruction in response to the received first input information; the first input information is generated by an input device or biometric information detected by the first device, and the biometric information includes at least one of the following: facial information, gesture information. The first device receiving the first input information can indicate that the display effect of the target object does not meet the viewing expectation.
[0123] In some embodiments, the display effect of the target object not meeting the viewing expectation means that the display of the target object on the first device does not conform to the viewing expectation of the first object. The display effect of the target object not meeting the viewing expectation can be that the target object is too small to be easily viewed, or that the target object is too large and only part of the content is displayed. Exemplarily, the target object can be a cartoon character, and the target object is displayed in the upper left corner of the display area of the first device and the display screen is very small, which can be considered that the display effect of the target object does not meet the viewing expectation.
[0124] In some embodiments, the second device can communicate with the first device continuously through a screen-casting channel. During implementation, the screen-casting channel includes a first sub-channel and a second sub-channel. The second device can continuously monitor through the first sub-channel whether the first device obtains the first instruction, and the second device can obtain the first instruction of the first device based on the second sub-channel, so that the second device can obtain the second instruction when the first device obtains the first instruction.
[0125] In some embodiments, the second device can output the second data in response to the second instruction, so that the first display mode of the target object based on the first data output by the first device is different from the second display mode of the target object based on the second data output.
[0126] In the embodiments of the present application, a first instruction is generated only when the display effect of the target object does not meet the viewing expectation, so that the second device obtains a second instruction and outputs second data when the first device obtains the first instruction, while reducing the computing resources used by the second device and maintaining the accuracy of the screen mirroring data output.
[0127] In some embodiments, when determining the data to be displayed by screen mirroring, any one of the following steps may be performed:
[0128] Step S307, determining the data to be displayed by screen mirroring from the data of the second device based on the gaze area detected by the second device.
[0129] Here, the gaze area refers to the visual focus area when interacting with the data in the second device. The data of the second device may be the third data output by the second device.
[0130] In some embodiments, the gaze area may be the gaze area of the second object. The gaze area of the second object refers to the visual focus area when the second object interacts with the output third data. The second device may be equipped with an eye tracking device, and the eye tracking device may detect the gaze area of the second object through eye tracking technology.
[0131] In some embodiments, the second device may select the object in the gaze area from the data of the second device based on the detected gaze area, and use the object in the gaze area as the data to be displayed by screen mirroring to determine the data to be displayed by screen mirroring from the data of the second device.
[0132] Step S308, determining a target window from at least one display window of the second device to determine the data to be displayed by screen mirroring based on the target window.
[0133] Here, at least one display window of the second device is used to output third data and present a display screen to the second object. The target window is a display window for displaying at least one object. In some embodiments, the at least one object includes a target object. The number of target objects is at least one.
[0134] In some embodiments, a display window that frequently changes within a preset time period may be detected, and then the display window that frequently changes is used as the target window to determine the target window from at least one display window of the second device. The preset time period may be any suitable duration, for example, 1 hour, 30 min (minutes), etc. In implementation, the change situation of the display window within the preset time period may be detected by the pixel color change ratio.
[0135] In some embodiments, the display windows marked by the second object can be filtered from at least one display window of the second device, and then the display window marked by the second object can be used as the target window to determine the target window from at least one display window of the second device.
[0136] In some embodiments, at least one display window of the second device has a stacking relationship. The topmost display window can be filtered from at least one display window, and then the topmost display window can be used as the target window to determine the target window from at least one display window of the second device.
[0137] In some embodiments, after determining the target window, the target window can be used as the data to be projected and displayed, or the target window can be adjusted, and the adjusted target window can be used as the data to be projected and displayed. In implementation, the target window can be adjusted according to the preset viewing habits or the second input information obtained by the second device.
[0138] Step S309: Determine the data to be projected and displayed from the data of the second device based on the third input information obtained by the second device through the input device.
[0139] Here, the third input information is the information generated by the second device through the input device or the biometric information detected by the second device. The input device can include, but is not limited to, one of the following: remote control, handle, joystick, mouse, etc. In some embodiments, the third input information and the second input information can be the same information or different information.
[0140] In some embodiments, the biometric information can include, but is not limited to: the facial information of the second object, the gesture information of the second object, the body language of the second object, etc. The body language of the second object can be obtained by means of pose estimation. In implementation, pose estimation can be achieved through OpenPose. OpenPose is a popular open-source library that can be used for real-time multi-person pose estimation from images. OpenPose can detect 18 key points on the human body, including joints such as the head, elbows, wrists, knees, and ankles.
[0141] In some embodiments, the expression intention of the second object can be analyzed through the third input information, and then the data pointed to by the expression intention of the second object can be used as the data to be projected and displayed. The expression intention of the second object refers to the purpose or idea conveyed by the behavioral characteristics of the second object. In implementation, the expression intention of the second object can be determined through the body language of the second object. For example, if the second object continuously selects a certain display window through the handle within a certain period of time, it can be determined that the expression intention of the second object is to use the display window as the data to be projected and displayed.
[0142] In some embodiments, a correspondence relationship can be established between input information and data. After the second device obtains third input information through an input device, it can determine the data to be cast and displayed from the data of the second device according to the correspondence relationship.
[0143] In the embodiments of the present application, by using the gaze area detected by the second device, the target window of the second device, and the third input information obtained by the second device through the input device to determine the data to be cast and displayed from the data of the second device, multiple different processes can be used to determine the data to be cast and displayed, improving the compatibility of the information processing method and broadening the usage scenarios of the information processing method.
[0144] The following describes the application of the information processing method provided in the embodiments of the present application in an actual scenario, taking the projection from a 3D glasses terminal (corresponding to the aforementioned second device) to a 2D personal computer (PC) terminal (corresponding to the aforementioned first device) as an example.
[0145] The first device for 3D display can project the display screen to the second device for 2D display. In the related art, when the first device projects to the second device, the displayed screen on the second device is much smaller than the display area of the second device, and the displayed screen does not meet the viewing expectations. At the same time, even if you want to adjust the displayed screen, you can only manually adjust it on the second device, and it is impossible to adaptively adjust the display screen projected by the first device, resulting in problems such as low accuracy and poor flexibility.
[0146] The embodiments of the present application provide an information processing method. During the output process of the first data by the first device for 2D display, a first instruction for adjusting the first display mode of the target object based on the output of the first data is obtained. Then, in response to the first instruction, second data is obtained, so that when the first device outputs based on the second data, the target object is displayed in the second display mode on the first device. In this way, after the first device receives the trigger of the first data for projection, it can actively trigger the adjustment and receive the second data output by the second device, so that the second data output by the first device can meet the viewing expectations, timely adjust the display effect of the first device, reduce the display delay of the projected data, and at the same time, the first device only needs to generate an instruction to receive the adjusted projected data, and can achieve the adaptive adjustment of the projected data when the processing power of the first device is weak, improving the flexibility of data projection.
[0147] Figure 4 Schematic diagram of the implementation process of an information processing method provided by an embodiment of the present application Figure 3 , as Figure 4 shown, the method includes steps S401 to S408, where:
[0148] Step S401: The 3D glasses terminal obtains the user's fixation area.
[0149] Step S402: Based on the detected user's fixation area, the 3D glasses terminal determines the data to be projected and displayed from the data of the 3D glasses terminal.
[0150] Step S403: The 3D glasses terminal takes the data to be projected and displayed as the first data, and outputs the first data to the 2D PC terminal through the projection channel.
[0151] Step S404: The 2D PC terminal determines the proportionality coefficient (corresponding to the aforementioned first parameter) based on the area of the display window of the first data and the screen area of the 2D PC terminal.
[0152] Step S405: The 2D PC terminal sends the proportionality coefficient to the 3D glasses terminal.
[0153] Step S406: The 3D glasses terminal adjusts the second parameter of the first data based on the proportionality coefficient to obtain the second data.
[0154] Step S407: The 3D glasses terminal outputs the second data to the 2D PC terminal through the projection channel.
[0155] Step S408: The 2D PC terminal outputs the second data.
[0156] Figure 5 It is a flowchart of an information processing method provided by an embodiment of the present application. As Figure 5 shown, where:
[0157] The 3D glasses terminal 51 includes at least one display window, and corresponding applications run in each display window. Select the topmost display window 511 from the at least one display window, take the topmost display window 511 as the first data, and output the first data to the 2D PC terminal 53 through the first sub-channel 52 based on the first projection protocol 521. After the 2D PC terminal 53 calculates the proportionality coefficient, it sends the proportionality coefficient to the 3D glasses terminal 51 through the second sub-channel 54 based on the second projection protocol 541. The 3D glasses terminal 51 adjusts the first data based on the proportionality coefficient and outputs the second data to the 2D PC terminal 53.
[0158] As can be seen from the above, during the projection process, the 3D glasses terminal and the 2D PC terminal can interact to enable the 3D glasses terminal to adjust the real-time projection data stream, thereby changing the projection effect of the 2D PC terminal, realizing self-adaptation during projection, and improving the accuracy and flexibility of the projection data output.
[0159] Based on the above embodiments, an embodiment of the present application further provides an electronic device. Figure 6 It is a schematic diagram of the composition structure of an electronic device provided by an embodiment of the present application. As Figure 6As shown, the electronic device 600 includes:
[0160] A display module 601 for two-dimensional display;
[0161] A processor 602, which is configured to obtain a first instruction during the process of outputting based on first data; the first instruction is used to adjust the first display mode of a target object output based on the first data, and the first data is data for screen mirroring display of a second device on the electronic device;
[0162] The processor 602 is further configured to obtain second data in response to the first instruction, so that when the electronic device outputs based on the second data, the target object is displayed in the electronic device in a second display mode.
[0163] Here, the display module is a display tool that displays input information on the screen. The display module can be any suitable component, for example, a liquid crystal display (LCD), an organic light-emitting diode display (OLED), a mini LED display, a micro LED display, etc.
[0164] The electronic device may include, but is not limited to, one of the following: a computer, a mobile terminal, etc. The first data is data output in the electronic device. The first instruction is an instruction for triggering adjustment of the display mode of the object for data output. The method for obtaining the first instruction may include, but is not limited to: the electronic device obtains the first instruction based on a received target operation, the electronic device automatically generates the first instruction based on detected target parameters, etc.
[0165] The second data is data output in the electronic device in response to the first instruction. In some embodiments, after obtaining the first instruction, the electronic device may send the first instruction to the second device, so that the second device adjusts the first data based on the first instruction, thereby changing the data for screen mirroring display of the second device on the electronic device to the second data, so that the electronic device obtains the second data.
[0166] In some embodiments, the display content of the second data and the first data is the same, but the display mode is different. When the first device outputs based on the second data, the target object is displayed in the first device in a second display mode. Among them, the second display mode is a display mode adjusted by the second device.
[0167] In an embodiment of the present application, during the process of outputting first data, an electronic device obtains a first instruction for adjusting a first display mode of a target object based on the output of the first data. Then, in response to the first instruction, the electronic device obtains second data, so that when the electronic device outputs based on the second data, the target object is displayed in the electronic device in the second display mode. In this way, after the electronic device receives the first data and triggers screen mirroring, it can actively trigger the adjustment and receive the second data output by the second device, so that the second data output by the electronic device can meet the viewing expectations, timely adjust the display effect of the electronic device, reduce the display latency of the screen-mirrored data. At the same time, the electronic device only needs to generate an instruction to receive the adjusted screen-mirrored data, and can achieve the adaptive adjustment of the screen-mirrored data when the processing capacity of the electronic device is weak, improving the flexibility of data screen mirroring.
[0168] In some embodiments, the processor 602 is further configured to obtain a first instruction in response to the received first input information; the first input information is generated by biometric information detected by an input device or a first device, and the biometric information includes at least one of the following: facial information, gesture information.
[0169] In some embodiments, a target object is displayed in the target window, and the processor 602 is further configured to display the target window in the display module in the second display mode, so that the target object is displayed in the display module in the second display mode; display the target object in the display module in the second display mode, and other objects in the target window are displayed in the first display mode.
[0170] The description of the above embodiments of the electronic device is similar to the description of the above method embodiments, and has beneficial effects similar to those of the method embodiments. For technical details not disclosed in the embodiments of the electronic device of the present application, please refer to the description of the method embodiments of the present application for understanding.
[0171] It should be pointed out here that: the above descriptions of the respective embodiments tend to emphasize the differences between the respective embodiments, and their similarities or similarities can be referred to each other. The descriptions of the above embodiments of the device, storage medium, computer program, and computer program product are similar to the descriptions of the above method embodiments, and have beneficial effects similar to those of the method embodiments. For technical details not disclosed in the embodiments of the device, storage medium, computer program, and computer program product of the present application, please refer to the description of the method embodiments of the present application for understanding.
[0172] It should be noted that in the embodiments of the present application, if the above method is implemented in the form of software function modules and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiments of the present application, in essence, or the part that contributes to the related technology, can be embodied in the form of a software product. The software product is stored in a storage medium and includes several instructions for causing an electronic device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROMs), magnetic disks, or optical discs that can store program codes. In this way, the embodiments of the present application are not limited to any specific combination of hardware and software.
[0173] The embodiments of the present application provide an electronic device, including a memory and a processor. The memory stores a computer program that can run on the processor, and when the processor executes the computer program, the above method is implemented.
[0174] The embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the above method is implemented. The computer-readable storage medium can be transient or non-transient.
[0175] The embodiments of the present application provide a computer program product. The computer program product includes a non-transient computer-readable storage medium storing a computer program. When the computer program is read and executed by a computer, some or all of the steps in the above method are implemented. The computer program product can be specifically implemented in a manner of hardware, software, or a combination thereof. In an optional embodiment, the computer program product is specifically embodied as a computer storage medium. In another optional embodiment, the computer program product is specifically embodied as a software product, such as a software development kit (SDK), etc.
[0176] It should be noted that Figure 7 is a schematic diagram of the hardware entity of an electronic device provided by the embodiments of the present application. As shown in the figure, the hardware entity of the electronic device 700 includes: a processor 701, a communication interface 702, and a memory 703, where:
[0177] The processor 701 generally controls the overall operation of the electronic device 700.
[0178] The communication interface 702 can enable the electronic device to communicate with other terminals or servers through a network.
[0179] The memory 703 is configured to store instructions and applications executable by the processor 701, and can also cache data to be processed or already processed by the processor 701 and each module in the electronic device 700 (for example, image data, audio data, voice communication data, and video communication data), and can be implemented by flash memory (FLASH) or random access memory (Random Access Memory, RAM). Data transmission can be carried out between the processor 701, the communication interface 702, and the memory 703 through the bus 704.
[0180] It should be noted here that the descriptions of the above storage medium and device embodiments are similar to those of the above method embodiments and have similar beneficial effects to the method embodiments. For the technical details not disclosed in the storage medium and device embodiments of the present application, please refer to the descriptions of the method embodiments of the present application for understanding.
[0181] It should be understood that the term "one embodiment" or "an embodiment" mentioned throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of the present application. Therefore, the appearances of "in one embodiment" or "in an embodiment" throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It should be understood that in various embodiments of the present application, the order numbers of the above steps / processes do not mean the sequence of execution. The execution order of each step / process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application. The serial numbers of the embodiments of the present application are only for description and do not represent the advantages or disadvantages of the embodiments.
[0182] It should be noted that in this article, the term "including", "comprising", or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article, or device including a series of elements includes not only those elements but also other elements not explicitly listed, or further includes elements inherent to such process, method, article, or device. Without further limitation, the element defined by the statement "including one..." does not exclude the existence of another identical element in the process, method, article, or device including the element.
[0183] In several embodiments provided by the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed with each other can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical, or other forms.
[0184] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units; they can be located in one place or distributed to multiple network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0185] In addition, each functional unit in the embodiments of the present application can be all integrated in a processing unit, or each unit can be separately used as a unit, or two or more units can be integrated in a unit; the above-mentioned integrated units can be implemented in the form of hardware, or in the form of a combination of hardware and software functional units.
[0186] Those of ordinary skill in the art can understand that all or part of the steps for implementing the above method embodiments can be completed by hardware related to program instructions. The foregoing program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps including the above method embodiments; and the foregoing storage medium includes: various media such as removable storage devices, read-only memories, magnetic disks, or optical discs that can store program codes.
[0187] Alternatively, if the above-mentioned integrated units of the present application are implemented in the form of software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the related technology, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in the embodiments of the present application. And the foregoing storage medium includes: various media such as removable storage devices, ROM, magnetic disks, or optical discs that can store program codes.
[0188] As described above, this is only the implementation mode of the present application. However, the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of changes or substitutions, which should all be covered within the protection scope of the present application.
Claims
1. An information processing method, the method comprising: During the process of the first device outputting based on the first data, a first instruction is obtained; The first instruction is used to adjust the first display mode of the target object output based on the first data, and the first data is the data that the second device performs screen mirroring display on the first device; In response to the first instruction, second data is obtained, so that when the first device outputs based on the second data, the target object is displayed in the second display mode in the first device; The first device is used for two-dimensional display, and the second device is used for three-dimensional display.
2. The method according to claim 1, wherein obtaining the first instruction comprises: In response to the received first input information, the first instruction is obtained; the first input information is generated by input device or biometric information detected by the first device, and the biometric information includes at least one of the following: facial information, gesture information.
3. The method according to claim 1, wherein the target object is displayed in the target window, and the method further comprises one of the following: The target window is displayed in the second display mode in the first device, so that the target object is displayed in the second display mode in the first device; The target object is displayed in the second display mode in the first device, and other objects in the target window are displayed in the first display mode.
4. An information processing method, the method comprising: During the process of the second device outputting the first data for screen mirroring display on the first device, a second instruction is obtained; The first data is the data that the second device performs screen mirroring display on the first device, and the second instruction is triggered and generated by the second device based on the information fed back by the first device; In response to the second instruction, second data is output, so that the first display mode of the target object output based on the first data by the first device is different from the second display mode of the target object output based on the second data; The first device is used for two-dimensional display, and the second device is used for three-dimensional display.
5. The method according to claim 4, the method further comprising: The second device outputs third data; The object output of the third data is displayed in the first display mode, and the output module corresponding to the third data is different from the output module corresponding to the second data.
6. The method according to claim 4, wherein in response to the second instruction, outputting the second data comprises: In response to the second instruction, a first parameter is determined; The first parameter is used to characterize the ratio difference between the display area of the first device and the display area of the second device, and the first parameter is determined based on the first instruction, and the first instruction is used to adjust the first display mode of the target object output based on the first data; The second device adjusts the second parameter of the first data based on the first parameter and outputs the second data; the second parameter includes at least one of the following: field of view angle parameter, near plane parameter, far plane parameter.
7. The method according to claim 4, wherein the method further comprises at least one of the following: Adjusting the data to be cast and displayed based on a preset viewing habit, and outputting the first data; Adjusting the data to be cast and displayed based on second input information obtained by the second device, and outputting the first data; the second input information is generated by biological information detected by an input device or the second device.
8. The method according to claim 7, wherein the method further comprises: When the first device obtains a first instruction, the second device obtains the second instruction to output the second data in response to the second instruction; The first instruction is generated by the first device when the display effect of the target object does not meet the viewing expectation.
9. The method according to claim 7, wherein the method further comprises at least one of the following: Determining the data to be cast and displayed from the data of the second device based on the gaze area detected by the second device; Determining a target window from at least one display window of the second device, and determining the data to be cast and displayed based on the target window; Determining the data to be cast and displayed from the data of the second device based on third input information obtained by the second device through the input device.
10. An electronic device, comprising: A display module for two-dimensional display; A processor, which is configured to obtain a first instruction during the process of outputting based on the first data; The first instruction is used to adjust the first display mode of the target object output based on the first data, and the first data is the data cast and displayed by the second device on the electronic device; The processor is further configured to obtain second data in response to the first instruction, so that when the electronic device outputs based on the second data, the target object is displayed in a second display mode on the electronic device.