CN108733337B - Screen display method and device, electronic equipment and computer readable storage medium - Google Patents

Screen display method and device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN108733337B
CN108733337B CN201810512189.0A CN201810512189A CN108733337B CN 108733337 B CN108733337 B CN 108733337B CN 201810512189 A CN201810512189 A CN 201810512189A CN 108733337 B CN108733337 B CN 108733337B
Authority
CN
China
Prior art keywords
terminal
screen
content
screen display
connection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810512189.0A
Other languages
Chinese (zh)
Other versions
CN108733337A (en
Inventor
候祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810512189.0A priority Critical patent/CN108733337B/en
Publication of CN108733337A publication Critical patent/CN108733337A/en
Application granted granted Critical
Publication of CN108733337B publication Critical patent/CN108733337B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application relates to a screen display method and device, an electronic device and a computer readable storage medium. The method comprises the following steps: the second terminal receives the connection request sent by the first terminal, establishes connection with the first terminal according to the connection request, displays part of screen content transmitted to the second terminal by the first terminal on a screen of the second terminal, and switches current screen display content of the second terminal according to the triggering operation when the second terminal obtains the triggering operation. The second terminal displays part of the screen content transmitted to the second terminal by the first terminal, and the screen display area is enlarged. The second terminal switches the current screen display content according to the trigger operation, so that the convenience of the operation of the second terminal is improved, and the flexibility of the operation of the terminal is further improved.

Description

Screen display method and device, electronic equipment and computer readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a screen display method and apparatus, an electronic device, and a computer-readable storage medium.
Background
With the development of computer technology, the screen types of electronic devices are more and more, and the screen requirements of users on the electronic devices are also higher and higher. The screen size of the electronic device is limited, and in order to enlarge the screen size of the electronic device, a screen of the electronic device of a foldable type, similar to a double-sided screen, appears. When the screen of the foldable electronic device displays the screen content, the folded part of the screen is often a display screen for providing the display function.
However, the conventional foldable display screen for extending the screen of the electronic device only provides a display function, and has the problems of inconvenient operation and poor flexibility.
Disclosure of Invention
The embodiment of the application provides a screen display method and device, electronic equipment and a computer readable storage medium, which can improve the flexibility of screen operation.
A screen display method, comprising:
the second terminal receives a connection request sent by the first terminal;
the second terminal establishes connection with the first terminal according to the connection request, and displays part of screen content transmitted to the second terminal by the first terminal on a screen of the second terminal;
and when the second terminal acquires the trigger operation, switching the current screen display content of the second terminal according to the trigger operation.
A screen display device comprising:
the request receiving module is used for receiving the connection request sent by the first terminal by the second terminal;
the screen display module is used for the second terminal to establish connection with the first terminal according to the connection request and display part of screen content transmitted to the second terminal by the first terminal on a screen of the second terminal;
and the screen switching module is used for switching the current screen display content of the second terminal according to the triggering operation when the second terminal acquires the triggering operation.
An electronic device comprising a memory and a processor, the memory having stored therein computer-readable instructions that, when executed by the processor, cause the processor to perform the steps of:
the second terminal receives a connection request sent by the first terminal;
the second terminal establishes connection with the first terminal according to the connection request, and displays part of screen content transmitted to the second terminal by the first terminal on a screen of the second terminal;
and when the second terminal acquires the trigger operation, switching the current screen display content of the second terminal according to the trigger operation.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
the second terminal receives a connection request sent by the first terminal;
the second terminal establishes connection with the first terminal according to the connection request, and displays part of screen content transmitted to the second terminal by the first terminal on a screen of the second terminal;
and when the second terminal acquires the trigger operation, switching the current screen display content of the second terminal according to the trigger operation.
According to the screen display method and device, the electronic device and the computer readable storage medium, the second terminal receives the connection request sent by the first terminal, the second terminal establishes connection with the first terminal according to the connection request, partial screen content transmitted to the second terminal by the first terminal is displayed on the screen of the second terminal, and when the second terminal obtains the trigger operation, the current screen display content of the second terminal is switched according to the trigger operation. The second terminal displays part of the screen content transmitted to the second terminal by the first terminal, and the screen display area is enlarged. The second terminal switches the current screen display content according to the trigger operation, so that the convenience of the operation of the second terminal is improved, and the flexibility of the operation of the terminal is further improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic diagram of an electronic device in one embodiment;
FIG. 2 is a flow diagram of a screen display method in one embodiment;
FIG. 3 is a flow diagram of a method for switching screen content according to a triggering operation in one embodiment;
FIG. 4 is a diagram illustrating an interface for switching screen content according to a trigger operation in one embodiment;
FIG. 5 is a flow diagram of a method for displaying screen content of a second terminal after a disconnection in one embodiment;
FIG. 6 is a diagram illustrating an interface for displaying screen content of a second terminal after disconnection in one embodiment;
FIG. 7 is a flow diagram of a method for a first terminal to execute operational instructions according to one embodiment;
FIG. 8 is a flow diagram of a method for displaying a portion of screen content of a first terminal based on a change instruction in one embodiment;
FIG. 9 is a flow diagram of a method for setting a screen display mode in one embodiment;
FIG. 10 is a block diagram showing the construction of a screen display device according to an embodiment;
fig. 11 is a block diagram of a partial structure of a cellular phone in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, a first client may be referred to as a second client, and similarly, a second client may be referred to as a first client, without departing from the scope of the present application. Both the first client and the second client are clients, but they are not the same client.
In one embodiment, as shown in FIG. 1, a schematic diagram of an internal structure of an electronic device is provided. The electronic device includes a processor, a memory, and a network interface connected by a system bus. Wherein, the processor is used for providing calculation and control capability and supporting the operation of the whole electronic equipment. The memory is used for storing data, programs, instruction codes and/or the like, and at least one computer program is stored on the memory, and the computer program can be executed by the processor to realize the screen display method suitable for the electronic device provided by the embodiment of the application. The Memory may include a non-volatile storage medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a Random-Access-Memory (RAM). For example, in one embodiment, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program can be executed by a processor for implementing a screen display method provided by various embodiments of the present application. The internal memory provides a cached execution environment for the operating system and computer programs in the non-volatile storage medium. The network interface may be an ethernet card or a wireless network card, etc. for communicating with an external electronic device, such as a server.
Those skilled in the art will appreciate that the architecture shown in fig. 1 is a block diagram of only a portion of the architecture associated with the subject application, and does not constitute a limitation on the electronic devices to which the subject application may be applied, and that a particular electronic device may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, there is provided a screen display method, for example, applied to the electronic device, as shown in fig. 2, the method includes the following steps:
step 202, the second terminal receives the connection request sent by the first terminal.
The connection request refers to a request initiated by the first terminal and used for establishing a connection relationship between the first terminal and the second terminal. The connection request may be generated by a control or button trigger on the first terminal. After the first terminal generates a connection request through triggering of a control or a button, the generated connection request can be sent to the second terminal.
And step 204, the second terminal establishes connection with the first terminal according to the connection request and displays part of screen content transmitted to the second terminal by the first terminal on a screen of the second terminal.
After receiving the connection request sent by the first terminal, the second terminal may feed back information of the received connection request to the first terminal, and the second terminal may establish a connection with the first terminal according to the received connection request. Specifically, the connection mode between the second terminal and the first terminal may be through a wireless network, or through a hardware entity. The first terminal may set a display mode of the screen, for example, the first terminal may set the display mode to a display mode such as a half-split display, a third-split display, or the like.
After the second terminal establishes connection with the first terminal, part of the screen content of the first terminal can be displayed on the screen of the second terminal according to the display mode set on the first terminal. For example, the display mode set on the first terminal is half-split screen display, and after the second terminal establishes connection with the first terminal, half screen content of the first terminal can be displayed on the screen of the second terminal according to the half-split screen display mode set on the first terminal.
And step 206, when the second terminal acquires the trigger operation, switching the current screen display content of the second terminal according to the trigger operation.
The trigger operation may be generated by a control on the second terminal. When the second terminal acquires the trigger operation generated through the control, the second terminal can switch the current screen display content according to the trigger operation.
The method comprises the steps that a connection request sent by a first terminal is received through a second terminal, the second terminal establishes connection with the first terminal according to the connection request, partial screen content transmitted to the second terminal by the first terminal is displayed on a screen of the second terminal, and when the second terminal obtains a trigger operation, current screen display content of the second terminal is switched according to the trigger operation. The second terminal displays part of the screen content transmitted to the second terminal by the first terminal, and the screen display area is enlarged. The second terminal switches the current screen display content according to the trigger operation, so that the convenience of the operation of the second terminal is improved, and the flexibility of the operation of the terminal is further improved.
As shown in fig. 3, in an embodiment, the provided screen display method may further include a process of switching screen contents according to a trigger operation, and the specific steps include:
step 302, detecting the current screen display content of the second terminal according to the trigger operation.
After the second terminal acquires the trigger operation generated by the control, the current screen display content on the screen of the second terminal can be detected according to the trigger operation. Specifically, the second terminal may compare the current screen display content with the screen content of the second terminal and a part of the screen content transmitted to the second terminal by the first terminal, respectively, and the second terminal may obtain the detection result by comparing the current screen display content of the second terminal with the screen content of the second terminal.
And step 304, when the current screen display content of the second terminal is a part of the screen content which is transmitted to the second terminal by the first terminal, switching the part of the screen content which is transmitted to the second terminal by the first terminal into the screen content of the second terminal according to the triggering operation.
When the detection result obtained by the second terminal is that the current screen display content of the second terminal is part of the screen content transmitted to the second terminal by the first terminal, the second terminal can switch the current screen display content of the second terminal from operation according to the trigger generated by the control. The second terminal may switch the current screen display content, i.e., the partial screen content transmitted to the second terminal by the first terminal, to the screen content of the second terminal.
And step 306, when the current screen display content of the second terminal is the screen content of the second terminal, switching the screen content of the second terminal into partial screen content which is transmitted to the second terminal by the first terminal according to the trigger operation.
When the detection result obtained by the second terminal is that the current screen display content of the second terminal is the screen content of the second terminal, the second terminal can switch the current screen display content of the second terminal according to the trigger generated by the control. The second terminal may switch the current screen display content, i.e., the screen content of the second terminal, to a partial screen content that the first terminal delivers to the second terminal.
Detecting the current screen display content of the second terminal according to the trigger operation, and when the current screen display content of the second terminal is partial screen content which is transmitted to the second terminal by the first terminal, switching the partial screen content which is transmitted to the second terminal by the first terminal into the screen content of the second terminal according to the trigger operation; and when the current screen display content of the second terminal is the screen content of the second terminal, switching the screen content of the second terminal into partial screen content which is transmitted to the second terminal by the first terminal according to the trigger operation. The second terminal can detect the current screen display content according to the trigger operation and switch the current screen display content according to the detection result, so that the flexibility of terminal operation is improved.
In one embodiment, the first terminal is connected to the second terminal as shown in fig. 4. The second terminal 420A establishes a connection with the first terminal 410, a part of screen content transmitted to the second terminal by the first terminal 410 is displayed on a screen of the second terminal 420A, the second terminal 420A can acquire the display content of the current screen to be switched through a trigger operation generated by the control 422A, after the switching is successful, the screen content of the second terminal is displayed on a screen of the second terminal 420B, and the second terminal 420B still maintains the connection with the first terminal 410. The second terminal 420B displaying the screen content of the second terminal may obtain the trigger operation generated by the space 422B to switch the display content of the current screen, and after the switching is successful, the screen of the second terminal 420A displays a part of the screen content transmitted to the second terminal by the first terminal 410.
As shown in fig. 5, in an embodiment, the provided screen display method may further include a process of displaying the screen content of the second terminal after disconnection, and the specific steps include:
step 502, a disconnection request sent by a first terminal and a second terminal is obtained.
The disconnection request may be generated by triggering a key of the first terminal having a function of returning to the home screen, i.e., a home key, or may be generated by triggering a control or a button on the first terminal. The connection disconnection request is a request sent by the first terminal to the second terminal for disconnecting the connection relationship between the first terminal and the second terminal. The second terminal may obtain the disconnection request sent by the first terminal. Specifically, the second terminal may receive, through the wireless network, the request to disconnect sent by the first terminal, and the second terminal may also receive, through the physical entity connection, the request to disconnect sent by the first terminal.
And step 504, disconnecting the second terminal from the first terminal according to the disconnection request, and displaying the screen content of the second terminal.
The second terminal may disconnect from the first terminal according to the connection disconnection request transmitted by the first terminal. After the second terminal is disconnected from the first terminal, the screen content of the second terminal can be displayed.
The method comprises the steps of obtaining a connection disconnection request sent by a first terminal and a second terminal, disconnecting the second terminal from the first terminal according to the connection disconnection request, and displaying screen content of the second terminal. After the second terminal is disconnected from the first terminal, the screen content of the second terminal can be displayed on the screen of the second terminal, so that the flexibility of terminal operation is improved.
In one embodiment, the first terminal is connected to the second terminal as shown in fig. 6. Displayed on the screen of the second terminal 620A is a portion of the screen content delivered by the first terminal 610 to the second terminal. When the second terminal 620A receives the disconnection request transmitted from the first terminal 610, the second terminal 620A may disconnect the connection with the first terminal 610 according to the disconnection request. After the disconnection, the second terminal 620B may display the screen contents of the second terminal.
As shown in fig. 7, in an embodiment, the provided screen display method may further include a process in which the first terminal executes an operation instruction, and the specific steps include:
step 702, acquiring an operation instruction of a part of screen content which is displayed on a screen of a second terminal and is transmitted to the second terminal by a first terminal.
When partial screen content which is transmitted to the second terminal by the first terminal is displayed on the screen of the second terminal, the second terminal can also obtain an operation instruction for the screen by displaying the partial screen content which is transmitted to the second terminal by the first terminal on the screen.
Step 704, sending the operation instruction to the first terminal, and the first terminal executing the operation instruction.
The second terminal may send the obtained operation instruction to the first terminal, and the first terminal may execute the operation instruction after receiving the operation instruction sent by the second terminal.
The method comprises the steps of obtaining an operation instruction of partial screen content which is displayed on a screen of a second terminal and is transmitted to the second terminal by a first terminal, transmitting the operation instruction to the first terminal, and executing the operation instruction by the first terminal. The operation instruction obtained from the second terminal can be sent to the first terminal, and the first terminal processes the operation instruction in a unified manner, so that resources are saved, and convenience in terminal operation is improved.
In an embodiment, as shown in fig. 8, the provided screen display method may further include a process of displaying a part of the screen content of the first terminal according to the change instruction, and the specific steps include:
and step 802, the second terminal establishes connection with the first terminal according to the connection request and sends information of successful connection to the first terminal.
The second terminal may establish a connection with the first terminal according to the connection request sent by the first terminal, and the connection mode may be a wireless network connection or a hardware entity connection. After the second terminal establishes the connection with the first terminal, the information of successful connection can be sent to the first terminal.
And step 804, the second terminal receives the change instruction of the screen display mode sent by the first terminal.
The change instruction of the screen display mode may include a display mode of a screen set by the first terminal, and for example, the display mode of the screen may be a half-split screen display. After receiving the information of successful connection sent by the second terminal, the first terminal can send a change instruction of the screen display mode to the second terminal according to the received information of successful connection.
And step 806, the second terminal displays part of the screen content of the first terminal on the screen of the second terminal according to the change instruction.
The second terminal may extract the display mode of the screen in the change instruction. The second terminal can also adjust the display content of the screen in the second terminal according to the display mode of the screen in the change instruction, and the second terminal can adjust the display content in the screen to display part of the screen content of the first terminal. For example, the display mode of the screen in the change instruction received by the second terminal is half-split-screen display, the second terminal may adjust the display mode of the screen to be half-split-screen display mode according to the change instruction, and display a part of the screen content of the first terminal, that is, the screen content in the first terminal is displayed in two parts, one part is displayed in the screen of the first terminal, the other part is displayed in the screen of the second terminal, and the first terminal and the second terminal display the complete screen content together.
And establishing connection with the first terminal through the second terminal according to the connection request, and sending information of successful connection to the first terminal, wherein the second terminal receives a change instruction of a screen display mode sent by the first terminal, and the second terminal displays part of screen content of the first terminal on a screen of the second terminal according to the change instruction. The first terminal and the second terminal can change the screen content displayed by the second terminal by establishing connection, so that the convenience and flexibility of terminal operation are improved.
As shown in fig. 9, in an embodiment, the provided screen display method may further include a process of setting a screen display mode, and the specific steps include:
and step 902, acquiring a switch control instruction of a display mode of a second terminal screen.
The second terminal may adjust the content displayed in the screen according to the display mode of the screen. The display mode of the screen may be a half-split screen display, a third-split screen display, or the like. The display mode of the screen can be switched on or off through a switch control instruction. The switch control command can be generated by triggering a control on the screen of the second terminal or generated by a button. The second terminal can acquire an on-off control instruction of the display mode of the second terminal screen through the control or the button.
And step 904, turning on or turning off the display mode of the second terminal screen according to the switch control instruction.
The second terminal can judge the acquired switch control instruction, and when the switch control instruction acquired by the second terminal is a starting control instruction, the second terminal can start a display mode of a screen; and when the switch control instruction acquired by the second terminal is a closing control instruction, the second terminal can close the display instruction of the screen.
And starting or closing the display mode of the second terminal screen according to the switch control instruction by acquiring the switch control instruction of the display mode of the second terminal screen. The second terminal can be used for switching on or switching off the display mode of the screen according to the switch control instruction, so that the convenience of terminal operation is improved.
In an embodiment, the provided screen display method may further include a process of maintaining connection, specifically including: and when the current screen display content of the second terminal is switched, the connection between the second terminal and the first terminal is maintained.
When the current screen display content of the second terminal is switched from the partial screen content which is transmitted to the second terminal by the first terminal, or the current screen display content of the second terminal is switched from the screen content of the second terminal to the partial screen content which is transmitted to the second terminal by the first terminal, the connection relationship between the second terminal and the first terminal is kept.
And when the current screen display content of the second terminal is switched, the connection between the second terminal and the first terminal is maintained. Because the second terminal and the first terminal are always connected, the situation that the first terminal and the second terminal are disconnected when the screen display content of the second terminal is switched can be avoided.
In one embodiment, a screen display method is provided, and the specific steps for implementing the method are as follows:
first, the second terminal may receive a connection request transmitted by the first terminal. The connection request refers to a request initiated by the first terminal and used for establishing a connection relationship between the first terminal and the second terminal. The connection request may be generated by a control or button trigger on the first terminal. After the first terminal generates a connection request through triggering of a control or a button, the generated connection request can be sent to the second terminal.
Then, the second terminal may establish a connection with the first terminal according to the connection request and display a portion of the screen content transmitted to the second terminal by the first terminal on a screen of the second terminal. After receiving the connection request sent by the first terminal, the second terminal may feed back information of the received connection request to the first terminal, and the second terminal may establish a connection with the first terminal according to the received connection request. After the second terminal establishes connection with the first terminal, part of the screen content of the first terminal can be displayed on the screen of the second terminal according to the display mode set on the first terminal.
The second terminal may establish a connection with the first terminal according to the connection request, and send information of successful connection to the first terminal. The second terminal may receive a change instruction of the screen display mode transmitted by the first terminal. The second terminal may display a part of the screen content of the first terminal on the screen of the second terminal according to the change instruction. The second terminal may extract the display mode of the screen in the change instruction. The second terminal can also adjust the display content of the screen in the second terminal according to the display mode of the screen in the change instruction, and the second terminal can adjust the display content in the screen to display part of the screen content of the first terminal.
Then, when the second terminal acquires the trigger operation, the second terminal can switch the current screen display content of the second terminal according to the trigger operation. The trigger operation may be generated by a control on the second terminal. When the second terminal acquires the trigger operation generated through the control, the second terminal can switch the current screen display content according to the trigger operation. After the second terminal acquires the trigger operation generated by the control, the current screen display content on the screen of the second terminal can be detected according to the trigger operation. When the current screen display content of the second terminal is a part of the screen content which is transmitted to the second terminal by the first terminal, the second terminal can switch the part of the screen content which is transmitted to the second terminal by the first terminal into the screen content of the second terminal according to the trigger operation. When the current screen display content of the second terminal is the screen content of the second terminal, the second terminal may switch the screen content of the second terminal to a partial screen content that is transmitted to the second terminal by the first terminal according to the trigger operation.
When the second terminal switches the current screen display content of the second terminal, the second terminal can maintain the connection between the second terminal and the first terminal.
Then, the second terminal may obtain a connection disconnection request with the second terminal sent by the first terminal. The second terminal may disconnect the second terminal from the first terminal according to the disconnection request and display screen content of the second terminal. The second terminal may disconnect from the first terminal according to the connection disconnection request transmitted by the first terminal. After the second terminal is disconnected from the first terminal, the screen content of the second terminal can be displayed.
The second terminal can also acquire an operation instruction of a part of screen content which is displayed on a screen of the second terminal and is transmitted to the second terminal by the first terminal. When partial screen content which is transmitted to the second terminal by the first terminal is displayed on the screen of the second terminal, the second terminal can also obtain an operation instruction for the screen by displaying the partial screen content which is transmitted to the second terminal by the first terminal on the screen. The second terminal may send the obtained operation instruction to the first terminal, and the first terminal may execute the operation instruction after receiving the operation instruction sent by the second terminal.
The second terminal can also obtain a switch control instruction of the display mode of the second terminal screen. The second terminal may adjust the content displayed in the screen according to the display mode of the screen. The display mode of the screen may be a half-split screen display, a third-split screen display, or the like. The display mode of the screen can be switched on or off through a switch control instruction. The switch control command can be generated by triggering a control on the screen of the second terminal or generated by a button. The second terminal can acquire an on-off control instruction of the display mode of the second terminal screen through the control or the button. The second terminal can judge the acquired switch control instruction, and when the switch control instruction acquired by the second terminal is a starting control instruction, the second terminal can start a display mode of a screen; and when the switch control instruction acquired by the second terminal is a closing control instruction, the second terminal can close the display instruction of the screen.
It should be understood that, although the steps in the above-described flowcharts are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in the above-described flowcharts may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or the stages is not necessarily sequential, but may be performed alternately or alternatingly with other steps or at least a portion of the sub-steps or stages of other steps.
Fig. 10 is a block diagram showing a configuration of a screen display apparatus according to an embodiment, as shown in fig. 10, the apparatus including: a request receiving module 1010, a screen displaying module 1020, and a screen switching module 1030, wherein:
a request receiving module 1010, configured to receive, by the second terminal, the connection request sent by the first terminal.
And the screen display module 1020 is configured to establish a connection with the first terminal according to the connection request and display a part of the screen content transmitted to the second terminal by the first terminal on the screen of the second terminal.
And the screen switching module 1030 is configured to switch the current screen display content of the second terminal according to the trigger operation when the second terminal obtains the trigger operation.
In an embodiment, the screen switching module 1030 is further configured to detect a current screen display content of the second terminal according to a trigger operation, switch a part of the screen content that is delivered to the second terminal by the first terminal to the screen content of the second terminal according to the trigger operation when the current screen display content of the second terminal is a part of the screen content that is delivered to the second terminal by the first terminal, and switch a part of the screen content that is delivered to the second terminal by the first terminal to the screen content of the second terminal according to the trigger operation when the current screen display content of the second terminal is the screen content of the second terminal.
In an embodiment, the screen display module 1020 may be further configured to obtain a disconnection request sent by the first terminal with the second terminal, disconnect the second terminal from the first terminal according to the disconnection request, and display the screen content of the second terminal.
In one embodiment, the request receiving module 1010 may be further configured to obtain an operation instruction for a portion of screen content, displayed on a screen of the second terminal, that the first terminal transmits to the second terminal, and send the operation instruction to the first terminal, where the first terminal executes the operation instruction.
In an embodiment, the screen display module 1020 may be further configured to enable the second terminal to establish a connection with the first terminal according to the connection request and send information of successful connection to the first terminal, where the second terminal receives a change instruction of the screen display mode sent by the first terminal, and the second terminal displays a part of the screen content of the first terminal on the screen of the second terminal according to the change instruction.
In one embodiment, the request receiving module 1010 may be further configured to obtain an on-off control instruction for a display mode of the second terminal screen, and turn on or off the display mode of the second terminal screen according to the on-off control instruction.
In one embodiment, the screen switching module 1030 may be further configured to maintain the connection between the second terminal and the first terminal when switching the current screen display content of the second terminal.
The division of each module in the screen display device is only used for illustration, and in other embodiments, the screen display device may be divided into different modules as needed to complete all or part of the functions of the screen display device.
For specific limitations of the screen display device, reference may be made to the above limitations of the screen display method, which are not described herein again. The respective modules in the screen display device described above may be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
The implementation of each module in the screen display device provided in the embodiment of the present application may be in the form of a computer program. The computer program may be run on a terminal or a server. The program modules constituted by the computer program may be stored on the memory of the terminal or the server. Which when executed by a processor, performs the steps of the method described in the embodiments of the present application.
The embodiment of the application also provides a computer readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the steps of the screen display method.
A computer program product containing instructions which, when run on a computer, cause the computer to perform a screen display method.
The embodiment of the application also provides the electronic equipment. As shown in fig. 11, for convenience of explanation, only the parts related to the embodiments of the present application are shown, and details of the technology are not disclosed, please refer to the method part of the embodiments of the present application. The electronic device may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, a wearable device, and the like, taking the electronic device as the mobile phone as an example:
fig. 11 is a block diagram of a partial structure of a mobile phone related to an electronic device provided in an embodiment of the present application. Referring to fig. 11, the cellular phone includes: radio Frequency (RF) circuitry 1110, memory 1120, input unit 1130, display unit 1140, sensors 1150, audio circuitry 1160, wireless fidelity (WiFi) module 1170, processor 1180, and power supply 1190. Those skilled in the art will appreciate that the handset configuration shown in fig. 11 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The RF circuit 1110 may be configured to receive and transmit signals during information transmission and reception or during a call, and may receive downlink information of a base station and then process the downlink information to the processor 1180; the uplink data may also be transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 1110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE)), e-mail, Short Messaging Service (SMS), and the like.
The memory 1120 may be used to store software programs and modules, and the processor 1180 may execute various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 1120. The memory 1120 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function (such as an application program for a sound playing function, an application program for an image playing function, and the like), and the like; the data storage area may store data (such as audio data, an address book, etc.) created according to the use of the mobile phone, and the like. Further, the memory 1120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 1130 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone 1100. Specifically, the input unit 1130 may include a touch panel 1131 and other input devices 1132. Touch panel 1131, which may also be referred to as a touch screen, can collect touch operations of a user on or near the touch panel 1131 (for example, operations of the user on or near touch panel 1131 by using any suitable object or accessory such as a finger or a stylus pen), and drive corresponding connection devices according to a preset program. In one embodiment, the touch panel 1131 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1180, and can receive and execute commands sent by the processor 1180. In addition, the touch panel 1131 can be implemented by using various types, such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 1130 may include other input devices 1132 in addition to the touch panel 1131. In particular, other input devices 1132 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), and the like.
The display unit 1140 may be used to display information input by the user or information provided to the user and various menus of the cellular phone. The display unit 1140 may include a display panel 1141. In one embodiment, the Display panel 1141 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. In one embodiment, touch panel 1131 can cover display panel 1141, and when touch panel 1131 detects a touch operation thereon or nearby, the touch operation is transmitted to processor 1180 to determine the type of touch event, and then processor 1180 provides a corresponding visual output on display panel 1141 according to the type of touch event. Although in fig. 11, the touch panel 1131 and the display panel 1141 are two independent components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 1131 and the display panel 1141 may be integrated to implement the input and output functions of the mobile phone.
The cell phone 1100 can also include at least one sensor 1150, such as a light sensor, motion sensor, 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 panel 1141 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 1141 and/or the backlight when the mobile phone moves to the ear. The motion sensor can comprise an acceleration sensor, the acceleration sensor can detect the magnitude of acceleration in each direction, the magnitude and the direction of gravity can be detected when the mobile phone is static, and the motion sensor can be used for identifying the application of the gesture of the mobile phone (such as horizontal and vertical screen switching), the vibration identification related functions (such as pedometer and knocking) and the like; the mobile phone may be provided with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor.
Audio circuitry 1160, speaker 1161 and microphone 1162 may provide an audio interface between a user and a cell phone. The audio circuit 1160 may transmit the electrical signal converted from the received audio data to the speaker 1161, and convert the electrical signal into a sound signal for output by the speaker 1161; on the other hand, the microphone 1162 converts the collected sound signal into an electrical signal, and the electrical signal is received by the audio circuit 1160 and converted into audio data, and then the audio data is processed by the audio data output processor 1180, and then the audio data is sent to another mobile phone through the RF circuit 1110, or the audio data is output to the memory 1120 for subsequent processing.
WiFi belongs to short-distance wireless transmission technology, and the cell phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 1170, and provides wireless broadband internet access for the user. Although fig. 11 shows the WiFi module 1170, it is to be understood that it does not necessarily form part of the handset 1100 and may be omitted as desired.
The processor 1180 is a control center of the mobile phone, and is connected to various parts of the whole mobile phone through various interfaces and lines, and executes various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 1120 and calling data stored in the memory 1120, thereby performing overall monitoring of the mobile phone. In one embodiment, the processor 1180 may include one or more processing units. In one embodiment, the processor 1180 may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like; the modem processor handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated within processor 1180.
The cell phone 1100 also includes a power supply 1190 (e.g., a battery) for providing power to various components, which may be logically coupled to the processor 1180 via a power management system, such that the power management system may be configured to manage charging, discharging, and power consumption.
In one embodiment, the cell phone 1100 may also include a camera, a bluetooth module, and the like.
In the embodiment of the present application, the processor 1180 included in the electronic device implements the steps of the screen display method when executing the computer program stored in the memory.
Any reference to memory, storage, database, or other medium used herein may 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), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (14)

