A method and device for realizing same-screen transmission
By obtaining the startup instructions and network connection status of the same-screen transmission, the wireless network module and the HDMI interface are used to realize the same-screen display of the smart terminal and the display device, and the important data is protected through the key in the storage module, which solves the problem in the existing technology. The issue of portable same-screen storage devices realizes the portability and security of same-screen display and data storage.
Patent Information
- Application Number
- CN202011249135.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-10
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2040-11-10
AI Technical Summary
There is a lack of devices in the existing technology that can achieve both same-screen transmission and storage and are small and easy to carry, making it difficult to meet the needs of education and office scenarios.
By obtaining the startup command and network connection status of the same-screen transmission, the wireless network module and HDMI interface are used to realize the same-screen display of the smart terminal and the display device, and the important data is protected through the key in the storage module.
It realizes the same-screen display and data storage of smart terminals and display devices, provides a portable and compact device, meets the needs of education and office scenarios, and ensures data security.
Smart Images

Figure CN112306441B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a method and device for implementing same-screen transmission. Background Art
[0002] In the fields of education, office, and home, flash drives and wireless screen sharing devices are widely used. Flash drives transmit content to PCs, TVs, etc. through storage media and USB interfaces; while screen sharing devices use WiFi wireless modules and HDMI interfaces to achieve the screen sharing function between wireless devices such as mobile phones and displays with HDMI. However, educational institutions need to save important information after sharing the screen when teaching and companies need to save important information after sharing the screen when holding meetings. There is no device in the prior art that can achieve both sharing the screen and storage and is small and easy to carry.
[0003] Therefore, the existing technology still needs to be improved and developed. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a method for realizing same-screen transmission in view of the above-mentioned defects of the prior art, aiming to solve the problem that there is no device in the prior art that can realize both same-screen and storage and is small and easy to carry.
[0005] The technical solution adopted by the present invention to solve the problem is as follows:
[0006] In a first aspect, an embodiment of the present invention provides a method for implementing same-screen transmission, wherein the method includes:
[0007] Get the start instruction of same-screen transmission;
[0008] Get the network connection status between the smart terminal and the device;
[0009] According to the startup instruction and the network connection status, data is pushed to the display device to achieve the same-screen display of the smart terminal and the display device.
[0010] In one implementation, the acquiring of the network connection status between the smart terminal and the wireless network module includes:
[0011] Get the device's identity information;
[0012] According to the identity information, obtaining the local area network information to which the device is connected;
[0013] The network connection status between the smart terminal and the device is determined according to the local area network information to which the device is connected.
[0014] In one implementation, determining the network connection status between the smart terminal and the device based on the local area network information connected to the device includes: obtaining the local area network information connected to the smart terminal; if the local area network information connected to the device is the same as the local area network information connected to the smart terminal, determining that the connection status between the smart terminal and the device is connected.
[0015] In one implementation, the pushing data to the display device according to the startup instruction and the network connection status includes:
[0016] When the same-screen transmission is started and the connection status is connected, a push instruction for the data is triggered; wherein the push instruction is an operation control command for forwarding the data from one interface to another interface; according to the push instruction, the display device is controlled to synchronously present the data.
[0017] In one implementation, the step of controlling the display device to synchronously present the data according to the push instruction includes:
[0018] According to the push instruction, obtaining the image single frame size of the data;
[0019] According to the size of the single frame of the image, the size is adjusted to obtain an adjustment result;
[0020] According to the adjustment result, the display device is controlled to synchronously present the data.
[0021] In one implementation, the adjusting the size according to the size of the single frame of the image to obtain the adjustment result includes:
[0022] Obtaining the screen display size of the display device;
[0023] Determining a size ratio relationship according to a screen display size of the display device and a single frame size of the image;
[0024] The image size of the data is adjusted according to the size ratio relationship to obtain the data after the size adjustment.
[0025] In one implementation, the step of pushing data to the display device according to the startup instruction and the network connection status further includes:
[0026] Obtaining storage control instructions applied in the display device;
[0027] When the same-screen transmission is started and the connection state is connected, the same-screen transmission data is stored in a specific area of the storage module according to the storage control instruction and protected by a key.
[0028] In a second aspect, an embodiment of the present invention further provides a device for implementing same-screen transmission, the device comprising: a startup instruction acquisition unit, configured for a smart terminal to acquire a startup instruction for same-screen transmission;
[0029] A network connection status acquisition unit, used to acquire the network connection status between the smart terminal and the device according to the wireless network module and the HDMI interface;
[0030] A same-screen display unit, used to push data to the display device according to the startup instruction and the network connection status, so as to realize same-screen display of the smart terminal and the display device;
[0031] The data transmission unit is used to realize data transmission between the storage module of the device and the intelligent terminal according to the USB interface.
[0032] In the third aspect, an embodiment of the present invention also provides an intelligent terminal, comprising a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors, including a method for implementing same-screen transmission as described in any one of the above items.
[0033] In a fourth aspect, an embodiment of the present invention further provides a non-temporary computer-readable storage medium. When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute a method for realizing same-screen transmission as described in any one of the above.
[0034] Beneficial effects of the present invention: the embodiment of the present invention first obtains the startup instruction of the same-screen transmission; then obtains the network connection status of the smart terminal and the display device; finally, according to the startup instruction and the network connection status, pushes data to the display device to realize the same-screen display of the smart terminal and the display device; it can be seen that in the embodiment of the present invention, when the network of the smart terminal and the display device is connected, data is pushed to the display device to realize the same-screen display of the smart terminal and the display device. The device in the embodiment of the present invention can realize both the same screen and storage, and is easy to carry. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the embodiments of the present invention 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, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0036] Figure 1 A schematic flow chart of a method for implementing same-screen transmission provided by an embodiment of the present invention.
[0037] Figure 2 A structural block diagram of a device for implementing same-screen transmission provided by an embodiment of the present invention.
[0038] Figure 3 A principle block diagram of a device for implementing same-screen transmission provided by an embodiment of the present invention.
[0039] Figure 4 A block diagram of the internal structure of an intelligent terminal provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0040] The present invention discloses a method for realizing same-screen transmission. In order to make the purpose, technical solution and effect of the present invention clearer and more specific, the present invention is further described in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0041] It will be understood by those skilled in the art that, unless expressly stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present invention refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be intermediate elements. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein includes all or any unit and all combinations of one or more associated listed items.
[0042] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as generally understood by those skilled in the art in the art to which the present invention belongs. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with the meanings in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless specifically defined as herein.
[0043] In the prior art, there is no device that can realize both the same screen and storage and is small and easy to carry.
[0044] In order to solve the problems of the prior art, this embodiment provides a method for realizing same-screen transmission. Through the method, when the intelligent terminal and the device are in a network connection state, the system pushes data to the display device to realize the same-screen display of the intelligent terminal and the display device. In specific implementation, the embodiment of the present invention first obtains the startup instruction of the same-screen transmission, and then obtains the network connection status of the intelligent terminal and the device. When the intelligent terminal and the device are connected, the system pushes data to the display device through the HDMI interface to realize the same-screen display of the intelligent terminal and the display device. In one implementation, the system also includes a storage module and a wireless network module. In this embodiment, the wireless network module is a WiFi wireless module, and the intelligent terminal is a mobile phone. The intelligent terminal can realize the transmission of data in the intelligent terminal to the storage module through the wireless network module in the system. In another implementation, the system also includes a USB interface and a storage module. Through the USB interface, wired data transmission between the storage module and the intelligent terminal can be realized. In another implementation, the system transmits the data in the storage module contained therein to the display device through the HDMI interface to realize the display of the data in the display device. Through this method, the data in the storage module can be repeatedly displayed in the display device to realize repeated learning at any time. In another implementation, a storage area is specially designed in the storage module of the system. When the user needs to store important data of a certain period of time on the same screen through the HDMI interface, the user can click the special "Save" button left in the display device as an entry to store a certain section of important data displayed on the same-screen display terminal in a specific area in the storage module. The important data is protected by a key to prevent it from being accidentally deleted or stolen by others. The important data or files in the specific area can be convenient for subsequent meeting summaries.
[0045] Example
[0046] When a teacher in an educational institution teaches a night viewing class outdoors, he needs to first show students some animal pictures, night viewing knowledge and precautions. Sometimes a student raises a question and the teacher needs to share the searched information with the student. At this time, if the display is performed through a mobile phone, it cannot be guaranteed that all students can see clearly, because outdoors, it is inconvenient for the teacher to move large display devices and same-screen devices outdoors. However, this can be achieved through the method in the embodiment of the present invention. The teacher carries a lightweight large-screen display device (and the display device may not have a WIFI module to reduce weight) and a lightweight device that can achieve same-screen transmission in the embodiment of the present invention. When the mobile phone opens a hotspot and connects to the device, the above data can be transmitted to the display device through the wireless network module and the HDMI interface through the mobile phone outdoors, so that the data is displayed on the display device, which is convenient for all students to watch together. At this time, the teacher can choose to store data while displaying on the same screen; or store the data in the storage module of the device when the same screen function is not needed before class; in addition, when everyone is watching the data displayed on the same screen in the display device, they are very interested in a certain content. At this time, the teacher can trigger the storage control instruction applied in the display device, such as clicking a special "Save" button to store a certain section of data that everyone is interested in in the display device in a specific area of the storage module, and use a key to protect it, so as to prevent deletion or information leakage. There is also an application scenario, such as in a meeting, the display device does not have a WIFI module, but has an HDMI interface. The user needs to demonstrate a solution, then the data in the smart terminal can be sent to the device through the wireless module in the embodiment of the present invention, and then the data can be transmitted from the smart terminal to the display device on the same screen through the HDMI interface, and the user's own solution can be displayed on the display device.
[0047] Exemplary Methods
[0048] This embodiment provides a method for implementing same-screen transmission, which can be applied to a communication intelligent terminal. Figure 1 As shown, the method comprises the following steps:
[0049] Step S100, obtaining a start instruction for same-screen transmission;
[0050] Specifically, when the same-screen function needs to be implemented, the system needs to first obtain the same-screen transmission startup instruction. For example, when the user needs to display the data on the mobile phone on the display device, the system application will be triggered to start the same-screen transmission. After the system application obtains the same-screen transmission startup instruction, it prepares for the subsequent same-screen transmission.
[0051] This embodiment provides a method for implementing same-screen transmission, which can be applied to a communication intelligent terminal. Figure 1 As shown, the method comprises the following steps:
[0052] Step S200: Obtain the network connection status between the smart terminal and the device;
[0053] Specifically, two devices need to be connected wirelessly or wired to achieve data transmission. In the embodiment of the present invention, the smart terminal and the device are connected via a wireless network module, and the device and the display device are connected via an HDMI interface. Figure 2 Therefore, if you want to achieve the same-screen transmission between the smart terminal and the display device, you need to realize the network connection status of the smart terminal and the device at the same time, so you need to obtain the network connection status of the smart terminal and the device.
[0054] In order to obtain the network connection status between the smart terminal and the device, the obtaining of the network connection status between the smart terminal and the wireless network module includes the following steps:
[0055] Step S201, obtaining the identity information of the device;
[0056] Step S202: acquiring information of a local area network to which the device is connected according to the identity information;
[0057] Step S203: Determine the network connection status between the smart terminal and the device according to the local area network information to which the device is connected.
[0058] Specifically, the system first obtains the identity information of the device, and then obtains the LAN information corresponding to the device, and determines whether the network between the smart terminal and the device is connected based on the LAN information of the device. Because only when the smart terminal and the device network are connected, the smart terminal and the display device can achieve same-screen transmission. In practice, there may be several devices in the system environment: device 1, device 2... Therefore, the system needs to obtain the device that needs to be transmitted on the same screen, such as device 1, obtain the LAN information of device 1 based on the device 1, and then determine whether the smart terminal and the device 1 are connected to the network based on the LAN information of device 1.
[0059] In order to determine the network connection status between the smart terminal and the device, determining the network connection status between the smart terminal and the device based on the local area network information connected to the device includes the following operations: obtaining the local area network information connected to the smart terminal; if the local area network information connected to the device is the same as the local area network information connected to the smart terminal, determining that the connection status between the smart terminal and the device is connected.
[0060] In this embodiment, the system first obtains the LAN information of the smart terminal connection, and then compares the LAN information of the device connection with the LAN information of the smart terminal connection. If the LAN information of the device connection is the same as the LAN information of the smart terminal connection, it is determined that the connection status between the smart terminal and the device is connected; if the LAN information of the device connection is different from the LAN information of the smart terminal connection, it is determined that the connection status between the smart terminal and the device is not connected.
[0061] This embodiment provides a method for implementing same-screen transmission, which can be applied to a communication intelligent terminal. Figure 1 As shown, the method comprises the following steps:
[0062] Step S300: Push data to the display device according to the startup instruction and the network connection status to achieve same-screen display of the smart terminal and the display device.
[0063] Specifically, when the system obtains the same-screen transmission instruction and obtains the network connection status of the smart terminal and the device, it can push the data in the smart terminal to the display device through the HDMI interface to achieve same-screen display of the smart terminal and the display device.
[0064] In order to push data to the display device, the step of pushing data to the display device according to the startup instruction and the network connection status includes the following steps:
[0065] Step S301: When the same-screen transmission is started and the connection state is connected, a push instruction for data is triggered; wherein the push instruction is an operation control command for forwarding the data from one interface to another interface;
[0066] Step S302: According to the push instruction, control the display device to synchronously present the data.
[0067] When the system starts same-screen transmission and the device is connected to the smart terminal, the system triggers a push instruction for the data. Then, according to the push instruction, the system transmits the data from the smart terminal to the display device through the wireless network module and the HDMI interface, so that the smart terminal and the display device can display the same data at the same time.
[0068] In order to control the display device to synchronously present the data, controlling the display device to synchronously present the data according to the push instruction includes the following operations: obtaining the image single frame size of the data according to the push instruction; adjusting the size according to the image single frame size to obtain an adjustment result; and controlling the display device to synchronously present the data according to the adjustment result.
[0069] Since the screen sizes of the display device and the smart terminal are different, when the smart terminal sends a push instruction, it needs to be adjusted according to the screen sizes of the display device and the smart terminal. Specifically, the image single frame size of the data sent by the smart terminal is first obtained, and then the size is adjusted according to the image single frame size, so that the size image is coordinated with the screen size in the display device when it is presented in the display device. In practice, the size of the mobile phone is small. If a video of the same size is pushed to a smart large screen, the viewing experience will definitely be bad. If the size is adjusted according to the predetermined magnification, it will inevitably affect the coordination of the image. Therefore, it is necessary to make specific adjustments according to the actual size of the mobile phone and the smart TV so that the video data is smooth when presented on the smart TV. In another implementation method, according to the push instruction, the image of the data is obtained, and then the color of the image is adjusted so that the adjusted image is more saturated and the color is brighter.
[0070] In order to obtain smooth data, the size is adjusted according to the size of a single image frame to obtain the adjustment result. The following operations can be performed: obtain the device screen display size; determine the size ratio relationship according to the device screen size and the size of a single image frame; adjust the image size of the data according to the size ratio relationship to obtain the adjusted data.
[0071] In practice, the screen size of the display device is first obtained, and the size ratio relationship is obtained according to the single frame size of the image in the smart terminal and the screen size of the display device. The image size of the data is adjusted according to the size ratio relationship, and then the adjusted data is sent to the display device. In another embodiment, the screen width size of the display device can be obtained, and the width size ratio relationship is obtained according to the single frame width size of the image in the smart terminal and the screen width size of the display device; then the screen length size of the display device is obtained, and the length size ratio relationship is obtained according to the single frame length size of the image in the smart terminal and the screen length size of the display device; according to the length ratio relationship and the width ratio relationship, the image size of the data is adjusted to obtain the adjusted data. For example, when the single frame size of the image pushed by the smart terminal such as a mobile phone is 13.3cm*6.8cm, and the size of the smart large screen is 74cm*44cm, then the length ratio relationship of 5.56 is obtained according to 74 divided by 13.3, and the width ratio relationship of 6.47 is obtained according to 44 divided by 6.8. According to these two ratio relationships, the length of the single frame image is adjusted by 5.56 times, and the width of the single frame image is adjusted by 6.47 times, and the image size on the smart large screen can be obtained.
[0072] In order to meet the special requirements of actual meetings or teaching, the system also includes the following operations in the process of realizing same-screen transmission: obtaining the storage control instructions applied in the display device; when the same-screen transmission is started and the connection status is connected, the same-screen transmission data is stored in a specific area in the storage module according to the storage control instructions, and protected by a key.
[0073] In practice, when the smart terminal and the device remain connected, and when data is transmitted on the same screen in the display device, the user will select some important data for storage, so that subsequent users can summarize the meeting. At this time, the user can click the storage control command reserved in the display device application, such as the "Save" button. After the system obtains the storage control instruction applied in the display device, it can store the same-screen transmission data in a specific area of the storage module, such as an area with a confidential password. This part of important data will not be deleted due to human misoperation, nor will it be leaked due to theft by others. Other data transmitted from smart terminals such as mobile phones to display devices are stored in the general area, so that when a device such as a USB flash drive is almost full, the user can delete the data in the general area at will, thereby freeing up space to store other data.
[0074] Exemplary Devices
[0075] like Figure 3 As shown in , an embodiment of the present invention provides a device for implementing same-screen transmission, the device includes a startup instruction acquisition unit 401, a network connection status acquisition unit 402, a same-screen display unit 403, and a data transmission unit 404; wherein,
[0076] A start instruction acquisition unit 401 is used for the smart terminal to acquire a start instruction for same-screen transmission;
[0077] The network connection status acquisition unit 402 is used to acquire the network connection status between the smart terminal and the device according to the wireless network module and the HDMI interface;
[0078] A same-screen display unit 403, configured to push data to the display device according to the startup instruction and the network connection status, so as to realize same-screen display of the smart terminal and the display device;
[0079] The data transmission unit 404 is used to implement data transmission between the storage module of the device and the intelligent terminal according to the USB interface.
[0080] Specifically, this embodiment provides a device for implementing same-screen transmission. In this embodiment, the device is a USB flash drive with a storage function, and the device includes: a startup instruction acquisition unit 401, which is used for the smart terminal to acquire the startup instruction for same-screen transmission; a network connection status acquisition unit 402, which is used to acquire the network connection status between the smart terminal and the device according to the wireless network module and the HDMI interface; a same-screen display unit 403, which is used to push data to the display device through the HDMI interface according to the startup instruction and the network connection status, so as to realize the same-screen display of the smart terminal and the display device; a data transmission unit 404, which is used to realize the data transmission between the storage module of the device and the smart terminal according to the USB interface. In one implementation method, the device acquires the startup instruction for same-screen transmission, and then the device acquires the network connection status between the smart terminal and the display device according to the wireless network module and the HDMI interface, and the device pushes data to the display device according to the startup instruction and the network connection status startup instruction and the network connection status, so as to realize the same-screen display of the smart terminal and the display device. In another implementation, the device obtains a startup instruction for same-screen transmission, and then the device obtains the network connection status of the smart terminal and the device according to the wireless network module and the HDMI interface. The device pushes data to the display device through the HDMI interface according to the startup instruction and the network connection status, realizes the same-screen display of the smart terminal and the display device, and transmits the data in the smart terminal to the storage module through the wireless network module. In another implementation, the device obtains a storage startup instruction, and transmits the data in the smart terminal to the storage module through the wireless network module. In another implementation, a storage area is specially designed in the storage module of the device. When the user needs to store important data of a certain period of time on the same screen through the HDMI interface, the user can click the special "Save" button left in the display device as an entry, and store a certain section of important data displayed in the display device in a specific area in the storage module. The important data is protected by a key to prevent it from being accidentally deleted or stolen by others. The important data or files in the specific area can be convenient for subsequent meeting summaries.
[0081] Based on the above embodiments, the present invention further provides an intelligent terminal, whose principle block diagram can be shown as follows: Figure 4As shown. The intelligent terminal includes a processor, a memory, a network interface, a display screen, and a temperature sensor connected through a system bus. Among them, the processor of the intelligent terminal is used to provide computing and control capabilities. The memory of the intelligent terminal includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the intelligent terminal is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for achieving same-screen transmission is implemented. The display screen of the intelligent terminal can be a liquid crystal display screen or an electronic ink display screen, and the temperature sensor of the intelligent terminal is pre-set inside the intelligent terminal to detect the operating temperature of the internal device.
[0082] Those skilled in the art will understand that Figure 4 The schematic diagram in the figure is only a block diagram of a part of the structure related to the scheme of the present invention, and does not constitute a limitation on the smart terminal to which the scheme of the present invention is applied. The specific smart terminal may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0083] In one embodiment, a smart terminal is provided, comprising a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors, and the one or more programs include instructions for performing the following operations:
[0084] Get the start instruction of same-screen transmission;
[0085] Get the network connection status between the smart terminal and the device;
[0086] According to the startup instruction and the network connection status, data is pushed to the display device to achieve the same-screen display of the smart terminal and the display device.
[0087] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0088] In summary, the present invention discloses a method, a smart terminal, and a storage medium for realizing same-screen transmission, and the method includes: the embodiment of the present invention first obtains a startup instruction for same-screen transmission; then obtains the network connection status of the smart terminal and the display device; finally, according to the startup instruction and the network connection status, pushes data to the display device to realize same-screen display of the smart terminal and the display device; it can be seen that in the embodiment of the present invention, when the network of the smart terminal and the display device is connected, data is pushed to the display device to realize same-screen display of the smart terminal and the display device. The device in the embodiment of the present invention can realize both same-screen and storage, and is easy to carry.
[0089] It should be understood that the present invention discloses a method for achieving same-screen transmission. It should be understood that the application of the present invention is not limited to the above examples. For ordinary technicians in this field, it can be improved or transformed according to the above description. All these improvements and transformations should fall within the scope of protection of the claims attached to the present invention.
Claims
1. A method for achieving same-screen transmission, characterized in that: The method comprises: Get the start instruction of same-screen transmission; Get the network connection status between the smart terminal and the device; The obtaining of the network connection status between the intelligent terminal and the wireless network module includes: Get the device's identity information; According to the identity information, obtaining the local area network information to which the device is connected; Determine the network connection status between the smart terminal and the device according to the local area network information connected to the device; Pushing data to the display device according to the startup instruction and the network connection status to achieve the same-screen display of the smart terminal and the display device; Wherein, the pushing of data to the display device according to the startup instruction and the network connection status includes: when the same-screen transmission is started and the connection status is connected, triggering a push instruction for data; wherein the push instruction is an operation control command for forwarding the data from one interface to another interface; according to the push instruction, controlling the display device to synchronously present the data; according to the push instruction, obtaining an image of the data, and then adjusting the color of the image; Wherein, controlling the display device to synchronously present the data according to the push instruction comprises: acquiring the image single frame size of the data according to the push instruction; adjusting the size according to the image single frame size to obtain an adjustment result; and controlling the display device to synchronously present the data according to the adjustment result; The step of adjusting the size according to the size of the single frame of the image to obtain the adjustment result includes: obtaining the screen display size of the display device; determining a size ratio relationship according to the screen display size of the display device and the size of the single frame of the image; adjusting the image size of the data according to the size ratio relationship to obtain the data after the size adjustment; Among them, pushing data to the display device according to the startup instruction and the network connection status also includes: obtaining a storage control instruction applied in the display device; when the same-screen transmission is started and the connection status is connected, storing the same-screen transmission data in a specific area in the storage module according to the storage control instruction, and protecting it with a key; other data transmitted from the smart terminal to the display device is stored in a general area.
2. The method for realizing same-screen transmission according to claim 1, characterized in that: Determining the network connection status between the smart terminal and the device according to the local area network information connected to the device includes: Obtaining local area network information to which the smart terminal is connected; If the local area network information to which the device is connected is the same as the local area network information to which the smart terminal is connected, it is determined that the connection state between the smart terminal and the device is connected.
3. An intelligent terminal, characterized in that: The device comprises a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors, and the one or more programs include being used to execute the method according to any one of claims 1-2.
4. A non-transitory computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method as described in any one of claims 1-2.
