Screen projection reading method, electronic device and readable storage medium
By detecting the screen recording and dynamically adjusting the display parameters, the problem of poor online reading experience is solved, screen projection display adapted to the reading content is realized, and the reading experience is improved.
Patent Information
- Application Number
- CN202210192143.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-28
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2042-02-28
AI Technical Summary
When reading online, the mobile terminal screen is smaller, making it difficult to capture the details of complex content, which affects the reading experience.
By obtaining the screen recording screen, detect whether it is a reading content screen, obtain the corresponding reading display parameters, including resolution, page turning speed and brightness adjustment mode, dynamically adjust the display parameters to adapt to the content type, and project the screen to the display device.
It improves the online reading experience, ensures that the display device provides suitable reading display parameters, captures complex content details, and enhances the user experience.
Smart Images

Figure CN114564168B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of screen projection technology, and in particular to a screen projection reading method, an electronic device and a readable storage medium. Background Art
[0002] With the rapid development of science and technology, online reading has become more and more mature. At present, online reading uses the method of displaying reading content on the mobile terminal screen. During the viewing process, users need to use both hands to fix the mobile terminal screen in front of the viewing angle. In addition, due to the small screen of the mobile terminal, when reading complex content, it is easy to ignore the details of the content, which affects the online reading experience. Summary of the invention
[0003] The main purpose of this application is to provide a screen projection reading method, an electronic device and a readable storage medium, aiming to solve the technical problem of poor online reading experience in the prior art.
[0004] To achieve the above-mentioned purpose, the present application provides a screen projection reading method, which comprises:
[0005] Acquire the screen recording image, and detect whether the screen recording image is a reading content image;
[0006] If the screen recording screen is a reading content screen, obtaining a reading display parameter corresponding to the reading content screen;
[0007] The reading content picture and the reading display parameters are sent to the display device, so that the display device displays the reading content picture according to the reading display parameters in a reading mode.
[0008] Optionally, the step of obtaining the reading display parameters corresponding to the reading content screen includes:
[0009] According to the reading content type corresponding to the reading content screen, obtaining the content complexity of the reading content screen;
[0010] The resolution and page turning speed corresponding to the reading content screen are determined according to the complexity of the content.
[0011] Optionally, the reading content types include e-books, comics and educational content.
[0012] The step of obtaining the content complexity of the reading content screen according to the reading content type corresponding to the reading content screen comprises:
[0013] When the reading content type is an e-book, determining the content complexity of the reading content screen by acquiring the font size of the e-book;
[0014] When the reading content type is a comic, determining the complexity of the content of the reading content screen by obtaining the blank space degree of the comic;
[0015] When the reading content type is educational content, the complexity of the content of the reading content screen is determined by acquiring the font and illustration size of the educational content.
[0016] Optionally, the step of determining the page turning speed corresponding to the reading content screen according to the complexity of the content includes:
[0017] Obtaining a preset page turning speed threshold of the reading content screen;
[0018] Determining a correction coefficient corresponding to the reading content screen according to the complexity of the content;
[0019] The page turning speed corresponding to the reading content screen is determined according to the correction coefficient and the preset page turning speed threshold.
[0020] Optionally, the step of obtaining the reading display parameters corresponding to the reading content screen includes:
[0021] Obtaining the display color brightness of the reading content screen;
[0022] According to the display color brightness, a brightness adjustment mode corresponding to the reading content screen is determined.
[0023] Optionally, the brightness adjustment mode includes a black and white mode and an eye protection mode, and the step of determining the brightness adjustment mode corresponding to the reading content screen according to the display color brightness includes:
[0024] Determining whether there is a color picture on the reading content screen;
[0025] If yes, determining that the brightness adjustment mode corresponding to the reading content screen is an eye protection mode;
[0026] If not, it is determined that the brightness adjustment mode corresponding to the reading content screen is the black and white mode.
[0027] Optionally, the step of detecting whether the screen recording screen is a content reading screen includes:
[0028] Determine whether the recorded screen is a static screen;
[0029] If yes, determining that the screen recording screen is a reading content screen;
[0030] If not, it is determined that the screen recording image is not a reading content image.
[0031] To achieve the above-mentioned purpose, the present application also provides a screen projection reading device, the screen projection reading device comprising:
[0032] A detection module is used to obtain a screen recording image and detect whether the screen recording image is a reading content image;
[0033] A sending module, configured to obtain reading display parameters corresponding to the reading content screen if the screen recording screen is a reading content screen;
[0034] The screen projection module is used to send the reading content screen and the reading display parameters to the display device, so that the display device displays the reading content screen according to the reading display parameters in the reading mode.
[0035] Optionally, in the step of obtaining the reading display parameters corresponding to the reading content screen, the sending module is further used to:
[0036] According to the reading content type corresponding to the reading content screen, obtaining the content complexity of the reading content screen;
[0037] The resolution and page turning speed corresponding to the reading content screen are determined according to the complexity of the content.
[0038] Optionally, the reading content types include e-books, comics and educational content.
[0039] In the step of acquiring the content complexity of the reading content screen according to the reading content type corresponding to the reading content screen, the sending module is further used to:
[0040] When the reading content type is an e-book, determining the content complexity of the reading content screen by acquiring the font size of the e-book;
[0041] When the reading content type is a comic, determining the complexity of the content of the reading content screen by obtaining the blank space degree of the comic;
[0042] When the reading content type is educational content, the complexity of the content of the reading content screen is determined by acquiring the font and illustration size of the educational content.
[0043] Optionally, in the step of determining the page turning speed corresponding to the reading content screen according to the complexity of the content, the sending module is further used to:
[0044] Obtaining a preset page turning speed threshold of the reading content screen;
[0045] Determining a correction coefficient corresponding to the reading content screen according to the complexity of the content;
[0046] The page turning speed corresponding to the reading content screen is determined according to the correction coefficient and the preset page turning speed threshold.
[0047] Optionally, in the step of obtaining the reading display parameters corresponding to the reading content screen, the sending module is further used to:
[0048] Obtaining the display color brightness of the reading content screen;
[0049] According to the display color brightness, a brightness adjustment mode corresponding to the reading content screen is determined.
[0050] Optionally, the brightness adjustment mode includes a black and white mode and an eye protection mode. In the step of determining the brightness adjustment mode corresponding to the reading content screen according to the display color brightness, the sending module is further used to:
[0051] Determining whether there is a color picture on the reading content screen;
[0052] If yes, determining that the brightness adjustment mode corresponding to the reading content screen is an eye protection mode;
[0053] If not, it is determined that the brightness adjustment mode corresponding to the reading content screen is the black and white mode.
[0054] Optionally, in the step of detecting whether the screen recording screen is a reading content screen, the detection module is further used to:
[0055] Determine whether the recorded screen is a static screen;
[0056] If yes, determining that the screen recording screen is a reading content screen;
[0057] If not, it is determined that the screen recording image is not a reading content image.
[0058] In addition, to achieve the above-mentioned purpose, the present invention also provides a screen projector, which includes: a screen projection transmitter and a screen projection receiver, the screen projection transmitter is used to connect to a first electronic device, the screen projection receiver is used to connect to a second electronic device, and the screen projection transmitter and the screen projection receiver transmit data via a wireless network; the screen projector also includes: a memory, a processor, and a screen projection reading program stored in the memory and executable on the processor, and the screen projection reading program implements the steps of the above-mentioned screen projection reading method when executed by the processor.
[0059] The present application also provides a computer-readable storage medium, on which is stored a program for implementing the screen projection reading method. When the program of the screen projection reading method is executed by a processor, the steps of the screen projection reading method as described above are implemented.
[0060] The present application provides a screen projection reading method, an electronic device and a readable storage medium. Compared with the method of displaying reading content on a mobile terminal screen adopted in the prior art, the present application obtains a screen recording screen to detect whether the screen recording screen is a reading content screen; if the screen recording screen is a reading content screen, the reading display parameters corresponding to the reading content screen are obtained; the reading content screen and the reading display parameters are sent to the display device, so that the display device displays the reading content screen according to the reading display parameters in the reading mode, thereby realizing the projection of the reading content screen to the display device, and dynamically adjusting the reading display parameters according to the reading content screen, so that a suitable reading display parameter can always be provided for the display device, thereby overcoming the technical defect that the complex reading content details cannot be captured when the reading content is displayed on the mobile terminal screen, thereby improving the online reading experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0062] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0063] Figure 1 This is a schematic diagram of a screen projection connection scenario of an embodiment of the screen projection reading method of the present application;
[0064] Figure 2 A schematic diagram of the structure of an electronic device of a hardware operating environment involved in the screen projection reading method in an embodiment of the present application;
[0065] Figure 3 This is a flow chart of an embodiment of the screen projection reading method of the present application;
[0066] Figure 4 Schematic diagram of the device structure involved in the screen projection reading method in the embodiment of the present application.
[0067] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0068] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work belong to the scope of protection of the present invention.
[0069] Reference Figure 1 , Figure 1 This is a schematic diagram of screen projection connection involved in an embodiment of the present invention.
[0070] like Figure 1 As shown, the screen projector includes: a screen projection transmitter and / or a screen projection receiver, wherein the first electronic device is a screen recording device, which can be a personal computer, or a mobile terminal device such as a smart phone, a tablet computer, an e-book reader, a portable computer, etc., and the second electronic device is a display device, which can be a TV, or a display device with a display function such as a monitor or a projector.
[0071] In some embodiments, the first electronic device is connected to the projection transmitter and / or projection receiver via a wired or wireless network for data transmission and interaction; the projection transmitter is connected to the projection receiver via a wireless network for data transmission and interaction, or the projection transmitter is connected to the second electronic device via a wireless network for data transmission and interaction; the projection receiver is connected to the second electronic device via a wired or wireless network for data transmission and interaction. In an optional implementation, the wired connection between the projection receiver and the second electronic device and between the projection transmitter and the first electronic device may include wired connections based on HDMI (High Definition Multimedia Interface), USB (Universal Serial Bus), DP (DisplayPort) and VGA (Video Graphics Array). The wireless communication between the first electronic device and the projection transmitter and projection receiver, and between the second electronic device and the projection transmitter and projection receiver may include wireless communications such as Bluetooth, wireless broadband (Wi-Fi), and infrared communication.
[0072] Therefore, the possible connection modes for implementing screen projection between the first electronic device, the screen projection transmitter, the screen projection receiver and the second electronic device include at least:
[0073] (1) The screen projection transmitter is connected to the screen projection receiver, and the screen of the first electronic device is finally projected to the second electronic device through the screen projection transmitter and the screen projection receiver;
[0074] (2) The projection transmitter is wirelessly connected to the second electronic device, and the screen of the first electronic device is projected to the second electronic device through the projection transmitter. At this time, the projection transmitter is connected to the wireless communication module built into the second electronic device through a wireless network;
[0075] (3) The first electronic device is connected to a screen projection receiver, and the screen of the first electronic device is projected to the second electronic device through the screen projection receiver.
[0076] Reference Figure 2 , Figure 2 The electronic device structure diagram of the hardware operating environment involved in the screen projection reading method in the embodiment of the present application. The electronic device in the embodiment of the present disclosure may include but is not limited to fixed terminals such as televisions, screen projection receivers, mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), digital TVs, desktop computers, etc.
[0077] like Figure 2 As shown, the electronic device also includes: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a network interface 1003, and a memory 1004. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The network interface 1003 may optionally include a standard wired interface, a wireless interface (such as a wireless fidelity (Wireless-Fidelity, WI-FI) interface). The memory 1004 can be a high-speed random access memory (Random Access Memory, RAM) memory, or it can be a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 1004 can also be a storage device independent of the aforementioned processor 1001.
[0078] Optionally, the terminal may also include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like. Among them, sensors include light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen according to the brightness of the ambient light, and the proximity sensor may turn off the display screen and / or backlight when the mobile terminal is moved to the ear. As a type of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; of course, the mobile terminal may also be configured with other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which will not be repeated here.
[0079] Those skilled in the art will understand that Figure 2 The structure shown in the figure does not constitute a limitation on the operating device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0080] like Figure 2 As shown, the memory 1004 as a storage medium may include an operating system, a data storage module, a network communication module, and a screen projection reading program.
[0081] exist Figure 2 In the running device shown, the network interface 1003 is mainly used for data communication with other devices. The processor 1001 and the memory 1004 in the running device of the present invention can be set in the running device, and the running device calls the screen projection reading program stored in the memory 1004 through the processor 1001, and performs the following operations:
[0082] Acquire the screen recording image, and detect whether the screen recording image is a reading content image;
[0083] If the screen recording screen is a reading content screen, obtaining a reading display parameter corresponding to the reading content screen;
[0084] The reading content picture and the reading display parameters are sent to the display device, so that the display device displays the reading content picture according to the reading display parameters in a reading mode.
[0085] Further, the processor 1001 may call the screen projection reading program stored in the memory 1004, and further perform the following operations:
[0086] According to the reading content type corresponding to the reading content screen, obtaining the content complexity of the reading content screen;
[0087] The resolution and page turning speed corresponding to the reading content screen are determined according to the complexity of the content.
[0088] Further, the processor 1001 may call the screen projection reading program stored in the memory 1004, and further perform the following operations:
[0089] When the reading content type is an e-book, determining the content complexity of the reading content screen by acquiring the font size of the e-book;
[0090] When the reading content type is a comic, determining the complexity of the content of the reading content screen by obtaining the blank space degree of the comic;
[0091] When the reading content type is educational content, the complexity of the content of the reading content screen is determined by acquiring the font and illustration size of the educational content.
[0092] Further, the processor 1001 may call the screen projection reading program stored in the memory 1004, and further perform the following operations:
[0093] Obtaining a preset page turning speed threshold of the reading content screen;
[0094] Determining a correction coefficient corresponding to the reading content screen according to the complexity of the content;
[0095] The page turning speed corresponding to the reading content screen is determined according to the correction coefficient and the preset page turning speed threshold.
[0096] Further, the processor 1001 may call the screen projection reading program stored in the memory 1004, and further perform the following operations:
[0097] Obtaining the display color brightness of the reading content screen;
[0098] According to the display color brightness, a brightness adjustment mode corresponding to the reading content screen is determined.
[0099] Further, the processor 1001 may call the screen projection reading program stored in the memory 1004, and further perform the following operations:
[0100] Determining whether there is a color picture on the reading content screen;
[0101] If yes, determining that the brightness adjustment mode corresponding to the reading content screen is an eye protection mode;
[0102] If not, it is determined that the brightness adjustment mode corresponding to the reading content screen is the black and white mode.
[0103] Further, the processor 1001 may call the screen projection reading program stored in the memory 1004, and further perform the following operations:
[0104] Determine whether the recorded screen is a static screen;
[0105] If yes, determining that the screen recording screen is a reading content screen;
[0106] If not, it is determined that the screen recording image is not a reading content image.
[0107] The present application embodiment provides a screen projection reading method. In one embodiment of the screen projection reading method of the present application, refer to Figure 3 , the screen projection reading method includes:
[0108] Step S10, obtaining a screen recording image, and detecting whether the screen recording image is a reading content image;
[0109] The execution subject of this embodiment can be a screen projection transmitter or a screen projection receiver, wherein the screen projection receiver is a device for receiving screen projection, such as a television, a computer or a projector, etc. In an implementable manner, the screen projection receiver can also be a signal receiver connected to a display and / or a speaker, and the signal receiver and the display and / or the speaker can be connected by wire or wirelessly. After receiving the audio signal and image signal of the screen projection, the received audio signal and image signal of the screen projection are output through the display and / or the speaker connected to the signal receiver; the screen projection transmitter is a mobile device for sending the screen projection, such as a mobile phone, a computer or a tablet computer, etc., and the screen projection transmitter can communicate with other mobile devices through a traditional communication network or the Internet, and the screen projection transmitter and the screen projection receiver can be connected by wire or wirelessly. In an implementable manner, the screen projection transmitter can also be a signal transmitter connected to a mobile device, and the signal transmitter and the mobile device can be connected by wire or wirelessly, and the mobile device sends the required audio signal and image signal of the screen projection to the screen projection receiver through the signal transmitter. The screen projection transmitting end can be a screen recording device, or a screen recording device connected to a screen projection transmitter, and the screen projection receiving end can be a display device, or a display device connected to a screen projection receiver.
[0110] Exemplarily, step S10 includes: obtaining a screen recording image of a screen recording device, and detecting whether the screen recording image is a reading content image by determining a frame difference between adjacent frames.
[0111] Among them, in step S10, the step of receiving the reading content picture and reading display parameters sent by the screen recording device and starting the reading mode includes:
[0112] Step S11, determining whether the recorded screen is a static screen;
[0113] Step S12: if yes, determine that the recorded screen is a reading content screen;
[0114] Step S13: if not, it is determined that the recorded screen is not a reading content screen.
[0115] Exemplarily, steps S11 to S13 include: obtaining the frame difference between adjacent frames of the screen recording image, determining whether the frame difference is less than a preset frame difference threshold, and if the frame difference is less than the preset frame difference threshold, determining that the screen recording image is a static image and the screen recording image is a reading content image; if the frame difference is not less than the preset frame difference threshold, determining that the screen recording image is a dynamic image and the screen recording image is not a reading content image, wherein the preset frame difference threshold is a preset critical value of the frame difference between adjacent frames for determining that the screen recording image is a static image. Further, the content of the static image can be text; it can also be a picture; it can also be a combination of text and a picture.
[0116] Step S20, if the screen recording screen is a reading content screen, obtaining a reading display parameter corresponding to the reading content screen;
[0117] Exemplarily, step S20 includes: if the screen recording screen is a reading content screen, obtaining the content of the reading content screen, and determining the reading display parameters corresponding to the display device according to the content of the reading content screen. The reading display parameters include resolution, color temperature, brightness, and page turning speed.
[0118] Wherein, in step S20, the step of obtaining the reading display parameters corresponding to the reading content screen includes:
[0119] Step A10, obtaining the content complexity of the reading content screen according to the reading content type corresponding to the reading content screen;
[0120] Step A20, determining the resolution and page turning speed corresponding to the reading content screen according to the complexity of the content.
[0121] Exemplarily, steps A10 to A20 include: determining the content complexity of the reading content screen according to the size of the reading content screen; if the content complexity is within a preset first complexity range, setting a preset first resolution; if the content complexity is within a preset second complexity range, setting a preset second resolution; determining the page turning speed corresponding to the reading content screen according to the content complexity, wherein the content complexity is positively correlated with the corresponding resolution and the corresponding page turning speed. For example, when the preset first complexity range is 50%-100%, the preset second complexity is 0%-49%, the preset first resolution is 720P, and the preset second resolution is 360P, when the content complexity is 60%, the resolution is set to 720P; when the content complexity is 30%, the resolution is set to 360P.
[0122] Wherein, in step S20, the step of obtaining the reading display parameters corresponding to the reading content screen includes:
[0123] Step B10, obtaining the display color brightness of the reading content screen;
[0124] Step B20: determining a brightness adjustment mode corresponding to the reading content screen according to the display color brightness.
[0125] Exemplarily, steps B10 to B20 include: obtaining an RGB image of the reading content screen; obtaining an RGB value of the reading content screen based on the RGB image; obtaining the display color brightness of the recording screen by substituting the RGB value into a brightness calculation formula; and determining a brightness adjustment mode corresponding to the reading content screen based on the display color brightness.
[0126] Wherein, in step A10, the reading content types include e-books, comics, and educational content, and the step of obtaining the content complexity of the reading content screen according to the reading content type corresponding to the reading content screen includes:
[0127] Step C10, when the reading content type is an e-book, determining the content complexity of the reading content screen by acquiring the font size of the e-book;
[0128] Exemplarily, step A10 includes: when the content of the reading content screen is text, determining that the reading content screen is an e-book, and determining the content complexity of the reading content screen by obtaining the font size of the e-book, wherein the font size is positively correlated with the content complexity.
[0129] Step C20, when the reading content type is a comic, determining the complexity of the content of the reading content screen by obtaining the blank space degree of the comic;
[0130] Exemplarily, step C20 includes: when the content of the reading content screen is a combination of text embedded in a picture, the reading content screen is determined to be a comic, and the degree of blank space in the comic is determined by obtaining the percentage of the blank portion of the comic as a whole reading content screen; based on the degree of blank space in the comic, the complexity of the content of the reading content screen is determined, wherein the degree of blank space is negatively correlated with the complexity of the content.
[0131] Step C30, when the reading content type is educational content, the complexity of the content of the reading content screen is determined by obtaining the font and illustration size of the educational content.
[0132] Exemplarily, step C30 includes: when the content of the reading content screen is a combination of text and illustrations, determining that the reading content screen is educational content, extracting the font size of the text and the size of the illustration, and determining the content complexity of the reading content screen, wherein the font size is positively correlated with the content complexity; the size of the illustration is positively correlated with the content complexity.
[0133] Among them, in step A10, the step of determining the page turning speed corresponding to the reading content screen according to the complexity of the content includes:
[0134] Step D10, obtaining a preset page turning speed threshold of the reading content screen;
[0135] Step D20, determining a correction coefficient corresponding to the reading content screen according to the complexity of the content;
[0136] Step D30, determining the page turning speed corresponding to the reading content screen according to the correction coefficient and the preset page turning speed threshold.
[0137] In this embodiment, it should be noted that the preset page turning speed threshold is a preset maximum critical value of the page turning speed.
[0138] Exemplarily, step D10 to step D30 include: obtaining a preset page turning speed threshold of the reading content screen; determining a correction coefficient of the page turning speed corresponding to the reading content screen according to the complexity of the content; and determining the page turning speed corresponding to the reading content screen by multiplying the correction coefficient and the preset page turning speed threshold according to the correction coefficient and the preset page turning speed threshold, wherein the complexity of the content is positively correlated with the correction coefficient. For example, the preset page turning speed threshold of the screen recording screen is 30s, when the complexity of the content is 50%, the corresponding correction coefficient is 0.5, and the corresponding page turning speed is 30*0.5, i.e., 15s.
[0139] Wherein, in step B20, the brightness adjustment mode includes a black and white mode and an eye protection mode, and the step of determining the brightness adjustment mode corresponding to the reading content screen according to the display color brightness includes:
[0140] Step E10, determining whether there is a color picture on the reading content screen;
[0141] Step E20: If yes, determine that the brightness adjustment mode corresponding to the reading content screen is the eye protection mode;
[0142] Step E30: If not, determine that the brightness adjustment mode corresponding to the reading content screen is the black and white mode.
[0143] Exemplarily, steps E10 to E30 include: determining whether there is a color picture on the reading content screen; if there is a color picture on the reading content screen, determining that the brightness adjustment mode corresponding to the reading content screen is an eye protection mode, wherein the display color brightness is negatively correlated with the corresponding brightness, and the display color brightness is negatively correlated with the corresponding color temperature; if there is no color picture on the screen recording screen, determining that the brightness adjustment mode corresponding to the reading content screen is a black and white mode; the black and white mode sets black text and a white background to make the contrast of the reading content screen stronger, thereby highlighting the text content of the reading content screen, thereby improving the user's reading experience.
[0144] Step S30, sending the reading content screen and the reading display parameters to the display device, so that the display device displays the reading content screen according to the reading display parameters in a reading mode.
[0145] Exemplarily, step S30 includes: sending the reading content screen and the reading display parameters to the display device, so that the display device sets a reading mode, and displays the reading content screen according to the reading display parameters.
[0146] As an example, the display device sets the reading mode, and the steps of displaying the reading content screen according to the reading display parameters include: turning on the reading mode after detecting and receiving a request to turn on the reading mode sent by the screen recording device; receiving the reading content screen and reading display parameters sent by the screen recording device; and controlling the display device to display the reading screen according to the reading display parameters in the reading mode.
[0147] As an example, the display device sets the reading mode, and the steps of displaying the reading content screen according to the reading display parameters include: turning on the reading mode after detecting and receiving a request to turn on the reading mode sent by the screen recording device; receiving the reading content screen and reading display parameters sent by the screen recording device; and controlling the display device to display the reading screen according to the reading display parameters in the reading mode.
[0148] The embodiments of the present application provide a screen projection reading method, an electronic device and a readable storage medium. Compared with the method of displaying reading content on a mobile terminal screen adopted in the prior art, the embodiments of the present application start the reading mode by receiving the reading content picture and reading display parameters sent by the screen recording device, and send them to the display device, wherein the real-time display mode includes a movie viewing mode and a reading mode; when it is detected that the real-time display mode is the reading mode, the reading display parameters corresponding to the screen recording picture are determined according to the screen recording picture, and the reading display parameters are sent to the display device; the screen recording picture is projected to the display device, so that the reading content picture is projected to the display device, and the reading display parameters are dynamically adjusted according to the reading content picture, so that a suitable reading display parameter can always be provided for the display device, thereby overcoming the technical defect that the complex reading content details cannot be captured when the mobile terminal screen is used to display the reading content, thereby improving the online reading experience.
[0149] The present application also provides a screen projection reading device, referring to Figure 4 , the screen projection reading device comprises:
[0150] The detection module 10 is used to obtain the screen recording picture and detect whether the screen recording picture is a reading content picture;
[0151] The sending module 20 is used for obtaining the reading display parameters corresponding to the reading content screen if the screen recording screen is a reading content screen;
[0152] The screen projection module 30 is used to send the reading content screen and the reading display parameters to the display device, so that the display device displays the reading content screen according to the reading display parameters in the reading mode;
[0153] Optionally, in the step of obtaining the reading display parameters corresponding to the reading content screen, the sending module 20 is further used to:
[0154] According to the reading content type corresponding to the reading content screen, obtaining the content complexity of the reading content screen;
[0155] The resolution and page turning speed corresponding to the reading content screen are determined according to the complexity of the content.
[0156] Optionally, the reading content types include e-books, comics and educational content.
[0157] In the step of obtaining the content complexity of the reading content screen according to the reading content type corresponding to the reading content screen, the sending module 20 is further used to:
[0158] When the reading content type is an e-book, determining the content complexity of the reading content screen by acquiring the font size of the e-book;
[0159] When the reading content type is a comic, determining the complexity of the content of the reading content screen by obtaining the blank space degree of the comic;
[0160] When the reading content type is educational content, the complexity of the content of the reading content screen is determined by acquiring the font and illustration size of the educational content.
[0161] Optionally, in the step of determining the resolution corresponding to the reading content screen according to the complexity of the content, the sending module 20 is further used to:
[0162] Obtaining a preset page turning speed threshold of the reading content screen;
[0163] Determining a correction coefficient corresponding to the reading content screen according to the complexity of the content;
[0164] The page turning speed corresponding to the reading content screen is determined according to the correction coefficient and the preset page turning speed threshold.
[0165] Optionally, in the step of obtaining the reading display parameters corresponding to the reading content screen, the sending module 20 is further used to:
[0166] Obtaining the display color brightness of the reading content screen;
[0167] According to the display color brightness, a brightness adjustment mode corresponding to the reading content screen is determined.
[0168] Optionally, the brightness adjustment mode includes a black and white mode and an eye protection mode. In the step of determining the brightness adjustment mode corresponding to the reading content screen according to the display color brightness, the sending module 20 is further used to:
[0169] Determining whether there is a color picture on the reading content screen;
[0170] If yes, determining that the brightness adjustment mode corresponding to the reading content screen is an eye protection mode;
[0171] If not, it is determined that the brightness adjustment mode corresponding to the reading content screen is the black and white mode.
[0172] Optionally, in the step of detecting whether the screen recording screen is a reading content screen, the detection module 10 is further used to:
[0173] Determine whether the recorded screen is a static screen;
[0174] If yes, determining that the screen recording screen is a reading content screen;
[0175] If not, it is determined that the screen recording image is not a reading content image.
[0176] The screen projection reading device provided by the present invention adopts the screen projection reading method in the above embodiment to solve the technical problem of poor online reading experience. Compared with the prior art, the beneficial effects of the screen projection reading device provided by the embodiment of the present invention are the same as the beneficial effects of the screen projection reading method provided by the above embodiment, and other technical features in the screen projection reading device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0177] This embodiment provides a computer-readable storage medium having computer-readable program instructions stored thereon, and the computer-readable program instructions are used to execute the method of screen projection reading in the above embodiment.
[0178] The computer-readable storage medium provided in the embodiment of the present invention may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.
[0179] The above-mentioned computer-readable storage medium may be included in the screen projector; or it may exist independently without being assembled into the screen projector.
[0180] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the screen projector, the screen projector: obtains the screen recording screen and detects whether the screen recording screen is a reading content screen; if the screen recording screen is a reading content screen, obtains the reading display parameters corresponding to the reading content screen; sends the reading content screen and the reading display parameters to the display device, so that the display device can display the reading content screen according to the reading display parameters in the reading mode.
[0181] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0182] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0183] The modules involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of the module does not limit the unit itself in some cases.
[0184] The computer-readable storage medium provided by the present invention stores computer-readable program instructions for executing the above-mentioned screen projection reading method, which solves the technical problem of poor online reading experience. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the embodiment of the present invention are the same as the beneficial effects of the screen projection reading method provided by the above-mentioned implementation, and will not be repeated here.
[0185] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent processing scope of the present application.
Claims
1. A screen projection reading method, characterized in that: The screen projection reading method comprises: Acquire the screen recording image, and detect whether the screen recording image is a reading content image; If the screen recording screen is a reading content screen, obtaining a reading display parameter corresponding to the reading content screen; Sending the reading content screen and the reading display parameters to a display device, so that the display device displays the reading content screen according to the reading display parameters in a reading mode; The step of obtaining the reading display parameters corresponding to the reading content screen includes: According to the reading content type corresponding to the reading content screen, obtaining the content complexity of the reading content screen; Determine the resolution and page turning speed corresponding to the reading content screen according to the complexity of the content, wherein the complexity of the content is positively correlated with the resolution, and the complexity of the content is positively correlated with the page turning speed; Wherein, the reading content types include e-books, comics and educational content, and the step of obtaining the content complexity of the reading content screen according to the reading content type corresponding to the reading content screen includes: When the reading content type is an e-book, the complexity of the content of the reading content screen is determined by obtaining the font size of the e-book, and the font size of the e-book is positively correlated with the complexity of the content; When the reading content type is a comic, the complexity of the content of the reading content screen is determined by obtaining the blank space degree of the comic, and the blank space degree is negatively correlated with the complexity of the content; When the reading content type is educational content, the content complexity of the reading content screen is determined by obtaining the font size and illustration size of the educational content. The font size of the educational content is positively correlated with the content complexity, and the illustration size is positively correlated with the content complexity.
2. The screen projection reading method according to claim 1, characterized in that: The step of determining the page turning speed corresponding to the reading content screen according to the complexity of the content includes: Obtaining a preset page turning speed threshold of the reading content screen; Determining a correction coefficient corresponding to the reading content screen according to the complexity of the content; The page turning speed corresponding to the reading content screen is determined according to the correction coefficient and the preset page turning speed threshold.
3. The screen projection reading method according to claim 1, characterized in that: The step of obtaining the reading display parameters corresponding to the reading content screen also includes: Obtaining the display color brightness of the reading content screen; According to the display color brightness, a brightness adjustment mode corresponding to the reading content screen is determined.
4. The screen projection reading method as claimed in claim 3, characterized in that: The brightness adjustment mode includes a black and white mode and an eye protection mode, and the step of determining the brightness adjustment mode corresponding to the reading content screen according to the display color brightness includes: Determining whether there is a color picture on the reading content screen; If yes, determining that the brightness adjustment mode corresponding to the reading content screen is an eye protection mode; If not, it is determined that the brightness adjustment mode corresponding to the reading content screen is the black and white mode.
5. The screen projection reading method according to claim 1, characterized in that: The step of detecting whether the screen recording screen is a reading content screen comprises: Determine whether the recorded screen is a static screen; If yes, determining that the screen recording screen is a reading content screen; If not, it is determined that the screen recording image is not a reading content image.
6. A screen projection reading device, characterized in that: The screen projection reading device comprises: An acquisition module is used to acquire a screen recording image and detect whether the screen recording image is a reading content image; A detection module, used for obtaining reading display parameters corresponding to the reading content screen if the screen recording screen is a reading content screen; A sending module, used for sending the reading content screen and the reading display parameters to a display device, so that the display device displays the reading content screen according to the reading display parameters in a reading mode; The detection module is further used to obtain the content complexity of the reading content screen according to the reading content type corresponding to the reading content screen; determine the resolution and page turning speed corresponding to the reading content screen according to the content complexity, and the content complexity is positively correlated with the resolution, and the content complexity is positively correlated with the page turning speed; The detection module is also used to determine the content complexity of the reading content screen by obtaining the font size of the e-book when the reading content type is an e-book, and the font size of the e-book is positively correlated with the content complexity; when the reading content type is a comic, determine the content complexity of the reading content screen by obtaining the blank space degree of the comic, and the blank space degree is negatively correlated with the content complexity; when the reading content type is educational content, determine the content complexity of the reading content screen by obtaining the font size and illustration size of the educational content, and the font size of the educational content is positively correlated with the content complexity, and the illustration size is positively correlated with the content complexity.
7. A screen projector, characterized in that: The screen projector includes: a screen projection transmitter and a screen projection receiver, the screen projection transmitter is used to connect to a first electronic device, the screen projection receiver is used to connect to a second electronic device, and the screen projection transmitter and the screen projection receiver transmit data via a wireless network; the screen projector also includes: a memory, a processor, and a screen projection reading program stored in the memory and executable on the processor, and when the screen projection reading program is executed by the processor, the steps of the screen projection reading method as described in any one of claims 1 to 5 are implemented.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program for implementing the screen projection reading method, and the program for implementing the screen projection reading method is executed by a processor to implement the steps of the screen projection reading method as described in any one of claims 1 to 5.