1. A screen display method, comprising:
the second terminal receives a connection request sent by the first terminal;
the second terminal establishes connection with the first terminal according to the connection request, and displays part of screen content transmitted to the second terminal by the first terminal on a screen of the second terminal;
when the second terminal acquires the trigger operation,
the second terminal detects the current screen display content of the second terminal according to the trigger operation;
when the current screen display content of the second terminal is part of the screen content which is transmitted to the second terminal by the first terminal, the second terminal switches the part of the screen content which is transmitted to the second terminal by the first terminal into the screen content of the second terminal according to the trigger operation;
and when the current screen display content of the second terminal is the screen content of the second terminal, the second terminal switches the screen content of the second terminal into partial screen content which is transmitted to the second terminal by the first terminal according to the trigger operation.
2. The method of claim 1, further comprising:
acquiring a disconnection request sent by the first terminal and a second terminal;
and disconnecting the second terminal from the first terminal according to the disconnection request, and displaying the screen content of the second terminal.
3. The method of claim 1, further comprising:
acquiring an operation instruction of partial screen content which is displayed on a screen of the second terminal and is transmitted to the second terminal by the first terminal;
and sending the operation instruction to the first terminal, and executing the operation instruction by the first terminal.
4. The method according to claim 1, wherein the second terminal establishes a connection with the first terminal according to the connection request and displays a part of screen content transmitted to the second terminal by the first terminal on a screen of the second terminal, and the method comprises:
the second terminal establishes connection with the first terminal according to the connection request and sends information of successful connection to the first terminal;
the second terminal receives a change instruction of the screen display mode sent by the first terminal;
and the second terminal displays part of the screen content of the first terminal on the screen of the second terminal according to the change instruction.
5. The method of claim 1, further comprising:
acquiring a switch control instruction of a display mode of the second terminal screen;
and starting or closing the display mode of the second terminal screen according to the switch control instruction.
6. The method according to any one of claims 1 to 5, wherein the connection between the second terminal and the first terminal is maintained when switching the current screen display content of the second terminal.
7. A screen display device, comprising:
the request receiving module is used for receiving the connection request sent by the first terminal by the second terminal;
the screen display module is used for the second terminal to establish connection with the first terminal according to the connection request and display part of screen content transmitted to the second terminal by the first terminal on a screen of the second terminal;
the screen switching module is used for detecting the current screen display content of the second terminal according to the trigger operation when the second terminal acquires the trigger operation, switching the partial screen content transmitted to the second terminal by the first terminal into the screen content of the second terminal by the second terminal according to the trigger operation when the current screen display content of the second terminal is the partial screen content transmitted to the second terminal by the first terminal, and switching the screen content of the second terminal into the partial screen content transmitted to the second terminal by the first terminal according to the trigger operation by the second terminal when the current screen display content of the second terminal is the screen content of the second terminal.
8. The apparatus according to claim 7, wherein the screen display module is further configured to obtain a disconnection request sent by the first terminal with the second terminal, disconnect the second terminal from the first terminal according to the disconnection request, and display the screen content of the second terminal.
9. The apparatus according to claim 7, wherein the request receiving module is further configured to obtain an operation instruction for a part of screen content, which is displayed on the screen of the second terminal and is transmitted to the second terminal, of the first terminal, send the operation instruction to the first terminal, and the first terminal executes the operation instruction.
10. The device according to claim 7, wherein the screen display module is further configured to establish a connection with the first terminal according to the connection request and send a connection success message to the first terminal, the second terminal receives a change instruction of the screen display mode sent by the first terminal, and the second terminal displays a part of the screen content of the first terminal on a screen of the second terminal according to the change instruction.
11. The apparatus according to claim 7, wherein the request receiving module is further configured to obtain an on-off control instruction for a display mode of the second terminal screen, and turn on or off the display mode of the second terminal screen according to the on-off control instruction.
12. The apparatus of claim 7, wherein the screen switching module is further configured to maintain the connection between the second terminal and the first terminal when switching the current screen display content of the second terminal.
13. An electronic device comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of the screen display method of any one of claims 1 to 6.
14. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN201810512189.0A 2018-05-25 2018-05-25 Screen display method and device, electronic equipment and computer readable storage medium Active CN108733337B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810512189.0A CN108733337B (en) 2018-05-25 2018-05-25 Screen display method and device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810512189.0A CN108733337B (en) 2018-05-25 2018-05-25 Screen display method and device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108733337A CN108733337A (en) 2018-11-02
CN108733337B true CN108733337B (en) 2021-06-08

Family

ID=63936405

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810512189.0A Active CN108733337B (en) 2018-05-25 2018-05-25 Screen display method and device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108733337B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111142138A (en) * 2018-11-06 2020-05-12 Oppo广东移动通信有限公司 Electronic device, electronic device ranging method, and computer-readable storage medium
CN110175008A (en) * 2019-04-11 2019-08-27 努比亚技术有限公司 Method, wearable device and the computer readable storage medium of operating terminal
CN111147898A (en) * 2019-12-26 2020-05-12 武汉优聘科技有限公司 Method and system for controlling screen display content
CN111124340A (en) * 2019-12-26 2020-05-08 武汉优聘科技有限公司 Control method and system for screen display content
CN112783053A (en) * 2020-12-31 2021-05-11 Tcl家用电器(中山)有限公司 Control method, control device, integrated cooker and computer-readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103425453A (en) * 2013-08-23 2013-12-04 广东欧珀移动通信有限公司 Split screen display method and device
CN105468327A (en) * 2016-01-12 2016-04-06 福建星网锐捷安防科技有限公司 Large screen splicing display method, device and system
CN106293571A (en) * 2015-06-10 2017-01-04 宿迁淮海科技服务有限公司 A kind of splice displaying system of mobile phone screen
WO2017150901A1 (en) * 2016-03-02 2017-09-08 Samsung Electronics Co., Ltd. Electronic device and method for displaying and transmitting images thereof
CN107493375A (en) * 2017-06-30 2017-12-19 北京超卓科技有限公司 Mobile terminal expanded type throws screen method and throws screen system
CN107566866A (en) * 2017-09-21 2018-01-09 四川长虹电器股份有限公司 Can division use TV, close screen display, the method for split screen display available

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105100907B (en) * 2014-04-28 2018-05-15 宇龙计算机通信科技(深圳)有限公司 Selectivity throws the method and its device of screen
CN105045548B (en) * 2015-06-16 2018-12-25 广州视睿电子科技有限公司 A kind of wireless screen transmission method, expansion equipment and wireless screen transmission system
JP6866591B2 (en) * 2016-08-31 2021-04-28 セイコーエプソン株式会社 Display system, display system control method, and program
CN106502604A (en) * 2016-09-28 2017-03-15 北京小米移动软件有限公司 Throw screen changing method and device
CN106959796A (en) * 2017-03-22 2017-07-18 广东小天才科技有限公司 Mobile terminal screen display methods and device
CN107678717B (en) * 2017-09-15 2020-09-01 维沃移动通信有限公司 Split screen display method, mobile terminal and computer readable storage medium
CN107734288A (en) * 2017-09-27 2018-02-23 苏州成业网络科技有限公司 A kind of video conference blank split screen method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103425453A (en) * 2013-08-23 2013-12-04 广东欧珀移动通信有限公司 Split screen display method and device
CN106293571A (en) * 2015-06-10 2017-01-04 宿迁淮海科技服务有限公司 A kind of splice displaying system of mobile phone screen
CN105468327A (en) * 2016-01-12 2016-04-06 福建星网锐捷安防科技有限公司 Large screen splicing display method, device and system
WO2017150901A1 (en) * 2016-03-02 2017-09-08 Samsung Electronics Co., Ltd. Electronic device and method for displaying and transmitting images thereof
CN107493375A (en) * 2017-06-30 2017-12-19 北京超卓科技有限公司 Mobile terminal expanded type throws screen method and throws screen system
CN107566866A (en) * 2017-09-21 2018-01-09 四川长虹电器股份有限公司 Can division use TV, close screen display, the method for split screen display available

Also Published As

Publication number Publication date
CN108733337A (en) 2018-11-02

Similar Documents

Publication Publication Date Title
CN108733337B (en) Screen display method and device, electronic equipment and computer readable storage medium
CN104518953B (en) Method for deleting message, instant communication terminal and system
CN108255683B (en) Method for prompting message in terminal and terminal
WO2018161353A1 (en) Photo sharing method and device
CN107645551B (en) File transmission method and device
CN109309696B (en) Folder transmission method, sender, receiver, and storage medium
CN107786424B (en) Audio and video communication method, terminal and server
CN109445917B (en) Application processing method and device, electronic equipment and computer readable storage medium
CN108834132B (en) Data transmission method and equipment and related medium product
TW201508533A (en) Method and system for associating two terminals with each other, terminal and computer-readable storage medium
CN110928394A (en) Screen display method and electronic equipment
WO2018049885A1 (en) Data migration method and device
CN107295591B (en) Call method, device, computer storage medium and mobile terminal
WO2018049884A1 (en) Data migration method and device
CN108377486B (en) Information processing method, device, mobile terminal and computer readable storage medium
CN108391277B (en) Signal connection method, device, mobile terminal and computer readable storage medium
CN111357245B (en) Information searching method, terminal, network equipment and system
CN106484563B (en) Data migration method and terminal equipment
CN108366106B (en) Communication information updating method, management method, modification method and related equipment
WO2017000495A1 (en) Method and device for adding contacts
CN111209072B (en) Application sharing method, first electronic device and readable storage medium
CN110874130B (en) Notification information processing method and electronic equipment
CN110032422B (en) Application management method, terminal equipment and computer readable storage medium
CN106339402B (en) Method, device and system for pushing recommended content
CN109947617B (en) Method, terminal and readable storage medium for monitoring display content of application interface

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant