WO2022206566A1 - Collaborative display method and electronic device - Google Patents

Collaborative display method and electronic device Download PDF

Info

Publication number
WO2022206566A1
WO2022206566A1 PCT/CN2022/082856 CN2022082856W WO2022206566A1 WO 2022206566 A1 WO2022206566 A1 WO 2022206566A1 CN 2022082856 W CN2022082856 W CN 2022082856W WO 2022206566 A1 WO2022206566 A1 WO 2022206566A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
display
collaborative display
collaborative
displayed
Prior art date
Application number
PCT/CN2022/082856
Other languages
French (fr)
Chinese (zh)
Inventor
李世明
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022206566A1 publication Critical patent/WO2022206566A1/en

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
    • 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
    • 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/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels

Definitions

  • the embodiments of the present application relate to the field of electronic devices, and in particular, to a collaborative display method and electronic device.
  • Multi-screen collaboration technology can support the collaborative display of multiple electronic devices and is gradually being widely used.
  • an electronic device that controls collaborative display is called a master device
  • an electronic device that performs collaborative display under the control of the master device is called a slave device.
  • the main device can set options corresponding to multi-screen collaboration.
  • the option may include the positional relationship between the primary device and the secondary device, and the like.
  • the master device can control other electronic devices (such as auxiliary devices) with a display function that establish a connection relationship with the master device according to the set options, so as to realize collaborative display.
  • the main device may determine the content that the main device and the auxiliary device need to display in the collaborative display according to the positional relationship with the auxiliary device. In this way, the main device can control its display screen to display according to what the main device needs to display.
  • the main device can also instruct the auxiliary device, and display on the display screen of the auxiliary device according to the content that the auxiliary device needs to display.
  • Embodiments of the present application provide a collaborative display method and electronic device, which can enable an electronic device (eg, a first electronic device) to automatically determine the relative value of another device (eg, a second electronic device) for collaborative display relative to the first electronic device. position information, thereby adaptively adjusting the collaborative display scheme so that the correct collaborative display occurs without user intervention.
  • an electronic device eg, a first electronic device
  • another device eg, a second electronic device
  • a first aspect provides a collaborative display method, the method comprising: a first electronic device automatically determining position information of a second electronic device relative to the first electronic device, the position information includes an upper side of the first electronic device, the first electronic device The underside of the device, the left side of the first electronic device, and the right side of the first electronic device.
  • the first electronic device determines a collaborative display scheme according to the location information.
  • the first electronic device controls the first electronic device and the second electronic device to perform collaborative display according to the collaborative display scheme.
  • the first electronic device may serve as a master device, and the second electronic device may serve as a slave device.
  • the first electronic device can act as a control center in the collaborative display process, controlling the screen of the first electronic device to display corresponding content, and the first electronic device can also control the screen of the second electronic device to display corresponding content content, thereby realizing the collaborative display of the first electronic device and the second electronic device.
  • the first electronic device can determine the position of the second electronic device by itself, for example, the position of the second electronic device can be identified by a direction relative to the first electronic device.
  • the first electronic device can determine the location information of the second electronic device without user intervention, and control the first electronic device and the second electronic device to perform collaborative display accordingly.
  • the first electronic device can automatically determine the two screens in the collaborative display process according to the position of the second electronic device without the user's active setting.
  • the content to be displayed separately is to determine the collaborative display scheme. Since the collaborative display scheme corresponds to the positional relationship between the first electronic device and the second electronic device, there will be no collaborative display error caused by inconsistent collaborative display and location. It can be understood that this solution can be applied not only to the above-mentioned example, when the collaborative display is started, but also to the scenario where the relative positions of the first electronic device and the second electronic device change during the collaborative display. Based on similar reasons in the foregoing description, the accuracy of the collaborative display can therefore be ensured, and at the same time, the user does not need to set the relevant information again.
  • the method before the first electronic device automatically determines the position information of the second electronic device relative to the first electronic device, the method further includes: the first electronic device receives a user's operation, and the user's operation is used to indicate The first electronic device activates the collaborative display function. Or, the operation of the first user is used to instruct the first electronic device to activate the extended display mode. Or, the operation of the first user is used to instruct the first electronic device to activate the mirror display mode. Based on this scheme, an example of the application of this scheme is pointed out. For example, it can be applied in the scenario where the user instructs the electronic device to enter the collaborative display mode.
  • the first electronic device has the ability to detect the strength of the surrounding magnetic field.
  • the first electronic device automatically determines the position information of the second electronic device relative to the first electronic device, including: the first electronic device determines the position information according to the change of the surrounding magnetic field of the first electronic device.
  • the first electronic device determines the position information of the second electronic device relative to the first electronic device, and the direction includes the upper side of the first electronic device. , the lower side of the first electronic device, the left side of the first electronic device, and the right side of the first electronic device.
  • the first electronic device may determine the location of the second electronic device by monitoring changes in the magnetic field (such as changes in the strength of the magnetic field) in the surrounding environment. It should be noted that, in this example, in order to avoid misjudgment caused by weak changes in the magnetic field, the first electronic device may determine that the second electronic device is located in a corresponding direction when the magnetic field strength exceeds a preset threshold. Thereby, the accuracy of determining the location information is further improved.
  • the first electronic device is provided with a magnetic sensor, and the magnetic sensor is used to provide the first electronic device with the ability to detect the strength of the surrounding magnetic field. Based on this scheme, a specific method for electronic equipment to detect magnetic field changes is presented.
  • the electronic device may be provided with a magnetic sensor for monitoring the strength of the magnetic field.
  • the first electronic device controlling the first electronic device and the second electronic device to perform collaborative display according to the collaborative display scheme includes: the first electronic device controlling the first display of the first electronic device according to the collaborative display scheme The screen displays the first part of the content to be displayed.
  • the first electronic device controls the second display screen of the second electronic device to display the second part of the content to be displayed according to the second collaborative display scheme, and the first part and the second part constitute the content to be displayed.
  • the first electronic device may control the screen of the first electronic device and the screen of the second electronic device to display corresponding content according to the determined collaborative display scheme.
  • the collaborative display scheme corresponds to the positions of the first electronic device and the second electronic device
  • the positional relationship between the first part and the second part in the content to be displayed may be the same as that of the first electronic device and the second electronic device.
  • the position of the second electronic device corresponds to. This ensures the accuracy of the collaborative display.
  • the first part when the second electronic device is located on the left side of the first electronic device, the first part is the right part of the content to be displayed, and the second part is the left part of the content to be displayed .
  • the first part When the second electronic device is located on the right side of the first electronic device, the first part is the left part of the content to be displayed, and the second part is the right part of the content to be displayed.
  • the second electronic device When the second electronic device is located on the upper side of the first electronic device, the first part is the lower part of the content to be displayed, and the second part is the upper part of the content to be displayed.
  • the first part When the second electronic device is located on the lower side of the first electronic device, the first part is the upper part of the content to be displayed, and the second part is the lower part of the content to be displayed.
  • the method before the first electronic device determines the collaborative display scheme according to the position information, the method further includes: the first electronic device receives the attitude information of the second electronic device.
  • the first electronic device determines the collaborative display scheme according to the relative position, including: the first electronic device determines the collaborative display scheme according to the relative position and the attitude information of the second electronic device.
  • the first electronic device may further adjust the collaboratively displayed content in combination with the gesture information of the second electronic device. In this way, the accuracy of the collaboratively displayed content is further improved.
  • the posture information includes: landscape orientation or portrait orientation. Based on this scheme, a specific example of pose information is given.
  • the first electronic device may determine whether the second electronic device is in a landscape orientation or a portrait orientation. It is understandable that under different postures, the best solution for displaying content is different.
  • the second electronic device can display the second content in a horizontally stretched form in a landscape orientation, and for example, the second electronic device can display the second content in a vertical orientation in a portrait orientation.
  • the first electronic device can further adjust the display scheme of the second electronic device accordingly, thereby obtaining a better collaborative display effect.
  • the first electronic device and the second electronic device are in a wireless connection state.
  • the first electronic device may maintain a wireless connection state with the second electronic device, for example, the wireless connection state may be a collaborative display state based on the same local area network.
  • the wireless connection state may be a collaborative display state based on the same local area network.
  • the first electronic device can interact with the second electronic device. posture information.
  • the position information of the first electronic device relative to the second electronic device is the first position information.
  • the first electronic device and the second electronic device perform a first collaborative display according to the first collaborative display scheme according to the first position information.
  • the first location information corresponds to the first collaborative display scheme.
  • the first electronic device automatically determines the position information of the second electronic device relative to the first electronic device, including: the first electronic device automatically determines that the second electronic device is relative to the first electronic device.
  • the location information of an electronic device is the second location information.
  • the first electronic device determining the collaborative display scheme according to the position information includes: the first electronic device determining the second collaborative display scheme according to the second position information.
  • the first electronic device controls the first electronic device and the second electronic device to perform collaborative display according to the collaborative display scheme, including: the first electronic device controls the first electronic device and the second electronic device to perform collaborative display according to the second collaborative display scheme.
  • the display is switched to the second collaborative display, and the second collaborative display is a display corresponding to the second collaborative display scheme.
  • the first electronic device may continuously/intermittently adjust the collaborative display scheme according to the position of the second electronic device, so that when the position of the second electronic device changes (for example, from the first position information change to the second position information), the first electronic device can adaptively adjust the collaborative display scheme, and control the screen of the first electronic device and the screen of the second electronic device to display content corresponding to the current position information.
  • a collaborative display device in a second aspect, the device can be set in a first electronic device, the device includes: a determining unit for automatically determining position information of the second electronic device relative to the first electronic device, the position information includes Top side, bottom side, left side, right side.
  • the determining unit is further configured to determine the collaborative display scheme according to the location information.
  • the control unit is configured to control the first electronic device and the second electronic device to perform collaborative display according to the collaborative display scheme.
  • the apparatus further includes: a receiving unit, configured to receive a user's operation before the first electronic device automatically determines the position information of the second electronic device relative to the first electronic device, and the user's operation is used for The first electronic device is instructed to activate the collaborative display function. Or, the operation of the first user is used to instruct the first electronic device to activate the extended display mode. Or, the operation of the first user is used to instruct the first electronic device to activate the mirror display mode.
  • a receiving unit configured to receive a user's operation before the first electronic device automatically determines the position information of the second electronic device relative to the first electronic device, and the user's operation is used for The first electronic device is instructed to activate the collaborative display function. Or, the operation of the first user is used to instruct the first electronic device to activate the extended display mode. Or, the operation of the first user is used to instruct the first electronic device to activate the mirror display mode.
  • the first electronic device has the ability to detect the strength of the surrounding magnetic field.
  • the determining unit is specifically configured to determine the position information according to the change of the surrounding magnetic field of the first electronic device. Wherein, when the magnetic field strength in one direction exceeds a preset threshold, the determining unit determines the position information of the second electronic device in the first electronic device, and the directions include up, down, left, and right.
  • the first electronic device is provided with a magnetic sensor, and the magnetic sensor is used to provide the first electronic device with the ability to detect the strength of the surrounding magnetic field.
  • control unit is used for the first electronic device to control the first display screen of the first electronic device to display the first part of the content to be displayed according to the collaborative display scheme.
  • the control unit is further configured to control the second display screen of the second electronic device to display the second part of the content to be displayed according to the second collaborative display scheme, and the first part and the second part constitute the content to be displayed.
  • the first part when the second electronic device is located on the left side of the first electronic device, the first part is the right part of the content to be displayed, and the second part is the left part of the content to be displayed .
  • the first part When the second electronic device is located on the right side of the first electronic device, the first part is the left part of the content to be displayed, and the second part is the right part of the content to be displayed.
  • the second electronic device When the second electronic device is located on the upper side of the first electronic device, the first part is the lower part of the content to be displayed, and the second part is the upper part of the content to be displayed.
  • the first part When the second electronic device is located on the lower side of the first electronic device, the first part is the upper part of the content to be displayed, and the second part is the lower part of the content to be displayed.
  • the receiving unit is further configured to receive the attitude information of the second electronic device before the first electronic device determines the collaborative display scheme according to the position information.
  • the determining unit is configured to determine the collaborative display scheme according to the relative position and the attitude information of the second electronic device.
  • the posture information includes: landscape orientation or portrait orientation.
  • the first electronic device and the second electronic device are in a wireless connection state.
  • the location information of the first electronic device relative to the second electronic device is the first location information.
  • the control unit is configured to control the first electronic device to perform the first collaborative display according to the first collaborative display scheme according to the first position information.
  • the first location information corresponds to the first collaborative display scheme.
  • the determining unit is configured to automatically determine the position information of the second electronic device relative to the first electronic device as the second position information.
  • the determining unit is further configured to determine a second collaborative display scheme according to the second position information.
  • the control unit is configured to control the first electronic device and the second electronic device to switch from the first collaborative display to the second collaborative display according to the second collaborative display scheme, and the second collaborative display is the display corresponding to the second collaborative display scheme.
  • an electronic device in a third aspect, includes one or more processors and one or more memories.
  • the electronic device may be the first electronic device involved in the first aspect or the second aspect.
  • One or more memories are coupled to the one or more processors, and the one or more memories store computer instructions.
  • the computer instructions when executed by one or more processors, cause an electronic device to perform the method of co-displaying as described in any one of the first aspect and any of its possible designs.
  • a chip system in a fourth aspect, includes an interface circuit and a processor.
  • the chip system may be applied to the first electronic device involved in the first aspect or the second aspect.
  • the interface circuit and the processor are interconnected through lines; the interface circuit is used to receive signals from the memory and send signals to the processor, and the signals include computer instructions stored in the memory; when the processor executes the computer instructions, the chip system performs the first aspect and The synergy of any of its possible designs shows the method.
  • a computer-readable storage medium includes computer instructions, and when the computer instructions are executed, the collaborative display described in any one of the first aspect and any possible designs thereof is performed. this method.
  • a sixth aspect provides a computer program product, the computer program product includes instructions, when the computer program product runs on a computer, the computer can execute any one of the first aspect and any possible designs thereof according to the instructions
  • the described synergy shows the method.
  • 1 is a schematic diagram of a collaborative display
  • Fig. 2 is a kind of schematic diagram of the setting of collaborative display
  • FIG. 3 is a schematic diagram of the effect of a collaborative display
  • Fig. 4 is another kind of synergistic display effect schematic diagram
  • FIG. 5 is a schematic diagram of the composition of an electronic device provided by an embodiment of the present application.
  • FIG. 6 is a schematic diagram of location information determination according to an embodiment of the present application.
  • FIG. 7 is a schematic flowchart of a collaborative display method provided by an embodiment of the present application.
  • FIG. 8 is a schematic diagram of the effect of a collaborative display method provided by an embodiment of the present application.
  • FIG. 9 is a schematic flowchart of another collaborative display method provided by an embodiment of the present application.
  • FIG. 10 is a schematic diagram of a collaborative display scenario provided by an embodiment of the present application.
  • FIG. 11 is a schematic diagram of the effect of another collaborative display method provided by an embodiment of the present application.
  • FIG. 12 is a schematic diagram of the composition of a collaborative display device provided by an embodiment of the present application.
  • FIG. 13 is a schematic flowchart of another shooting method provided by an embodiment of the present application.
  • FIG. 14 is a schematic diagram of the composition of a chip system according to an embodiment of the present application.
  • Multi-screen collaboration technology plays an increasingly important role in scenarios such as mobile office and smart home.
  • the interactive interface between users and electronic devices can be expanded and the interactive experience can be enriched.
  • the multi-screen collaboration technology can also use the perception ability between electronic devices to make electronic devices more intelligent, thereby simplifying user operations and improving productivity.
  • the user when using the multi-screen collaborative technology for collaborative display, the user can set options for collaborative display on the main device.
  • the main device as a notebook computer as shown in FIG. 1 and the auxiliary device as a tablet computer as an example.
  • interface elements shown as 101 may be displayed on the collaborative display setting interface of the notebook computer. This interface element can be used to prompt the user to use extended mode for collaborative display.
  • the user can control devices such as a mouse, and select the extended mode, so that the notebook computer enters a collaborative display state.
  • the notebook computer before the notebook computer displays the collaborative display setting interface, the notebook computer can be interconnected with other electronic devices capable of collaborative display. It can be displayed collaboratively with other electronic devices (such as tablet computers, etc.). For example, after the laptop computer and the tablet computer are successfully interconnected, on the collaborative display setting interface, an electronic device (such as device X) that has been connected to the laptop computer may be displayed.
  • other electronic devices such as tablet computers, etc.
  • the user inputs an operation (such as an operation of selecting an extended mode) to the notebook computer through the control device as an example for description.
  • an operation such as an operation of selecting an extended mode
  • the user may also input the above operations in the form of touch. It can be understood that the user can also input operations through voice control or the like. The following description is given by taking the user inputting a control command to the electronic device through a mouse as an example.
  • the host device may display other collaborative display setting interfaces (such as a display parameter setting interface) after receiving the operation of selecting the extended mode by the user.
  • the display parameter setting interface may include a “tablet screen position” option for setting the relative position of the tablet computer and the notebook computer, and display setting options of other auxiliary devices (such as the “tablet screen position” shown in FIG. 2 . Sidebar Position” option).
  • the user can select the corresponding positional relationship in the “tablet screen position” option according to the relative positions of the tablet computer and the notebook computer during collaborative display.
  • the main device (such as a laptop computer) can determine the content to be displayed by the main device and the content to be displayed by the auxiliary device (such as a tablet computer) according to the position relationship selected by the user.
  • the positional relationship between the primary device and the secondary device may include that the secondary device is located on the left side of the primary device, the secondary device is located on the right side of the primary device, the secondary device is located on the upper side of the primary device, and the secondary device is located on the lower side of the primary device Wait.
  • the tablet computer placed on the right side of the notebook computer as an example.
  • the user can select an option on the interface corresponding to the corresponding position relationship on the laptop computer through the mouse (for example, select option 201 as shown in FIG. 2 ).
  • the notebook computer can receive the operation, and according to the operation, the notebook computer can determine that the tablet computer is located on the right side of the notebook computer during the collaborative display process.
  • the notebook computer can determine the content that needs to be displayed on the screen of the notebook computer and the content that the tablet computer needs to display during the collaborative display process.
  • the user can activate the collaborative display function of the electronic device (such as a notebook and/or a tablet computer) through the above operations as shown in FIG. 1 and FIG. 2 .
  • the electronic device such as a notebook and/or a tablet computer
  • a master device such as a laptop
  • the main device can control the auxiliary device (such as a tablet computer) to display another part of the image on its screen, thereby achieving the effect of expanding the display area of the displayed image.
  • the notebook computer can determine that the tablet computer is located on the right side of the notebook computer for collaborative display. .
  • a laptop can display the left-hand portion of a picture on the upper line of its screen.
  • the laptop can also control the tablet to display the right portion of the image on its screen.
  • the positional relationship between the main device and the auxiliary device in the real environment must be consistent with the positional relationship selected in the collaborative display setting process, so that the main device can know the position of the auxiliary device in the real environment, and then determine the collaborative display process. , the content that the primary and secondary devices need to display.
  • the main device cannot accurately Therefore, it is impossible to accurately determine the content that the main device and the auxiliary device need to display.
  • the main device is the device A shown in FIG. 4 and the auxiliary device is the device B shown in FIG. 4 .
  • device B may move in position.
  • device B can move from the right side of device A to the left side of device A.
  • device A determines whether device B is located on the right side of device A according to the preset settings.
  • Device A can continue to control device A and device B to perform collaborative display accordingly.
  • the situation as shown in (b) in FIG. 4 may occur. That is, the device B on the left side displays the image of the right part of the picture, while the device A on the right actually displays the image of the left part of the picture. This obviously cannot meet the needs of users for viewing or editing pictures.
  • the collaborative display solution provided by the embodiments of the present application enables the electronic device to automatically determine the positions of other devices in the collaborative display process, and perform collaborative display accordingly.
  • the main device can automatically determine the position of the auxiliary device, and accordingly determine the content to be displayed by the main device and the auxiliary device.
  • the main device can automatically determine the position of the auxiliary device, there is no need for the user to set manually, or the positional relationship between the main device and the auxiliary device changes.
  • Cooperative display content error problem is a problem.
  • FIG. 5 is a schematic diagram of the composition of an electronic device 500 according to an embodiment of the present application.
  • the electronic device 500 may be used for collaborative display.
  • the electronic device 500 may act as a master device for collaborative display.
  • the electronic device 500 can also be used as an auxiliary device for collaborative display.
  • the electronic device can be a mobile phone, a tablet computer, a personal digital assistant (PDA), an augmented reality (AR) ⁇ virtual reality (VR) device, a media player, etc.
  • PDA personal digital assistant
  • AR augmented reality
  • VR virtual reality
  • the electronic device may also be a wearable electronic device that is equipped with a display screen, such as a smart watch, and can perform collaborative display.
  • the specific form of the electronic device is not particularly limited in the embodiments of the present application.
  • the electronic device may include a processor 510 , an external memory interface 520 , an internal memory 521 , a universal serial bus (USB) interface 530 , a charge management module 540 , a power management module 541 , and a battery 542 , Antenna 1, Antenna 2, Mobile Communication Module 550, Wireless Communication Module 560, Audio Module 570, Speaker 570A, Receiver 570B, Microphone 570C, Headphone Interface 570D, Sensor Module 580, Key 590, Motor 591, Indicator 592, Camera 593 , display screen 594, and subscriber identification module (subscriber identification module, SIM) card interface 595 and so on.
  • a processor 510 the electronic device may include a processor 510 , an external memory interface 520 , an internal memory 521 , a universal serial bus (USB) interface 530 , a charge management module 540 , a power management module 541 , and a battery 542 , Antenna 1, Antenna 2, Mobile
  • the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device 500 .
  • the electronic device 500 may include more or fewer components than shown, or some components may be combined, or some components may be split, or a different arrangement of components.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 510 may include one or more processing units, for example, the processor 510 may include an application processor (application processor, AP), a modem processor, a graphics processor 510 (graphics processing unit, GPU), image signal processing image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and/or neural-network processing unit (NPU) )Wait.
  • the different processing units may be independent devices, or may be integrated into one or more processors 510 .
  • the controller may be the nerve center and command center of the electronic device 500 .
  • the controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 510 for storing instructions and data.
  • the memory in processor 510 is cache memory.
  • the memory may hold instructions or data that have just been used or recycled by the processor 510 . If the processor 510 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the waiting time of the processor 510 is reduced, thereby increasing the efficiency of the system.
  • the processor 510 may store an instruction or an instruction set corresponding to the collaborative display solution provided by the embodiment of the present application. Illustratively, it is taken as an example that the processor 510 is provided in the main device.
  • the processor 510 may determine the position of the auxiliary device according to the change of the surrounding magnetic field intensity.
  • the processor 510 may also be configured to determine the content to be displayed by the main device and the auxiliary device according to the position of the auxiliary device.
  • the processor 510 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver transmitter (UART) interface, a mobile industry processor 510 interface (MIPI) interface. ), General Purpose Input Output (GPIO) interface, Subscriber Identity Module (SIM) interface, and/or Universal Serial Bus (USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • UART universal asynchronous receiver transmitter
  • MIPI mobile industry processor 510 interface
  • GPIO General Purpose Input Output
  • SIM Subscriber Identity Module
  • USB Universal Serial Bus
  • the electronic device 500 may implement a shooting function through an ISP, a camera 593, a video codec, a GPU, a display screen 594, an application processor, and the like.
  • the ISP is used to process the data fed back by the camera 593 .
  • the shutter is opened, the light is transmitted to the photosensitive element of the camera 593 through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera 593 transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye.
  • ISP can also perform algorithm optimization on image noise, brightness, and skin tone. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be provided in the camera 593 .
  • Camera 593 is used to capture still images or video.
  • the object is projected through the lens to generate an optical image onto the photosensitive element.
  • the photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
  • the electronic device 500 may include 1 or N cameras 593 , where N is a positive integer greater than 1.
  • a digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 500 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy and so on.
  • Video codecs are used to compress or decompress digital video.
  • the electronic device 500 may support one or more video codecs.
  • the electronic device 500 can play or record videos in various encoding formats, for example, moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.
  • MPEG moving picture experts group
  • the NPU is a neural-network (NN) computing processor 510 , which can rapidly process input information and continuously self-learn by learning from the biological neural network structure, such as the transmission mode between neurons in the human brain.
  • Applications such as intelligent cognition of the electronic device 500 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
  • the charging management module 540 is used to receive charging input from the charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 540 may receive charging input from the wired charger through the USB interface 530 .
  • the charging management module 540 may receive wireless charging input through a wireless charging coil of the electronic device 500 . While the charging management module 540 charges the battery 542 , the electronic device 500 can also be powered by the power management module 541 .
  • the power management module 541 is used to connect the battery 542 , the charging management module 540 and the processor 510 .
  • the power management module 541 receives input from the battery 542 and/or the charging management module 540, and supplies power to the processor 510, the internal memory 521, the external memory, the display screen 594, the camera 593, and the wireless communication module 560.
  • the power management module 541 can also be used to monitor parameters such as the capacity of the battery 542, the number of cycles of the battery 542, and the health status (electric leakage, impedance) of the battery 542.
  • the power management module 541 may also be provided in the processor 510 .
  • the power management module 541 and the charging management module 540 may also be provided in the same device.
  • the wireless communication function of the electronic device 500 may be implemented by the antenna 1, the antenna 2, the mobile communication module 550, the wireless communication module 560, the modulation and demodulation processor, the baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 500 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 550 may provide a wireless communication solution including 2G/3G/4G/5G, etc. applied on the electronic device 500 .
  • the mobile communication module 550 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like.
  • the mobile communication module 550 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
  • the mobile communication module 550 can also amplify the signal modulated by the modulation and demodulation processor, and then convert it into electromagnetic waves for radiation through the antenna 1 .
  • at least part of the functional modules of the mobile communication module 550 may be provided in the processor 510 .
  • at least part of the functional modules of the mobile communication module 550 may be provided in the same device as at least part of the modules of the processor 510 .
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low frequency baseband signal is processed by the baseband processor and passed to the application processor.
  • the application processor outputs sound signals through audio devices (not limited to speaker 570A, receiver 570B, etc.), or displays images or videos through display screen 594 .
  • the modem processor may be a stand-alone device.
  • the modulation and demodulation processor may be independent of the processor 510, and may be provided in the same device as the mobile communication module 550 or other functional modules.
  • the wireless communication module 560 can provide applications on the electronic device 500 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellites Wireless communication solutions such as global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared technology (IR).
  • WLAN wireless local area networks
  • BT Bluetooth
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication
  • IR infrared technology
  • the wireless communication module 560 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 560 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 510 .
  • the wireless communication module 560 can also receive the signal to be sent from the processor 510 , perform frequency modulation on it, amplify it, and then convert it into electromagnetic waves for radiation through the antenna 2 .
  • the antenna 1 of the electronic device 500 is coupled with the mobile communication module 550, and the antenna 2 is coupled with the wireless communication module 560, so that the electronic device 500 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technologies may include, but are not limited to, GSM, GPRS, CDMA, WCDMA, TD-SCDMA, LTE, 5G and subsequent evolution standards, BT, GNSS, WLAN, NFC, FM, and/or IR technologies.
  • the mobile communication module 550 and/or the wireless communication module 560 in the electronic device 500 may be used to establish interconnection with other electronic devices under the control of the processor 510 .
  • the electronic device 500 may join the same local area network as the auxiliary device through the mobile communication module 550 and/or the wireless communication module 560 .
  • the electronic device 500 can communicate with the auxiliary device through the local area network.
  • the electronic device 500 may send the display information corresponding to the auxiliary device to the auxiliary device through the local area network. In order to facilitate the auxiliary device to perform collaborative display according to the received display information.
  • the electronic device 500 implements a display function through a GPU, a display screen 594, an application processor, and the like.
  • the GPU is the microprocessor 510 for image processing, and is connected to the display screen 594 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 510 may include one or more GPUs that execute program instructions to generate or alter display information.
  • Display screen 594 is used to display images, videos, and the like.
  • the electronic device 500 may include 1 or N display screens 594 , where N is a positive integer greater than 1.
  • both the main device and the auxiliary device can be provided with a display screen 594 .
  • the display screen of the primary device may perform collaborative display with the display screen of the secondary device.
  • the external memory interface 520 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 500.
  • the external memory card communicates with the processor 510 through the external memory interface 520 to realize the data storage function. For example to save files like music, video etc in external memory card.
  • Internal memory 521 may be used to store computer executable program code, which includes instructions.
  • the processor 510 executes various functional applications and data processing of the electronic device 500 by executing the instructions stored in the internal memory 521 .
  • the internal memory 521 may include a storage program area and a storage data area.
  • the storage program area can store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), and the like.
  • the storage data area may store data (such as audio data, phone book, etc.) created during the use of the electronic device 500 and the like.
  • the internal memory 521 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, general-purpose flash memory, and the like.
  • the electronic device 500 may implement audio functions through an audio module 570, a speaker 570A, a receiver 570B, a microphone 570C, an earphone interface 570D, and an application processor. Such as music playback, recording, etc.
  • the audio module 570 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal. Audio module 570 may also be used to encode and decode audio signals. In some embodiments, the audio module 570 may be provided in the processor 510 , or some functional modules of the audio module 570 may be provided in the processor 510 .
  • Speaker 570A also referred to as “speaker” is used to convert audio electrical signals into sound signals.
  • the electronic device 500 can listen to music through the speaker 570A, or listen to a hands-free call.
  • the receiver 570B also referred to as "earpiece" is used to convert audio electrical signals into sound signals.
  • the voice can be answered by placing the receiver 570B close to the human ear.
  • the microphone 570C also called “microphone” or “microphone” is used to convert sound signals into electrical signals.
  • the headphone jack 570D is used to connect wired headphones.
  • the sensor module 580 provided in the electronic device 500 provided in this embodiment of the present application may include one or more sensors of the same or different types.
  • the sensor module 580 may include a pressure sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
  • the magnetic sensor may comprise a Hall sensor.
  • the Hall sensor can determine the change of the magnetic field around the electronic device 500 according to the Hall effect.
  • the Hall effect is a kind of electromagnetic effect, which was discovered by American physicist Hall. According to the Hall effect, when a current passes through a semiconductor perpendicular to the external magnetic field, the carriers are sent offset, and an additional electric field is generated perpendicular to the direction of the current and the magnetic field, resulting in a potential difference across the semiconductor. This potential difference is also called the Hall potential difference.
  • the electronic device 500 may determine the change of the surrounding magnetic field according to the Hall sensor. It can be understood that one or more magnetic materials are provided in electronic devices. Therefore, when the auxiliary device is close to the main device, the magnetic material on the auxiliary device will have an effect on the magnetic field around the main device. When the electronic device 500 is used as the main device, it can determine the direction in which the auxiliary device approaches the main device according to the change of the magnetic field, thereby determining the relative positions of the main device and the auxiliary device.
  • the electronic device 500 can detect the opening and closing of the flip holster by using a magnetic sensor.
  • the electronic device 500 when the electronic device 500 is a flip machine, the electronic device 500 can detect the opening and closing of the flip according to the magnetic sensor. Further, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, characteristics such as automatic unlocking of the flip cover are set.
  • the electronic device 500 when the electronic device 500 is configured with a foldable screen, the electronic device 500 can use a magnetic sensor to detect the opening and closing states (eg, the unfolded state, or the closed state) of the foldable screen.
  • the electronic device 500 can realize automatic control of functions such as automatic unlocking and volume adjustment according to the detected opening and closing state of the folding screen.
  • Touch sensor also known as "touch panel”.
  • the touch sensor may be disposed on the display screen 594, and the touch sensor and the display screen 594 form a touch screen, also called a "touch screen”.
  • a touch sensor is used to detect touch operations on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • visual output related to touch operations may be provided via display screen 594 .
  • the touch sensor may also be disposed on the surface of the electronic device 500 , which is different from the location where the display screen 594 is located.
  • the sensor module 580 in the electronic device 500 may be integrated together to implement the functions of the above components, or may be partially integrated or separately provided with the above components to implement its sensing function of.
  • an inertial measurement unit Inertial Measurement Unit, IMU
  • the IMU can be used to implement 6-axis or 9-axis sensing functions. Illustratively, take 9-axis detection through the IMU as an example.
  • the IMU can be used to implement the sensing functions of components such as acceleration sensors, gyroscope sensors, and Hall sensors.
  • the keys 590 include a power-on key, a volume key, and the like.
  • the electronic device 500 may receive key 590 inputs and generate key signal inputs related to user settings and function control of the electronic device 500 .
  • the indicator 592 can be an indicator light, which can be used to indicate the charging status, the change of power, and can also be used to indicate messages, missed calls, notifications, and the like.
  • the SIM card interface 595 is used to connect a SIM card.
  • the collaborative display solution provided by the embodiments of the present application can be used in the electronic device 500 shown in FIG. 5 above.
  • one or more magnetic materials are disposed therein.
  • the mode of use of the tablet may include a holster mode.
  • the tablet can execute corresponding strategies according to the opening and closing status of the holster, such as screen-on/off-screen, etc.
  • a magnetic material can be arranged in the tablet computer, so that when the holster is closed, the magnetic material in the holster can attract each other with the magnetic material in the tablet computer, thereby achieving a tight fit. closed effect.
  • the magnetic material will be set according to its function implementation.
  • a magnetic material When a magnetic material enters a magnetic field, it has an effect on the magnetic field. For example, the strength of the magnetic field at the corresponding location of the magnetic material will change. The change of the magnetic field strength can be acquired by the Hall sensor, thereby enabling the electronic device provided with the Hall sensor to determine the orientation of the magnetic material.
  • the device 1 provided with a sensor (such as a Hall sensor) capable of detecting changes in the magnetic field
  • the device 2 provided with a magnetic material as an example.
  • the device 1 can obtain the distribution of the surrounding magnetic field through the sensor.
  • the device 2 approaches the device 1 in the negative direction of the X-axis, it will cause the change of the magnetic field strength of the device 1 in the positive direction of the X-axis.
  • the device 1 can acquire the change of the magnetic field strength through the sensor. Accordingly, device 1 can know that device 2 is approaching device 1 along the negative X-axis direction, that is, device 2 is located on the right side of device 1 .
  • the master device may determine the position of the auxiliary device close to the master device according to the technical means in the above description. Then, the main device can determine the content to be displayed by the main device and the auxiliary device respectively in the collaborative display according to the position of the auxiliary device. Then, the corresponding content is displayed on the screen of the main device and the auxiliary device is controlled to display the corresponding content on the screen, thereby realizing the coordinated display of the main device and the auxiliary device.
  • the main device can automatically identify the position of the auxiliary device according to its internal components, it is not necessary for the user to manually set the position options of the auxiliary device in the collaborative display process (for example, according to the scheme shown in Fig. 1-Fig. Options). Therefore, the problem of collaborative display errors caused by the inconsistency between the location options set by the user and the positions of the main device and the auxiliary device in the actual scene can be avoided, and at the same time, the electronic device can provide a more convenient collaborative display capability.
  • FIG. 7 is a schematic flowchart of a collaborative display method provided by an embodiment of the present application.
  • the main device is device 1
  • the auxiliary device is device 2
  • the display screen of the main device is screen 1
  • the display screen of the auxiliary device is screen 2 as an example.
  • the solution can include:
  • the device 1 determines the position information of the device 2 relative to the device 1 according to the change of the magnetic field.
  • the position information of the device 2 relative to the device 1 may include one of the upper side of the device 1 , the lower side of the device 1 , the left side of the device 1 , and the right side of the device 1 .
  • the device 1 may determine the position information of the device 2 relative to the device 1 when the magnetic field strength in one direction reaches (or exceeds) a preset threshold (eg, a first threshold).
  • a preset threshold eg, a first threshold
  • the device 1 may determine that the position information of the device 2 relative to the device 1 at this time is: the right side of the device 1 . That is, device 1 can determine that device 2 is located to the right of device 1 .
  • the device 1 may determine that the position information of the device 2 relative to the device 1 at this time is: the left side of the device 1 .
  • the device 1 may determine that the position information of the device 2 relative to the device 1 at this time is: the upper side of the device 1 .
  • the device 1 may determine that the position information of the device 2 relative to the device 1 at this time is: the lower side of the device 1 .
  • the device 1 may determine the location information of the device 2 when the change value of the magnetic field strength in one direction reaches another corresponding preset threshold (eg, a second threshold).
  • another corresponding preset threshold eg, a second threshold
  • the device 1 may determine that the device 2 is located on the right side of the device 1 when it is determined that the change value of the magnetic field strength in the positive direction of the X-axis reaches the second threshold.
  • the device 1 may determine that the device 2 is located on the left side of the device 1 when it is determined that the change value of the magnetic field strength in the negative direction of the X-axis reaches the second threshold.
  • the device 1 may determine that the device 2 is located on the upper side of the device 1 when it is determined that the change value of the magnetic field strength in the positive direction of the Y-axis reaches the second threshold.
  • the device 1 may determine that the device 2 is located on the lower side of the device 1 at this time when it is determined that the change value of the magnetic field strength in the negative direction of the Y-axis reaches the second threshold.
  • the device 1 determines a collaborative display scheme according to the position information of the device 2 relative to the device 1 .
  • the collaborative display scheme may also be simply referred to as a display scheme.
  • the display scheme may include display scheme 1 and display scheme 2.
  • the display scheme 1 may be a scheme displayed by the screen 1 on the device 1 during the collaborative display process.
  • the display scheme 2 may be a scheme displayed by the screen 2 on the device 2 during the collaborative display process.
  • the device 1 can determine the display scheme 1 according to the position information of the device 2 relative to the device 1 .
  • the device 1 may determine the content to be displayed on the screen 1 of the device 1, that is, determine the display scheme 1 on the screen 1.
  • the device 1 may determine that the left part of the image of the picture needs to be displayed in the display solution 1.
  • the device 1 may determine that the right part of the image of the picture needs to be displayed in the display solution 1.
  • the device 1 may determine that the lower part of the image of the picture needs to be displayed in the display scheme 1.
  • the device 1 may determine that the upper part of the image of the picture needs to be displayed in the display scheme 1.
  • the device 1 can also determine the display scheme 2 according to the position information of the device 2 relative to the device 1 .
  • the device 2 is used as a secondary device, and the content to be displayed is determined by the main device and controls the device 2 to display. Therefore, in this embodiment, in combination with the foregoing description, the device 1 can also determine the content to be displayed by the device 2 according to the position information of the device 2 relative to the device 1 .
  • the device 1 may determine that the right part of the image of the picture needs to be displayed in the display scheme 2.
  • the device 1 may determine that the left part of the image of the picture needs to be displayed in the display scheme 2.
  • the device 1 may determine that the upper part of the image of the picture needs to be displayed in the display scheme 2.
  • the device 1 may determine that the lower part of the image of the picture needs to be displayed in the display scheme 2.
  • device 1 can adaptively adjust the display scheme on device 1 (such as display scheme 1) and the display scheme on device 2 (such as display scheme 2) according to the position information of device 2 relative to device 1.
  • the operations performed by the device 1 to determine the display scheme 1 and the display scheme 2 may have different sequences.
  • device 1 may determine display solution 2 after determining display solution 1, thereby avoiding centralized consumption of computing power.
  • the device 1 can determine the display scheme 1 after determining the display scheme 2, so that the device 1 can control the device 2 to prepare for display according to the display scheme 2 while determining the display scheme 1, so as to achieve the effect of parallel processing , to improve the synchronization of the content displayed on the two screens during the collaborative display process.
  • the device 1 can also determine the display scheme 2 while determining the display scheme 1, so that the time-consuming of data processing in the collaborative display process can also be saved through parallel processing.
  • the device 1 controls the screen 1 of the device 1 and the screen 2 of the device 2 to perform collaborative display according to the collaborative display scheme.
  • the device 1 may send the display scheme 2 to the device 2, so that the device 2 can display according to the display scheme 2.
  • the device 1 can send the display scheme 2 of the device 2 to the device 2 through the interconnection channel with the device 2. So that the device 2 can perform collaborative display according to the display scheme 2 sent by the device 1.
  • the device 1 can also control the screen 1 to perform corresponding display according to the display scheme 1 .
  • the device 1 since the device 1 can be controlled internally, the display of the screen 1 can be controlled according to the display scheme 1 . However, the device 1 needs to communicate with the device 2 to control the display of the device 2 so that the device 2 can be controlled to perform the corresponding collaborative display according to the display scheme 2 .
  • the device 1 may control the screen 1 to display; at the same time, the device 2 may be controlled to display according to the display scheme 2.
  • the display of the screen 1 may be slightly earlier than the display of the screen 2, thereby allowing the user to quickly view a part of the content displayed in conjunction.
  • this solution can be applied to a scenario where the collaborative display content is relatively complex.
  • the device 1 may control the display of the screen 1 with reference to the timing of controlling the device 2 to perform display which takes a long time. In this way, the effect of displaying the collaboratively displayed content on the screen 1 and the screen 2 at the same time is achieved. In this way, the user can view the collaboratively displayed content completely, and the integrity of the collaboratively displayed content can be better displayed to the user. For example, this solution can be applied to a scenario where the collaborative display content is relatively simple.
  • the device 1 can automatically adjust the content to be displayed by the device 1 and the device 2 during the collaborative display process.
  • This enables device 1 and device 2 to automatically adjust the displayed content according to the location information of device 2 relative to device 1 without user operation, effectively avoiding the situation where the location option set by the user does not match the actual location.
  • FIG. 8 please refer to FIG. 8 .
  • the main device can autonomously adjust according to the auxiliary device.
  • the position of adjusts the display content of the two devices during the collaborative display process, so the correct collaborative display effect as shown in Figure 8 can be obtained without the problem shown in (b) of Figure 4.
  • the solution may be applied to a scenario where two devices start to perform collaborative display.
  • the user does not need to set location-related options, and can use two devices for collaborative display.
  • the user may not need to input the operation shown in FIG. 2 after inputting the operation of selecting the expansion mode as shown in FIG. 1 .
  • the main device (the notebook computer shown in Fig. 1) can detect the change of the surrounding magnetic field according to the scheme shown in Fig. 7 after receiving the operation of the expansion mode selected by the user, and determine the auxiliary device (such as the tablet computer). ) relative to the position information of the master device, and determine the display content of the master device and the slave device accordingly (eg, determine a co-display scheme). Further, according to the determined display content, the two electronic devices are controlled to perform corresponding collaborative display.
  • the solution can be applied to a scenario where two devices are in the process of co-displaying. Therefore, when the location information of the auxiliary device relative to the main device changes, the user does not need to re-set the location-related options, and it is also possible to ensure that the two devices perform correct collaborative display.
  • the notebook can determine the position information of the tablet computer relative to the notebook computer after moving according to the scheme shown in Figure 7, when the magnetic field no longer changes, according to the current magnetic field and the distribution of the magnetic field when the magnetic field begins to change.
  • the notebook computer can adjust the collaborative display scheme according to the determined position information of the tablet computer, thereby realizing the adaptive adjustment of the collaborative display.
  • the master device controls the slave devices to perform collaborative display as an example for description.
  • the auxiliary device may also perform corresponding operations, so that the adaptive adjustment of the collaborative display is more flexible and accurate.
  • the device 1 executes S701, that is, when the position of the device 2 is determined according to the change of the magnetic field, the device 2 can also judge the change of the surrounding magnetic field during the movement of the device 2 according to the Hall sensor set on the device 2. For example, when the device 2 approaches the device 1 in the negative direction of the X-axis, the device 2 can determine that the magnetic field in the negative direction of the X-axis changes through its Hall sensor. Thus, device 2 can determine that device 1 is approaching from the right side of device 1 . The device 2 can send the relative position information of the device 2 and the device 1 to the device 1, so that the device 1 can determine that the device 2 is located on the right side of the device 1. Alternatively, the device 1 can comprehensively determine that the device 2 is located on the right side of the device 1 according to the position information received from the device 2 and the position information of the device 2 determined by the Hall sensor on the device 1 .
  • device 2 may also send its own posture information (such as landscape orientation or portrait orientation) to device 1, so that device 1 can adjust the display scheme corresponding to device 2 accordingly, so that device 1 can Control the content of the collaborative display on device 2 more accurately.
  • posture information such as landscape orientation or portrait orientation
  • FIG. 9 another schematic flowchart of collaborative display provided by an embodiment of the present application. Among them, continue to take the device 1 as the main device and the device 2 as the auxiliary device as an example for description. As shown in Figure 9, the method may include:
  • the device 1 determines the position information of the device 2 relative to the device 1 according to the change of the magnetic field.
  • the device 1 determines the display scheme 3 on the screen 1 according to the position information of the device 2 relative to the device 1 .
  • the device 1 may also make a comprehensive judgment in combination with the attitude information 1 of the device 1 .
  • the posture information 1 of the device 1 may include a landscape orientation or a portrait orientation.
  • the gesture information 1 can be determined by the IMU set on the device 1, or determined by the gravity sensor set on the device 1, or determined by the device 1 through the aspect ratio of the content currently displayed on the screen 1 . This embodiment of the present application does not limit the manner in which the device 1 acquires the gesture information 1 .
  • the device 2 determines the posture information 2 of the device 2 .
  • the posture information of the device 2 may include a landscape orientation or a portrait orientation. Its acquisition method is similar.
  • the device 2 sends the gesture information 2 to the device 1 .
  • the device 2 may send the gesture information 2 to the device 1 through the interconnected communication relationship established with the device 1 .
  • the device 1 determines the display scheme 4 of the device 2 according to the position information and the attitude information 2 of the device 2 relative to the device 1 .
  • the device 2 can send the acquired gesture information 2 to the device 1, so that the device 1 can more accurately determine the display content corresponding to the device 2 in the collaborative display process.
  • the device 1 may determine, according to the posture information 2 obtained from the device 2, whether the posture of the device 2 is a landscape screen or a portrait screen in the current collaborative display scenario. Further, the device 1 can flexibly adjust the display scheme 4 corresponding to the device 2 accordingly.
  • the device 1 may acquire the gesture information of the device 2 after determining the display scheme 3 . It should be understood that the device 1 may acquire the posture information of the device 2 before determining the display scheme 3 .
  • the timings at which the device 1 determines the display scheme 3 and the display scheme 4 are also partially sequential, and may be executed sequentially or in parallel. The two can not interfere with each other and are independent of each other.
  • the device 1 controls the screen 1 and the screen 2 to perform collaborative display according to the display scheme 3 and the display scheme 4.
  • the device 1 may send the display scheme 4 to the device 2; so as to control the device 2 to display on the screen 2 according to the display scheme 4.
  • the device 1 can also control the screen 1 to display according to the display scheme 3 .
  • device 1 can control device 2 to display according to the display scheme 4 .
  • device 1 can send the display scheme 4 to device 2, so that device 2 can perform collaborative display according to the display scheme 4.
  • the display effect is as shown in FIG. 11 .
  • the device 1 can more reasonably control the device 2 to perform collaborative display, without the situation that the image content cannot be fully displayed.
  • the trigger mechanism for device 1 to detect changes in its surrounding magnetic field may be that after device 1 receives the user’s instruction to start the collaborative display operation, it implements the detection of its surrounding magnetic field. , or the magnetic field detection can be triggered according to a certain period.
  • the device 1 determines the display scheme of the device 2, which may also be determined with reference to hardware information such as the device model of the device 2.
  • different electronic devices have different effects on the magnetic field. That is to say, when the auxiliary devices of different models approach the main device in different directions, the changes of the magnetic field detected by the device 1 are different. Therefore, in some embodiments of the present application, the device 1 may be configured with the model of the device with which it may be displayed collaboratively, and the corresponding relationship with the magnetic field changes corresponding to different devices. Different magnetic field changes can correspond to different threshold settings. For example, take the solution shown in FIG. 7 as an example. Device 1 can be interconnected with device 2 when the collaborative display is started.
  • device 1 can know the device model of device 2. According to the device model of the device 2, the device 1 can obtain the threshold value of the magnetic field change corresponding to the device 2 from the pre-configured corresponding relationship. Then, in the process of performing S701 by the device 1, the device 1 can more accurately determine whether the device 2 is close to the device 1 and whether the device 2 is relative to the device 2 according to the change of the magnetic field and the threshold value of the magnetic field change corresponding to the device 2 determined above. 1 location information. It can be understood that, since device 1 can flexibly select the corresponding threshold according to the device model of device 2, device 1 can more accurately determine the location information of device 2, thereby enabling device 1 to more accurately control screen 1 and device 2. screen 2 for collaborative display.
  • the above descriptions of the solutions provided by the embodiments of the present application are described by taking the main device automatically determining the position information of the auxiliary device according to the magnetic field change, thereby achieving the effect of accurate and convenient collaborative display as an example.
  • the methods provided by the embodiments of the present application may also be applied to other multi-screen display scenarios other than collaborative display.
  • the master device in a display mode such as a mirror display mode or an extended display mode, the master device also needs to determine a corresponding display scheme according to the positional relationship between multiple screens, and then control each screen to display corresponding content.
  • the master device can automatically determine the location information of other devices participating in multi-screen display, and provide an accurate display solution accordingly. In this way, the effect of accurate display can also be achieved without user setting.
  • each functional module may be divided into each function, or two or more functions may be integrated into one processing module.
  • the above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. It should be noted that, the division of modules in the embodiments of the present application is schematic, and is only a logical function division, and there may be other division manners in actual implementation.
  • FIG. 12 is a schematic diagram of the composition of a collaborative display device 1200 according to an embodiment of the present application.
  • the apparatus can be set in the first electronic device, and is used to realize the collaborative display solution in the above-mentioned embodiment.
  • the collaborative display apparatus 1200 described in FIG. 12 may be provided in the electronic device 500 , or may be another description of the electronic device 500 .
  • the functions of each unit included therein may be implemented by hardware components in the electronic device 500 .
  • the apparatus includes: a determining unit 1201, configured to automatically determine position information of the second electronic device relative to the first electronic device, where the position information includes the upper side of the first electronic device, the lower side of the first electronic device, and the first electronic device. The left side of one electronic device, the right side of the first electronic device.
  • the determining unit 1201 is further configured to determine a collaborative display scheme according to the location information.
  • the control unit 1202 is configured to control the first electronic device and the second electronic device to perform collaborative display according to the collaborative display scheme.
  • the apparatus further includes: a receiving unit 1203, configured to receive the user's operation before the first electronic device automatically determines the position information of the second electronic device relative to the first electronic device. for instructing the first electronic device to activate the collaborative display function. Or, the operation of the first user is used to instruct the first electronic device to activate the extended display mode. Or, the operation of the first user is used to instruct the first electronic device to activate the mirror display mode.
  • the first electronic device has the ability to detect the strength of the surrounding magnetic field.
  • the determining unit 1201 is specifically configured to determine the position information according to the change of the surrounding magnetic field of the first electronic device. Wherein, when the magnetic field strength in one direction exceeds a preset threshold, the determining unit 1201 determines the position information of the second electronic device relative to the first electronic device, the direction includes the upper side of the first electronic device, the The lower side, the left side of the first electronic device, the right side of the first electronic device.
  • the first electronic device is provided with a magnetic sensor, and the magnetic sensor is used to provide the first electronic device with the ability to detect the strength of the surrounding magnetic field.
  • control unit 1202 is used for the first electronic device to control the first display screen of the first electronic device to display the first part of the content to be displayed according to the collaborative display scheme.
  • the control unit 1202 is further configured to control the second display screen of the second electronic device to display the second part of the content to be displayed according to the second collaborative display scheme, and the first part and the second part constitute the content to be displayed.
  • the first part when the second electronic device is located on the left side of the first electronic device, the first part is the right part of the content to be displayed, and the second part is the left part of the content to be displayed .
  • the first part When the second electronic device is located on the right side of the first electronic device, the first part is the left part of the content to be displayed, and the second part is the right part of the content to be displayed.
  • the second electronic device When the second electronic device is located on the upper side of the first electronic device, the first part is the lower part of the content to be displayed, and the second part is the upper part of the content to be displayed.
  • the first part When the second electronic device is located on the lower side of the first electronic device, the first part is the upper part of the content to be displayed, and the second part is the lower part of the content to be displayed.
  • the receiving unit 1203 is further configured to receive the attitude information of the second electronic device before the first electronic device determines the collaborative display scheme according to the position information.
  • the determining unit 1201 is configured to determine the collaborative display scheme according to the relative position and the attitude information of the second electronic device.
  • the posture information includes: landscape orientation or portrait orientation.
  • the first electronic device and the second electronic device are in a wireless connection state.
  • the location information of the first electronic device relative to the second electronic device is the first location information .
  • the control unit 1202 is configured to control the first electronic device to perform the first collaborative display according to the first collaborative display scheme according to the first position information.
  • the first location information corresponds to the first collaborative display scheme.
  • the determining unit 1201 is configured to automatically determine that the position information of the second electronic device relative to the first electronic device is the second position information.
  • the determining unit 1201 is further configured to determine a second collaborative display scheme according to the second position information.
  • the control unit 1202 is configured to control the first electronic device and the second electronic device to switch from the first collaborative display to the second collaborative display according to the second collaborative display scheme, and the second collaborative display is the display corresponding to the second collaborative display scheme.
  • FIG. 13 shows a schematic diagram of the composition of an electronic device 1300 .
  • the electronic device 1300 may be the first electronic device in the foregoing embodiment.
  • the electronic device 1300 may include: a processor 1301 and a memory 1302 .
  • the memory 1302 is used to store computer-implemented instructions.
  • the processor 1301 executes the instructions stored in the memory 1302, the electronic device 1300 can be made to execute the collaborative display method shown in any one of the foregoing embodiments.
  • FIG. 14 shows a schematic diagram of the composition of a chip system 1400 .
  • the chip system 1400 may include: a processor 1401 and a communication interface 1402, which are used to support related devices to implement the functions involved in the above embodiments.
  • the chip system further includes a memory for storing necessary program instructions and data of the terminal.
  • the chip system may be composed of chips, or may include chips and other discrete devices.
  • the communication interface 1402 may also be referred to as an interface circuit.
  • the functions or actions or operations or steps in the above embodiments may be implemented in whole or in part by software, hardware, firmware or any combination thereof.
  • a software program When implemented using a software program, it can be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, all or part of the processes or functions described in the embodiments of the present application are generated.
  • the computer may be a general purpose computer, special purpose computer, computer network, or other programmable device.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server, or data center Transmission to another website site, computer, server, or data center by wire (eg, coaxial cable, optical fiber, digital subscriber line, DSL) or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer-readable storage medium can be any available medium that can be accessed by a computer, or data storage devices including one or more servers, data centers, etc. that can be integrated with the medium.
  • the usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVDs), or semiconductor media (eg, solid state disks (SSDs)), and the like.

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)
  • User Interface Of Digital Computer (AREA)

Abstract

The present application relates to the field of electronic devices, and provides a collaborative display method and an electronic device. The electronic device adaptively adjusts a collaborative display solution to achieve an effect of performing correct collaborative display without user intervention. The specific solution comprises: a first electronic device automatically determines position information of a second electronic device with respect to the first electronic device, the position information comprising an upper side, a lower side, a left side, and a right side; the first electronic device determines a collaborative display solution according to the position information; and the first electronic device controls, according to the collaborative display solution, the first electronic device and the second electronic device to perform collaborative display.

Description

一种协同显示方法和电子设备A collaborative display method and electronic device
本申请要求于2021年3月29日提交国家知识产权局、申请号为202110334007.7、申请名称为“一种协同显示方法和电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202110334007.7 and the application title "A Collaborative Display Method and Electronic Device" filed with the State Intellectual Property Office on March 29, 2021, the entire contents of which are incorporated herein by reference Applying.
技术领域technical field
本申请实施例涉及电子设备领域,尤其涉及一种协同显示方法和电子设备。The embodiments of the present application relate to the field of electronic devices, and in particular, to a collaborative display method and electronic device.
背景技术Background technique
多屏协同技术可以支持多个电子设备的协同显示,逐渐被广泛应用。作为一种示例,以控制协同显示的电子设备称为主设备,在主设备的控制下进行协同显示的电子设备称为辅设备为例。主设备可以设置多屏协同对应的选项。其中,该选项可以包括主设备与辅设备的位置关系等。主设备可以根据设置的选项,控制与主设备建立连接关系的其他具有显示功能的电子设备(如辅设备),实现协同显示。例如,主设备可以根据与辅设备的位置关系,确定在协同显示中,主设备以及辅设备需要显示的内容。这样,主设备可以控制其显示屏根据主设备需要显示的内容进行显示。另外,主设备还可以指示辅设备,在辅设备的显示屏上根据辅设备需要显示的内容进行显示。Multi-screen collaboration technology can support the collaborative display of multiple electronic devices and is gradually being widely used. As an example, an electronic device that controls collaborative display is called a master device, and an electronic device that performs collaborative display under the control of the master device is called a slave device. The main device can set options corresponding to multi-screen collaboration. The option may include the positional relationship between the primary device and the secondary device, and the like. The master device can control other electronic devices (such as auxiliary devices) with a display function that establish a connection relationship with the master device according to the set options, so as to realize collaborative display. For example, the main device may determine the content that the main device and the auxiliary device need to display in the collaborative display according to the positional relationship with the auxiliary device. In this way, the main device can control its display screen to display according to what the main device needs to display. In addition, the main device can also instruct the auxiliary device, and display on the display screen of the auxiliary device according to the content that the auxiliary device needs to display.
由于电子设备之间的位置关系是用户通过主设备设置的,因此,在主设备和辅设备的位置关系与设置的位置关系不一致时,就会出现协同显示出错的问题。为了纠正上述问题,就需要用户重新在主设备上设置的多屏协同对应的选项。因此使得协同显示的实现较为复杂,不够智能。Since the positional relationship between the electronic devices is set by the user through the main device, when the positional relationship between the main device and the auxiliary device is inconsistent with the set positional relationship, a collaborative display error occurs. In order to correct the above problem, the user needs to reset the options corresponding to the multi-screen collaboration on the main device. Therefore, the realization of collaborative display is complicated and not intelligent enough.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种协同显示方法和电子设备,可以使得电子设备(如第一电子设备)自动确定用于进行协同显示的其他设备(如第二电子设备)的相对于第一电子设备的位置信息,由此自适应地调整协同显示方案,使得在不需要用户介入的情况下进行正确的协同显示。Embodiments of the present application provide a collaborative display method and electronic device, which can enable an electronic device (eg, a first electronic device) to automatically determine the relative value of another device (eg, a second electronic device) for collaborative display relative to the first electronic device. position information, thereby adaptively adjusting the collaborative display scheme so that the correct collaborative display occurs without user intervention.
为了达到上述目的,本申请实施例采用如下技术方案:In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
第一方面,提供一种协同显示该方法,该方法包括:第一电子设备自动确定第二电子设备相对于第一电子设备的位置信息,位置信息包括第一电子设备的上侧,第一电子设备的下侧,第一电子设备的左侧,第一电子设备的右侧。第一电子设备根据位置信息,确定协同显示方案。第一电子设备根据协同显示方案,控制第一电子设备和第二电子设备进行协同显示。A first aspect provides a collaborative display method, the method comprising: a first electronic device automatically determining position information of a second electronic device relative to the first electronic device, the position information includes an upper side of the first electronic device, the first electronic device The underside of the device, the left side of the first electronic device, and the right side of the first electronic device. The first electronic device determines a collaborative display scheme according to the location information. The first electronic device controls the first electronic device and the second electronic device to perform collaborative display according to the collaborative display scheme.
基于该方案,提供了一种两个电子设备的协同显示方案。在该示例中,第一电子设备可以作为主设备,第二电子设备可以作为辅设备。例如,在协同显示过程中,第一电子设备可以作为协同显示过程中的控制中心,控制第一电子设备的屏幕显示对应的内容,另外第一电子设备还可以控制第二电子设备的屏幕显示对应的内容,由此实现第一电子设备和第二电子设备的协同显示。在本方案中,第一电子设备可以自行确定第二电子设备的位置,比如该第二电子设备的位置可以通过相对于第一电子设备的方向标识。第一电子设备可以在不需要用户介入的情况下,确定第二电子设备的位置 信息,并据此控制第一电子设备和第二电子设备进行协同显示。示例性的,第二电子设备在同第一电子设备开始协同显示时,第一电子设备能够在不需要用户主动设置的前提下,根据第二电子设备的位置自行确定协同显示过程中两个屏幕分别要显示的内容,即确定协同显示方案。由于该协同显示方案与第一电子设备和第二电子设备的位置关系对应,因此不会出现协同显示与位置不一致而产生的协同显示出错的情况发生。可以理解的是,本方案除了可以应用于上述示例中,开始进行协同显示时的场景下,还可以应用于协同显示过程中,第一电子设备和第二电子设备相对位置发生变化的场景。基于前述说明中类似的理由,因此能够保证协同显示的准确性,同时不需要用户再次设置相关信息。Based on this solution, a collaborative display solution of two electronic devices is provided. In this example, the first electronic device may serve as a master device, and the second electronic device may serve as a slave device. For example, in the collaborative display process, the first electronic device can act as a control center in the collaborative display process, controlling the screen of the first electronic device to display corresponding content, and the first electronic device can also control the screen of the second electronic device to display corresponding content content, thereby realizing the collaborative display of the first electronic device and the second electronic device. In this solution, the first electronic device can determine the position of the second electronic device by itself, for example, the position of the second electronic device can be identified by a direction relative to the first electronic device. The first electronic device can determine the location information of the second electronic device without user intervention, and control the first electronic device and the second electronic device to perform collaborative display accordingly. Exemplarily, when the second electronic device starts the collaborative display with the first electronic device, the first electronic device can automatically determine the two screens in the collaborative display process according to the position of the second electronic device without the user's active setting. The content to be displayed separately is to determine the collaborative display scheme. Since the collaborative display scheme corresponds to the positional relationship between the first electronic device and the second electronic device, there will be no collaborative display error caused by inconsistent collaborative display and location. It can be understood that this solution can be applied not only to the above-mentioned example, when the collaborative display is started, but also to the scenario where the relative positions of the first electronic device and the second electronic device change during the collaborative display. Based on similar reasons in the foregoing description, the accuracy of the collaborative display can therefore be ensured, and at the same time, the user does not need to set the relevant information again.
在一种可能的设计中,在第一电子设备自动确定第二电子设备相对于第一电子设备的位置信息之前,该方法还包括:第一电子设备接收用户的操作,用户的操作用于指示第一电子设备激活协同显示功能。或者,第一用户的操作用于指示第一电子设备激活扩展显示模式。或者,第一用户的操作用于指示第一电子设备激活镜像显示模式。基于该方案,指出了本方案应用的场景示例。比如,可以应用在用户指示电子设备进入协同显示模式的场景下。可以理解的是,在扩展模式,镜像模式等其他多屏幕的显示场景下,为了能够保证各个屏幕显示内容的准确性,也需要明确各个屏幕的相对位置关系。因此也能够应用本发明示例的方案,达到准确显示,并不需要用户参与设置的效果。In a possible design, before the first electronic device automatically determines the position information of the second electronic device relative to the first electronic device, the method further includes: the first electronic device receives a user's operation, and the user's operation is used to indicate The first electronic device activates the collaborative display function. Or, the operation of the first user is used to instruct the first electronic device to activate the extended display mode. Or, the operation of the first user is used to instruct the first electronic device to activate the mirror display mode. Based on this scheme, an example of the application of this scheme is pointed out. For example, it can be applied in the scenario where the user instructs the electronic device to enter the collaborative display mode. It can be understood that in other multi-screen display scenarios such as the extended mode and the mirroring mode, in order to ensure the accuracy of the displayed content of each screen, the relative positional relationship of each screen also needs to be clarified. Therefore, the solution exemplified in the present invention can also be applied to achieve the effect of accurate display without requiring the user to participate in setting.
在一种可能的设计中,第一电子设备具有检测周边磁场强度的能力。第一电子设备自动确定第二电子设备相对于第一电子设备的位置信息,包括:第一电子设备根据第一电子设备周边磁场的变化,确定位置信息。其中,在第一电子设备确定一个方向上的磁场强度超过预设阈值的情况下,第一电子设备确定第二电子设备相对于第一电子设备的位置信息,方向包括第一电子设备的上侧,第一电子设备的下侧,第一电子设备的左侧,第一电子设备的右侧。基于该方案,给出了一种第一电子设备确定第二电子设备还的位置信息的具体示例。比如,第一电子设备可以通过监测周围环境中的磁场变化(比如磁场强度的变化),确定第二电子设备的位置。需要说明的是,在本示例中,为了避免磁场微弱变化导致的误判,第一电子设备可以在磁场强度超过预设阈值的情况下,确定第二电子设备位于对应的方向上。由此进一步提升了确定位置信息的准确度。In one possible design, the first electronic device has the ability to detect the strength of the surrounding magnetic field. The first electronic device automatically determines the position information of the second electronic device relative to the first electronic device, including: the first electronic device determines the position information according to the change of the surrounding magnetic field of the first electronic device. Wherein, when the first electronic device determines that the magnetic field strength in one direction exceeds a preset threshold, the first electronic device determines the position information of the second electronic device relative to the first electronic device, and the direction includes the upper side of the first electronic device. , the lower side of the first electronic device, the left side of the first electronic device, and the right side of the first electronic device. Based on this solution, a specific example is given in which the first electronic device determines the location information of the second electronic device. For example, the first electronic device may determine the location of the second electronic device by monitoring changes in the magnetic field (such as changes in the strength of the magnetic field) in the surrounding environment. It should be noted that, in this example, in order to avoid misjudgment caused by weak changes in the magnetic field, the first electronic device may determine that the second electronic device is located in a corresponding direction when the magnetic field strength exceeds a preset threshold. Thereby, the accuracy of determining the location information is further improved.
在一种可能的设计中,第一电子设备设置有磁传感器,磁传感器用于提供第一电子设备的检测周边磁场强度的能力。基于该方案,给出了一种具体的电子设备检测磁场变化的手段。比如,电子设备中可以设置有磁传感器,用于进行磁场强度的监测。In a possible design, the first electronic device is provided with a magnetic sensor, and the magnetic sensor is used to provide the first electronic device with the ability to detect the strength of the surrounding magnetic field. Based on this scheme, a specific method for electronic equipment to detect magnetic field changes is presented. For example, the electronic device may be provided with a magnetic sensor for monitoring the strength of the magnetic field.
在一种可能的设计中,第一电子设备根据协同显示方案,控制第一电子设备和第二电子设备进行协同显示包括:第一电子设备根据协同显示方案,控制第一电子设备的第一显示屏显示待显示内容的第一部分。第一电子设备根据第二协同显示方案控制第二电子设备的第二显示屏显示待显示内容的第二部分,第一部分和第二部分构成待显示内容。基于该方案,给出一种具体的根据协同显示方案进行协同显示的实现。在该示例中,第一电子设备可以根据确定的协同显示方案,控制第一电子设备的屏幕和第二电子设备的屏幕显示对应的内容。可以理解的是,由于协同显示方案是与第一电 子设备以及第二电子设备的位置是对应的,因此,第一部分和第二部分在待显示内容中的位置关系可以是与第一电子设备以及第二电子设备的位置对应的。由此保证协同显示的准确性。In a possible design, the first electronic device controlling the first electronic device and the second electronic device to perform collaborative display according to the collaborative display scheme includes: the first electronic device controlling the first display of the first electronic device according to the collaborative display scheme The screen displays the first part of the content to be displayed. The first electronic device controls the second display screen of the second electronic device to display the second part of the content to be displayed according to the second collaborative display scheme, and the first part and the second part constitute the content to be displayed. Based on this scheme, a specific implementation of collaborative display according to the collaborative display scheme is given. In this example, the first electronic device may control the screen of the first electronic device and the screen of the second electronic device to display corresponding content according to the determined collaborative display scheme. It can be understood that, since the collaborative display scheme corresponds to the positions of the first electronic device and the second electronic device, the positional relationship between the first part and the second part in the content to be displayed may be the same as that of the first electronic device and the second electronic device. The position of the second electronic device corresponds to. This ensures the accuracy of the collaborative display.
在一种可能的设计中,在第二电子设备位于第一电子设备的左侧的情况下,第一部分为待显示内容中的右侧部分内容,第二部分为待显示内容中的左侧部分。在第二电子设备位于第一电子设备的右侧的情况下,第一部分为待显示内容中的左侧部分内容,第二部分为待显示内容中的右侧部分。在第二电子设备位于第一电子设备的上侧的情况下,第一部分为待显示内容中的下侧部分内容,第二部分为待显示内容中的上侧部分。在第二电子设备位于第一电子设备的下侧的情况下,第一部分为待显示内容中的上侧部分内容,第二部分为待显示内容中的下侧部分。基于该方案,给出了一种具体的电子设备之间的位置关系与协同显示内容之间的位置关系的对应关系。根据本示例中的说明,可以看到,在不同屏幕上显示的内容在待显示内容中的位置,是同电子设备之间的位置关系对应的。因此,无论是开始进行协同显示还是在协同显示过程中,电子设备的位置发生变化,由于协同显示的内容与电子设备的位置是保持一致的,因此能够保证协同显示的准确性。In a possible design, when the second electronic device is located on the left side of the first electronic device, the first part is the right part of the content to be displayed, and the second part is the left part of the content to be displayed . When the second electronic device is located on the right side of the first electronic device, the first part is the left part of the content to be displayed, and the second part is the right part of the content to be displayed. When the second electronic device is located on the upper side of the first electronic device, the first part is the lower part of the content to be displayed, and the second part is the upper part of the content to be displayed. When the second electronic device is located on the lower side of the first electronic device, the first part is the upper part of the content to be displayed, and the second part is the lower part of the content to be displayed. Based on this solution, a specific correspondence between the positional relationship between electronic devices and the positional relationship between collaboratively displayed contents is given. According to the description in this example, it can be seen that the positions of the content displayed on different screens in the content to be displayed correspond to the positional relationship between electronic devices. Therefore, no matter when the collaborative display is started or during the collaborative display, the position of the electronic device changes, since the content of the collaborative display is consistent with the position of the electronic device, the accuracy of the collaborative display can be guaranteed.
在一种可能的设计中,在第一电子设备根据位置信息,确定协同显示方案之前,该方法还包括:第一电子设备接收第二电子设备的姿态信息。第一电子设备根据相对位置,确定协同显示方案,包括:第一电子设备根据相对位置,以及第二电子设备的姿态信息,确定协同显示方案。基于该方案,提供了一种第一电子设备确定协同显示方案的又一种实现。在该示例中,第一电子设备可以结合第二电子设备的姿态信息,进一步调整协同显示的内容。由此进一步提升协同显示内容的准确度。In a possible design, before the first electronic device determines the collaborative display scheme according to the position information, the method further includes: the first electronic device receives the attitude information of the second electronic device. The first electronic device determines the collaborative display scheme according to the relative position, including: the first electronic device determines the collaborative display scheme according to the relative position and the attitude information of the second electronic device. Based on this solution, another implementation of the first electronic device determining a collaborative display solution is provided. In this example, the first electronic device may further adjust the collaboratively displayed content in combination with the gesture information of the second electronic device. In this way, the accuracy of the collaboratively displayed content is further improved.
在一种可能的设计中,姿态信息包括:横屏姿态或者竖屏姿态。基于该方案,给出了姿态信息的具体示例。比如,根据姿态信息,第一电子设备可以确定第二电子设备是横屏或竖屏的姿态。可以理解的是,在不同的姿态下,显示内容的最佳方案是不同的。比如第二电子设备在横屏姿态下可以以横向拉伸的形式显示第二内容,又如第二电子设备在竖屏姿态下可以以纵向拉伸的形式显示第二内容。第一电子设备可以据此进一步调整第二电子设备的显示方案,由此获取更好的协同显示效果。In a possible design, the posture information includes: landscape orientation or portrait orientation. Based on this scheme, a specific example of pose information is given. For example, according to the posture information, the first electronic device may determine whether the second electronic device is in a landscape orientation or a portrait orientation. It is understandable that under different postures, the best solution for displaying content is different. For example, the second electronic device can display the second content in a horizontally stretched form in a landscape orientation, and for example, the second electronic device can display the second content in a vertical orientation in a portrait orientation. The first electronic device can further adjust the display scheme of the second electronic device accordingly, thereby obtaining a better collaborative display effect.
在一种可能的设计中,第一电子设备和第二电子设备处于无线连接状态。基于该方案,给出了本方案的一种实现场景的示例。在该示例中,第一电子设备可以与第二电子设备保持无线连接状态,比如,该无线连接状态可以是基于同一个局域网的协同显示状态。通过该无线连接状态提供的通信通道,第一电子设备可以与第二电子设备进行交互,比如控制第二电子设备根据协同显示方案进行协同显示,又如从第二电子设备获取第二电子设备的姿态信息。In a possible design, the first electronic device and the second electronic device are in a wireless connection state. Based on this scheme, an example of an implementation scenario of this scheme is given. In this example, the first electronic device may maintain a wireless connection state with the second electronic device, for example, the wireless connection state may be a collaborative display state based on the same local area network. Through the communication channel provided by the wireless connection state, the first electronic device can interact with the second electronic device. posture information.
在一种可能的设计中,在第一电子设备根据协同显示方案,控制第一电子设备和第二电子设备进行协同显示之前,第一电子设备相对于第二电子设备的位置信息为第一位置信息。第一电子设备和第二电子设备根据第一位置信息,按照第一协同显示方案进行第一协同显示。第一位置信息与第一协同显示方案对应。在第一位置信息变化为第二位置信息的情况下,第一电子设备自动确定第二电子设备相对于第一电子设备 的位置信息,包括:第一电子设备自动确定第二电子设备相对于第一电子设备的位置信息为第二位置信息。第一电子设备根据位置信息,确定协同显示方案,包括:第一电子设备根据第二位置信息,确定第二协同显示方案。第一电子设备根据协同显示方案,控制第一电子设备和第二电子设备进行协同显示,包括:第一电子设备根据第二协同显示方案,控制第一电子设备和第二电子设备由第一协同显示切换为第二协同显示,第二协同显示是与第二协同显示方案对应的显示。基于该方案,提供了一种本方案的具体实现场景示例。在该示例中,第一电子设备和第二电子设备的位置关系可以不是固定的。在进行协同显示的过程中,第一电子设备可以持续地/间断地根据第二电子设备的位置调整协同显示方案,由此使得在第二电子设备的位置发生变化时(如从第一位置信息变化为第二位置信息),第一电子设备可以自适应地调整协同显示方案,控制第一电子设备的屏幕和第二电子设备的屏幕显示与当前的位置信息对应的内容。In a possible design, before the first electronic device controls the first electronic device and the second electronic device to perform collaborative display according to the collaborative display scheme, the position information of the first electronic device relative to the second electronic device is the first position information. The first electronic device and the second electronic device perform a first collaborative display according to the first collaborative display scheme according to the first position information. The first location information corresponds to the first collaborative display scheme. When the first position information is changed to the second position information, the first electronic device automatically determines the position information of the second electronic device relative to the first electronic device, including: the first electronic device automatically determines that the second electronic device is relative to the first electronic device. The location information of an electronic device is the second location information. The first electronic device determining the collaborative display scheme according to the position information includes: the first electronic device determining the second collaborative display scheme according to the second position information. The first electronic device controls the first electronic device and the second electronic device to perform collaborative display according to the collaborative display scheme, including: the first electronic device controls the first electronic device and the second electronic device to perform collaborative display according to the second collaborative display scheme. The display is switched to the second collaborative display, and the second collaborative display is a display corresponding to the second collaborative display scheme. Based on this solution, a specific implementation scenario example of this solution is provided. In this example, the positional relationship of the first electronic device and the second electronic device may not be fixed. During the collaborative display process, the first electronic device may continuously/intermittently adjust the collaborative display scheme according to the position of the second electronic device, so that when the position of the second electronic device changes (for example, from the first position information change to the second position information), the first electronic device can adaptively adjust the collaborative display scheme, and control the screen of the first electronic device and the screen of the second electronic device to display content corresponding to the current position information.
第二方面,提供一种协同显示装置,该装置可以设置于第一电子设备中,该装置包括:确定单元,用于自动确定第二电子设备相对于第一电子设备的位置信息,位置信息包括上侧,下侧,左侧,右侧。确定单元,还用于根据位置信息,确定协同显示方案。控制单元,用于根据协同显示方案,控制第一电子设备和第二电子设备进行协同显示。In a second aspect, a collaborative display device is provided, the device can be set in a first electronic device, the device includes: a determining unit for automatically determining position information of the second electronic device relative to the first electronic device, the position information includes Top side, bottom side, left side, right side. The determining unit is further configured to determine the collaborative display scheme according to the location information. The control unit is configured to control the first electronic device and the second electronic device to perform collaborative display according to the collaborative display scheme.
在一种可能的设计中,该装置还包括:接收单元,用于在第一电子设备自动确定第二电子设备相对于第一电子设备的位置信息之前,接收用户的操作,用户的操作用于指示第一电子设备激活协同显示功能。或者,第一用户的操作用于指示第一电子设备激活扩展显示模式。或者,第一用户的操作用于指示第一电子设备激活镜像显示模式。In a possible design, the apparatus further includes: a receiving unit, configured to receive a user's operation before the first electronic device automatically determines the position information of the second electronic device relative to the first electronic device, and the user's operation is used for The first electronic device is instructed to activate the collaborative display function. Or, the operation of the first user is used to instruct the first electronic device to activate the extended display mode. Or, the operation of the first user is used to instruct the first electronic device to activate the mirror display mode.
在一种可能的设计中,第一电子设备具有检测周边磁场强度的能力。确定单元,具体用于根据第一电子设备周边磁场的变化,确定位置信息。其中,在一个方向上的磁场强度超过预设阈值的情况下,确定单元确定第二电子设备在第一电子设备的位置信息,方向包括上,下,左,右。In one possible design, the first electronic device has the ability to detect the strength of the surrounding magnetic field. The determining unit is specifically configured to determine the position information according to the change of the surrounding magnetic field of the first electronic device. Wherein, when the magnetic field strength in one direction exceeds a preset threshold, the determining unit determines the position information of the second electronic device in the first electronic device, and the directions include up, down, left, and right.
在一种可能的设计中,第一电子设备设置有磁传感器,磁传感器用于提供第一电子设备的检测周边磁场强度的能力。In a possible design, the first electronic device is provided with a magnetic sensor, and the magnetic sensor is used to provide the first electronic device with the ability to detect the strength of the surrounding magnetic field.
在一种可能的设计中,控制单元,用于第一电子设备根据协同显示方案,控制第一电子设备的第一显示屏显示待显示内容的第一部分。控制单元,还用于根据第二协同显示方案控制第二电子设备的第二显示屏显示待显示内容的第二部分,第一部分和第二部分构成待显示内容。In a possible design, the control unit is used for the first electronic device to control the first display screen of the first electronic device to display the first part of the content to be displayed according to the collaborative display scheme. The control unit is further configured to control the second display screen of the second electronic device to display the second part of the content to be displayed according to the second collaborative display scheme, and the first part and the second part constitute the content to be displayed.
在一种可能的设计中,在第二电子设备位于第一电子设备的左侧的情况下,第一部分为待显示内容中的右侧部分内容,第二部分为待显示内容中的左侧部分。在第二电子设备位于第一电子设备的右侧的情况下,第一部分为待显示内容中的左侧部分内容,第二部分为待显示内容中的右侧部分。在第二电子设备位于第一电子设备的上侧的情况下,第一部分为待显示内容中的下侧部分内容,第二部分为待显示内容中的上侧部分。在第二电子设备位于第一电子设备的下侧的情况下,第一部分为待显示内容中的上侧部分内容,第二部分为待显示内容中的下侧部分。In a possible design, when the second electronic device is located on the left side of the first electronic device, the first part is the right part of the content to be displayed, and the second part is the left part of the content to be displayed . When the second electronic device is located on the right side of the first electronic device, the first part is the left part of the content to be displayed, and the second part is the right part of the content to be displayed. When the second electronic device is located on the upper side of the first electronic device, the first part is the lower part of the content to be displayed, and the second part is the upper part of the content to be displayed. When the second electronic device is located on the lower side of the first electronic device, the first part is the upper part of the content to be displayed, and the second part is the lower part of the content to be displayed.
在一种可能的设计中,接收单元,还用于在第一电子设备根据位置信息,确定协同显示方案之前,接收第二电子设备的姿态信息。确定单元,用于根据相对位置,以及第二电子设备的姿态信息,确定协同显示方案。In a possible design, the receiving unit is further configured to receive the attitude information of the second electronic device before the first electronic device determines the collaborative display scheme according to the position information. The determining unit is configured to determine the collaborative display scheme according to the relative position and the attitude information of the second electronic device.
在一种可能的设计中,姿态信息包括:横屏姿态或者竖屏姿态。In a possible design, the posture information includes: landscape orientation or portrait orientation.
在一种可能的设计中,第一电子设备和第二电子设备处于无线连接状态。In a possible design, the first electronic device and the second electronic device are in a wireless connection state.
在一种可能的设计中,在控制单元根据协同显示方案,控制第一电子设备和第二电子设备进行协同显示之前,第一电子设备相对于第二电子设备的位置信息为第一位置信息。控制单元,用于根据第一位置信息,控制第一电子设备按照第一协同显示方案进行第一协同显示。第一位置信息与第一协同显示方案对应。在第一位置信息变化为第二位置信息的情况下,确定单元,用于自动确定第二电子设备相对于第一电子设备的位置信息为第二位置信息。确定单元,还用于根据第二位置信息,确定第二协同显示方案。控制单元,用于根据第二协同显示方案,控制第一电子设备和第二电子设备由第一协同显示切换为第二协同显示,第二协同显示是与第二协同显示方案对应的显示。In a possible design, before the control unit controls the first electronic device and the second electronic device to perform collaborative display according to the collaborative display scheme, the location information of the first electronic device relative to the second electronic device is the first location information. The control unit is configured to control the first electronic device to perform the first collaborative display according to the first collaborative display scheme according to the first position information. The first location information corresponds to the first collaborative display scheme. In the case where the first position information is changed to the second position information, the determining unit is configured to automatically determine the position information of the second electronic device relative to the first electronic device as the second position information. The determining unit is further configured to determine a second collaborative display scheme according to the second position information. The control unit is configured to control the first electronic device and the second electronic device to switch from the first collaborative display to the second collaborative display according to the second collaborative display scheme, and the second collaborative display is the display corresponding to the second collaborative display scheme.
第三方面,提供一种电子设备,电子设备包括一个或多个处理器和一个或多个存储器。示例性的,该电子设备可以为第一方面或第二方面中涉及的第一电子设备。一个或多个存储器与一个或多个处理器耦合,一个或多个存储器存储有计算机指令。当一个或多个处理器执行计算机指令时,使得电子设备执行如第一方面及其任一种可能的设计中任一项所述的协同显示该方法。In a third aspect, an electronic device is provided, the electronic device includes one or more processors and one or more memories. Exemplarily, the electronic device may be the first electronic device involved in the first aspect or the second aspect. One or more memories are coupled to the one or more processors, and the one or more memories store computer instructions. The computer instructions, when executed by one or more processors, cause an electronic device to perform the method of co-displaying as described in any one of the first aspect and any of its possible designs.
第四方面,提供一种芯片系统,芯片系统包括接口电路和处理器。示例性的,该芯片系统可以应用于第一方面或第二方面中涉及的第一电子设备中。接口电路和处理器通过线路互联;接口电路用于从存储器接收信号,并向处理器发送信号,信号包括存储器中存储的计算机指令;当处理器执行计算机指令时,芯片系统执行如第一方面及其任一种可能的设计中任一项所述的协同显示该方法。In a fourth aspect, a chip system is provided, the chip system includes an interface circuit and a processor. Exemplarily, the chip system may be applied to the first electronic device involved in the first aspect or the second aspect. The interface circuit and the processor are interconnected through lines; the interface circuit is used to receive signals from the memory and send signals to the processor, and the signals include computer instructions stored in the memory; when the processor executes the computer instructions, the chip system performs the first aspect and The synergy of any of its possible designs shows the method.
第五方面,提供一种计算机可读存储介质,计算机可读存储介质包括计算机指令,当计算机指令运行时,执行如第一方面及其任一种可能的设计中任一项所述的协同显示该方法。In a fifth aspect, a computer-readable storage medium is provided, the computer-readable storage medium includes computer instructions, and when the computer instructions are executed, the collaborative display described in any one of the first aspect and any possible designs thereof is performed. this method.
第六方面,提供一种计算机程序产品,计算机程序产品中包括指令,当计算机程序产品在计算机上运行时,使得计算机可以根据指令执行如第一方面及其任一种可能的设计中任一项所述的协同显示该方法。A sixth aspect provides a computer program product, the computer program product includes instructions, when the computer program product runs on a computer, the computer can execute any one of the first aspect and any possible designs thereof according to the instructions The described synergy shows the method.
应当理解的是,上述第二方面,第三方面,第四方面,第五方面以及第六方面提供的技术方案,其技术特征均可对应到第一方面及其可能的设计中提供的协同显示方法,因此能够达到的有益效果类似,此处不再赘述。It should be understood that the technical features of the technical solutions provided in the second aspect, the third aspect, the fourth aspect, the fifth aspect and the sixth aspect can all correspond to the collaborative display provided in the first aspect and its possible designs. Therefore, the beneficial effects that can be achieved are similar, which will not be repeated here.
附图说明Description of drawings
图1为一种协同显示的示意图;1 is a schematic diagram of a collaborative display;
图2为一种协同显示的设置示意图;Fig. 2 is a kind of schematic diagram of the setting of collaborative display;
图3为一种协同显示的效果示意图;3 is a schematic diagram of the effect of a collaborative display;
图4为又一种协同显示的效果示意图;Fig. 4 is another kind of synergistic display effect schematic diagram;
图5为本申请实施例提供的一种电子设备的组成示意图;FIG. 5 is a schematic diagram of the composition of an electronic device provided by an embodiment of the present application;
图6为本申请实施例提供的一种位置信息确定的示意图;FIG. 6 is a schematic diagram of location information determination according to an embodiment of the present application;
图7为本申请实施例提供的一种协同显示方法的流程示意图;FIG. 7 is a schematic flowchart of a collaborative display method provided by an embodiment of the present application;
图8为本申请实施例提供的一种协同显示方法的效果示意图;FIG. 8 is a schematic diagram of the effect of a collaborative display method provided by an embodiment of the present application;
图9为本申请实施例提供的又一种协同显示方法的流程示意图;FIG. 9 is a schematic flowchart of another collaborative display method provided by an embodiment of the present application;
图10为本申请实施例提供的一种协同显示的场景示意图;FIG. 10 is a schematic diagram of a collaborative display scenario provided by an embodiment of the present application;
图11为本申请实施例提供的又一种协同显示方法的效果示意图;FIG. 11 is a schematic diagram of the effect of another collaborative display method provided by an embodiment of the present application;
图12为本申请实施例提供的一种协同显示装置的组成示意图;12 is a schematic diagram of the composition of a collaborative display device provided by an embodiment of the present application;
图13为本申请实施例提供的又一种拍摄方法的流程示意图;13 is a schematic flowchart of another shooting method provided by an embodiment of the present application;
图14为本申请实施例提供的一种芯片系统的组成示意图。FIG. 14 is a schematic diagram of the composition of a chip system according to an embodiment of the present application.
具体实施方式Detailed ways
多屏协同技术在移动办公、智慧家庭等场景下发挥出越来越重要的作用。通过多屏协同技术,能够扩大用户和电子设备的交互界面,丰富交互体验。同时,多屏协同技术还可以借助电子设备间的感知能力,使得电子设备更加智能,进而达到简化用户操作,提升生产力的效果。Multi-screen collaboration technology plays an increasingly important role in scenarios such as mobile office and smart home. Through multi-screen collaboration technology, the interactive interface between users and electronic devices can be expanded and the interactive experience can be enriched. At the same time, the multi-screen collaboration technology can also use the perception ability between electronic devices to make electronic devices more intelligent, thereby simplifying user operations and improving productivity.
以下结合图1-图4,对一种协同显示的方案进行举例说明。In the following, an example of a collaborative display solution will be described with reference to FIG. 1 to FIG. 4 .
一般而言,在使用多屏协同技术进行协同显示时,用户可以在主设备上设置协同显示的选项。示例性的,以主设备为如图1所示的笔记本电脑,辅设备为平板电脑为例。参考图1,在笔记本电脑的协同显示设置界面上,可以显示如101所示的界面元素。该界面元素可以用于提示用户使用扩展模式进行协同显示。用户可以通过鼠标等控制设备,选定该扩展模式,使得笔记本电脑进入协同显示状态。Generally speaking, when using the multi-screen collaborative technology for collaborative display, the user can set options for collaborative display on the main device. Exemplarily, take the main device as a notebook computer as shown in FIG. 1 and the auxiliary device as a tablet computer as an example. Referring to FIG. 1 , on the collaborative display setting interface of the notebook computer, interface elements shown as 101 may be displayed. This interface element can be used to prompt the user to use extended mode for collaborative display. The user can control devices such as a mouse, and select the extended mode, so that the notebook computer enters a collaborative display state.
需要说明的是,在一些实施例中,如图1所示,在笔记本电脑显示协同显示设置界面之前,笔记本电脑可以与其他能够进行协同显示的电子设备进行互联,通过该互联通信通道,笔记本电脑可以与其他电子设备(比如平板电脑等)进行协同显示。例如,在笔记本电脑与平板电脑互联成功之后,在该协同显示设置界面上,可以显示有已经与笔记本电脑连接的电子设备(比如设备X)。It should be noted that, in some embodiments, as shown in FIG. 1 , before the notebook computer displays the collaborative display setting interface, the notebook computer can be interconnected with other electronic devices capable of collaborative display. It can be displayed collaboratively with other electronic devices (such as tablet computers, etc.). For example, after the laptop computer and the tablet computer are successfully interconnected, on the collaborative display setting interface, an electronic device (such as device X) that has been connected to the laptop computer may be displayed.
另外,在上述示例中,是以用户通过控制设备对笔记本电脑输入操作(比如选定扩展模式的操作)为例进行说明的。在本示例的另一些实现中,对于支持触摸操作的笔记本电脑而言,用户还可以通过触摸的形式输入上述操作。可以理解的是,用户还可以通过语音控制等方式输入操作。以下以用户通过鼠标对电子设备输入控制命令为例进行说明。In addition, in the above example, the user inputs an operation (such as an operation of selecting an extended mode) to the notebook computer through the control device as an example for description. In other implementations of this example, for a notebook computer that supports touch operations, the user may also input the above operations in the form of touch. It can be understood that the user can also input operations through voice control or the like. The following description is given by taking the user inputting a control command to the electronic device through a mouse as an example.
在本示例中,主设备(比如笔记本电脑)可以在接收到用户选定扩展模式的操作之后,显示其他协同显示设置界面(比如称为显示参数设置界面)。示例性的,参考图2,该显示参数设置界面可以包括用于设置平板电脑与笔记本电脑相对位置的“平板屏幕位置”选项,以及其他辅设备的显示设置选项(比如图2所示的“平板边栏位置”选项)。In this example, the host device (such as a notebook computer) may display other collaborative display setting interfaces (such as a display parameter setting interface) after receiving the operation of selecting the extended mode by the user. Exemplarily, referring to FIG. 2 , the display parameter setting interface may include a “tablet screen position” option for setting the relative position of the tablet computer and the notebook computer, and display setting options of other auxiliary devices (such as the “tablet screen position” shown in FIG. 2 . Sidebar Position" option).
如图2所示,用户可以根据进行协同显示时,平板电脑与笔记本电脑的相对位置,选定“平板屏幕位置”选项中对应的位置关系。主设备(比如笔记本电脑)可以根据用户选定的位置关系,确定主设备需要显示的内容,以及辅设备(比如平板电脑)需要显示的内容。在本申请实施例中,主设备和辅设备之间的位置关系可以包括辅设备 位于主设备左侧,辅设备位于主设备右侧,辅设备位于主设备上侧,辅设备位于主设备下侧等。As shown in FIG. 2 , the user can select the corresponding positional relationship in the “tablet screen position” option according to the relative positions of the tablet computer and the notebook computer during collaborative display. The main device (such as a laptop computer) can determine the content to be displayed by the main device and the content to be displayed by the auxiliary device (such as a tablet computer) according to the position relationship selected by the user. In this embodiment of the present application, the positional relationship between the primary device and the secondary device may include that the secondary device is located on the left side of the primary device, the secondary device is located on the right side of the primary device, the secondary device is located on the upper side of the primary device, and the secondary device is located on the lower side of the primary device Wait.
示例性的,以平板电脑置于笔记本电脑右侧为例。用户可以通过鼠标在笔记本电脑上选定对应的位置关系在界面上对应的选项(比如选定如图2所示的选项201)。笔记本电脑可以接收该操作,根据该操作,笔记本电脑即可确定在协同显示过程中,平板电脑位于笔记本电脑的右侧。由此,笔记本电脑就可以确定协同显示过程中,笔记本的电脑的屏幕需要显示的内容以及平板电脑需要显示的内容。Illustratively, take the tablet computer placed on the right side of the notebook computer as an example. The user can select an option on the interface corresponding to the corresponding position relationship on the laptop computer through the mouse (for example, select option 201 as shown in FIG. 2 ). The notebook computer can receive the operation, and according to the operation, the notebook computer can determine that the tablet computer is located on the right side of the notebook computer during the collaborative display process. Thus, the notebook computer can determine the content that needs to be displayed on the screen of the notebook computer and the content that the tablet computer needs to display during the collaborative display process.
在本申请实施例中,用户可以通过上述如图1以及图2的操作,激活电子设备(如笔记本和/或平板电脑)的协同显示功能。In this embodiment of the present application, the user can activate the collaborative display function of the electronic device (such as a notebook and/or a tablet computer) through the above operations as shown in FIG. 1 and FIG. 2 .
作为一种示例,以通过协同显示进行图片的扩展显示为例。结合图3。图片在笔记本电脑上的显示情况如图3中的(a)。通过协同显示,主设备(如笔记本电脑)可以在其屏幕上显示图片的一部分图像。主设备可以控制辅设备(如平板电脑)在其屏幕上显示图片的另一部分图像,由此达到扩展显示图像的显示区域的效果。结合图1和图2中的说明,在平板电脑位于笔记本电脑右侧时,通过如图1和图2所示的设置,笔记本电脑可以确定以平板电脑位于笔记本电脑右侧的位置关系进行协同显示。比如,笔记本电脑可以在其屏幕上行显示图片的左侧部分图像。笔记本电脑还可以控制平板电脑在其屏幕上显示图片的右侧部分图像。显示结果请参考图3中的(b)。由此就实现了在两个电子设备上通过协同显示进行图片的扩展显示。As an example, take the extended display of pictures through collaborative display as an example. In conjunction with Figure 3. The display of the picture on the laptop is shown in (a) in Figure 3. With co-display, a master device, such as a laptop, can display a portion of a picture on its screen. The main device can control the auxiliary device (such as a tablet computer) to display another part of the image on its screen, thereby achieving the effect of expanding the display area of the displayed image. Combined with the descriptions in Figures 1 and 2, when the tablet computer is located on the right side of the notebook computer, through the settings shown in Figures 1 and 2, the notebook computer can determine that the tablet computer is located on the right side of the notebook computer for collaborative display. . For example, a laptop can display the left-hand portion of a picture on the upper line of its screen. The laptop can also control the tablet to display the right portion of the image on its screen. Please refer to (b) in Figure 3 for the display results. In this way, the extended display of pictures through collaborative display is realized on the two electronic devices.
然而,上述示例中的方案也存在一些问题。However, there are some problems with the solution in the above example.
可以理解的是,主设备和辅设备在真实环境的位置关系必须与协同显示设置过程中所选定的位置关系一致,主设备才能够知晓辅设备在真实环境中的位置,进而确定协同显示过程中,主设备和辅设备需要显示的内容。但是,当主设备和辅设备在真实环境的位置关系与协同显示设置过程中所选定的位置关系不一致,或者主设备和辅设备在协同显示过程中的位置关系出现变化时,主设备就无法准确地知晓与辅设备之间的位置关系,因此就不能准确地确定主设备和辅设备需要显示的内容。It can be understood that the positional relationship between the main device and the auxiliary device in the real environment must be consistent with the positional relationship selected in the collaborative display setting process, so that the main device can know the position of the auxiliary device in the real environment, and then determine the collaborative display process. , the content that the primary and secondary devices need to display. However, when the positional relationship between the main device and the auxiliary device in the real environment is inconsistent with the positional relationship selected in the collaborative display setting process, or when the positional relationship between the main device and the auxiliary device changes during the collaborative display process, the main device cannot accurately Therefore, it is impossible to accurately determine the content that the main device and the auxiliary device need to display.
示例性的,以主设备为如图4所示的设备A,辅设备为如图4所示的设备B为例。参考图4中的(a)。在协同显示的过程中,设备B可能会出现位置移动。比如,设备B可以从设备A的右侧移动到设备A的左侧。这样,如果用户不重新设置协同显示的选项,设备A根据预先的设置确定设备B还是位于设备A的右侧。设备A可以据此继续控制设备A以及设备B进行协同显示。这样,就可能出现如图4中的(b)的情况。即在左侧的设备B显示有图片的右侧部分图像,而实际在右侧的设备A显示的是图片的左侧部分图像。这样显然是不能满足用户对图片的查看或者编辑等需求的。For example, it is assumed that the main device is the device A shown in FIG. 4 and the auxiliary device is the device B shown in FIG. 4 . Refer to (a) in FIG. 4 . During the collaborative display process, device B may move in position. For example, device B can move from the right side of device A to the left side of device A. In this way, if the user does not reset the option of collaborative display, device A determines whether device B is located on the right side of device A according to the preset settings. Device A can continue to control device A and device B to perform collaborative display accordingly. In this way, the situation as shown in (b) in FIG. 4 may occur. That is, the device B on the left side displays the image of the right part of the picture, while the device A on the right actually displays the image of the left part of the picture. This obviously cannot meet the needs of users for viewing or editing pictures.
为了能够解决上述示例中的问题,本申请实施例提供的协同显示方案,使得电子设备能够自动确定协同显示过程中其他设备的位置,并据此进行协同显示。比如,以在主设备上使用本申请实施例提供的协同显示方案时,主设备可以自动确定辅设备的位置,并据此确定主设备和辅设备需要显示的内容。这样,由于不需要用户主动设置协同显示的选项,而是主设备可以自动地确定辅设备的位置,因此就不需要用户手动设置,或者,主设备和辅设备之间的位置关系发生变化导致的协同显示内容出错的问题。In order to solve the problems in the above examples, the collaborative display solution provided by the embodiments of the present application enables the electronic device to automatically determine the positions of other devices in the collaborative display process, and perform collaborative display accordingly. For example, when using the collaborative display solution provided by the embodiments of the present application on the main device, the main device can automatically determine the position of the auxiliary device, and accordingly determine the content to be displayed by the main device and the auxiliary device. In this way, since the user does not need to actively set the option of collaborative display, but the main device can automatically determine the position of the auxiliary device, there is no need for the user to set manually, or the positional relationship between the main device and the auxiliary device changes. Cooperative display content error problem.
以下结合附图对本申请实施例提供的协同显示方案进行详细说明。The collaborative display solution provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
请参考图5,为本申请实施例提供的一种电子设备500的组成示意图。在本申请实施例中,该电子设备500可以用于进行协同显示。比如,该电子设备500可以作为主设备进行协同显示。又如,该电子设备500也可以作为辅设备进行协同显示。Please refer to FIG. 5 , which is a schematic diagram of the composition of an electronic device 500 according to an embodiment of the present application. In this embodiment of the present application, the electronic device 500 may be used for collaborative display. For example, the electronic device 500 may act as a master device for collaborative display. For another example, the electronic device 500 can also be used as an auxiliary device for collaborative display.
需要说明的是,本申请实施例提供的方案,可以应用在用户的电子设备中。该电子设备可以是手机、平板电脑、个人数字助理(personal digital assistant,PDA)、增强现实(augmented reality,AR)\虚拟现实(virtual reality,VR)设备、媒体播放器等设置有显示屏且能够进行协同显示的便携式移动设备,该电子设备也可以是智能手表等设置有显示屏的,且能够进行协同显示的可穿戴电子设备。本申请实施例对该电子设备的具体形态不作特殊限制。It should be noted that, the solutions provided by the embodiments of the present application can be applied to the user's electronic device. The electronic device can be a mobile phone, a tablet computer, a personal digital assistant (PDA), an augmented reality (AR)\virtual reality (VR) device, a media player, etc. For a portable mobile device that performs collaborative display, the electronic device may also be a wearable electronic device that is equipped with a display screen, such as a smart watch, and can perform collaborative display. The specific form of the electronic device is not particularly limited in the embodiments of the present application.
如图5所示,该电子设备可以包括处理器510,外部存储器接口520,内部存储器521,通用串行总线(universal serial bus,USB)接口530,充电管理模块540,电源管理模块541,电池542,天线1,天线2,移动通信模块550,无线通信模块560,音频模块570,扬声器570A,受话器570B,麦克风570C,耳机接口570D,传感器模块580,按键590,马达591,指示器592,摄像头593,显示屏594,以及用户标识模块(subscriber identification module,SIM)卡接口595等。As shown in FIG. 5 , the electronic device may include a processor 510 , an external memory interface 520 , an internal memory 521 , a universal serial bus (USB) interface 530 , a charge management module 540 , a power management module 541 , and a battery 542 , Antenna 1, Antenna 2, Mobile Communication Module 550, Wireless Communication Module 560, Audio Module 570, Speaker 570A, Receiver 570B, Microphone 570C, Headphone Interface 570D, Sensor Module 580, Key 590, Motor 591, Indicator 592, Camera 593 , display screen 594, and subscriber identification module (subscriber identification module, SIM) card interface 595 and so on.
可以理解的是,本实施例示意的结构并不构成对电子设备500的具体限定。在另一些实施例中,电子设备500可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device 500 . In other embodiments, the electronic device 500 may include more or fewer components than shown, or some components may be combined, or some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
处理器510可以包括一个或多个处理单元,例如:处理器510可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器510(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器510中。The processor 510 may include one or more processing units, for example, the processor 510 may include an application processor (application processor, AP), a modem processor, a graphics processor 510 (graphics processing unit, GPU), image signal processing image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and/or neural-network processing unit (NPU) )Wait. The different processing units may be independent devices, or may be integrated into one or more processors 510 .
控制器可以是电子设备500的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller may be the nerve center and command center of the electronic device 500 . The controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
处理器510中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器510中的存储器为高速缓冲存储器。该存储器可以保存处理器510刚用过或循环使用的指令或数据。如果处理器510需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器510的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 510 for storing instructions and data. In some embodiments, the memory in processor 510 is cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 510 . If the processor 510 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the waiting time of the processor 510 is reduced, thereby increasing the efficiency of the system.
在本申请实施例中,处理器510可以存储有与本申请实施例所提供的协同显示方案对应的指令或者指令集合。示例性的,以处理器510设置在主设备中为例。在实施本申请实施例所提供的协同显示方案时,处理器510可以根据周边磁场强度的变化,判断辅设备的位置。处理器510还可以用于根据辅设备的位置,确定主设备和辅设备各自所要显示的内容。In this embodiment of the present application, the processor 510 may store an instruction or an instruction set corresponding to the collaborative display solution provided by the embodiment of the present application. Illustratively, it is taken as an example that the processor 510 is provided in the main device. When implementing the collaborative display solution provided by the embodiment of the present application, the processor 510 may determine the position of the auxiliary device according to the change of the surrounding magnetic field intensity. The processor 510 may also be configured to determine the content to be displayed by the main device and the auxiliary device according to the position of the auxiliary device.
在一些实施例中,处理器510可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(I2S)接口,脉冲编 码调制(PCM)接口,通用异步收发传输器(UART)接口,移动产业处理器510接口(MIPI),通用输入输出(GPIO)接口,用户标识模块(SIM)接口,和/或通用串行总线(USB)接口等。In some embodiments, the processor 510 may include one or more interfaces. The interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver transmitter (UART) interface, a mobile industry processor 510 interface (MIPI) interface. ), General Purpose Input Output (GPIO) interface, Subscriber Identity Module (SIM) interface, and/or Universal Serial Bus (USB) interface, etc.
电子设备500可以通过ISP,摄像头593,视频编解码器,GPU,显示屏594以及应用处理器等实现拍摄功能。The electronic device 500 may implement a shooting function through an ISP, a camera 593, a video codec, a GPU, a display screen 594, an application processor, and the like.
ISP用于处理摄像头593反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头593感光元件上,光信号转换为电信号,摄像头593感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头593中。The ISP is used to process the data fed back by the camera 593 . For example, when taking a photo, the shutter is opened, the light is transmitted to the photosensitive element of the camera 593 through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera 593 transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on image noise, brightness, and skin tone. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be provided in the camera 593 .
摄像头593用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备500可以包括1个或N个摄像头593,N为大于1的正整数。Camera 593 is used to capture still images or video. The object is projected through the lens to generate an optical image onto the photosensitive element. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. DSP converts digital image signals into standard RGB, YUV and other formats of image signals. In some embodiments, the electronic device 500 may include 1 or N cameras 593 , where N is a positive integer greater than 1.
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备500在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。A digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 500 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy and so on.
视频编解码器用于对数字视频压缩或解压缩。电子设备500可以支持一种或多种视频编解码器。这样,电子设备500可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。Video codecs are used to compress or decompress digital video. The electronic device 500 may support one or more video codecs. In this way, the electronic device 500 can play or record videos in various encoding formats, for example, moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.
NPU为神经网络(neural-network,NN)计算处理器510,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备500的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。The NPU is a neural-network (NN) computing processor 510 , which can rapidly process input information and continuously self-learn by learning from the biological neural network structure, such as the transmission mode between neurons in the human brain. Applications such as intelligent cognition of the electronic device 500 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
充电管理模块540用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块540可以通过USB接口530接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块540可以通过电子设备500的无线充电线圈接收无线充电输入。充电管理模块540为电池542充电的同时,还可以通过电源管理模块541为电子设备500供电。The charging management module 540 is used to receive charging input from the charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 540 may receive charging input from the wired charger through the USB interface 530 . In some wireless charging embodiments, the charging management module 540 may receive wireless charging input through a wireless charging coil of the electronic device 500 . While the charging management module 540 charges the battery 542 , the electronic device 500 can also be powered by the power management module 541 .
电源管理模块541用于连接电池542,充电管理模块540与处理器510。电源管理模块541接收电池542和/或充电管理模块540的输入,为处理器510,内部存储器521,外部存储器,显示屏594,摄像头593,和无线通信模块560等供电。电源管理模块541还可以用于监测电池542容量,电池542循环次数,电池542健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块541也可以设置于处理器510中。在另一些实施例中,电源管理模块541和充电管理模块540也可以设置于同一个器件中。The power management module 541 is used to connect the battery 542 , the charging management module 540 and the processor 510 . The power management module 541 receives input from the battery 542 and/or the charging management module 540, and supplies power to the processor 510, the internal memory 521, the external memory, the display screen 594, the camera 593, and the wireless communication module 560. The power management module 541 can also be used to monitor parameters such as the capacity of the battery 542, the number of cycles of the battery 542, and the health status (electric leakage, impedance) of the battery 542. In some other embodiments, the power management module 541 may also be provided in the processor 510 . In other embodiments, the power management module 541 and the charging management module 540 may also be provided in the same device.
电子设备500的无线通信功能可以通过天线1,天线2,移动通信模块550,无线通信模块560,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 500 may be implemented by the antenna 1, the antenna 2, the mobile communication module 550, the wireless communication module 560, the modulation and demodulation processor, the baseband processor, and the like.
天线1和天线2用于发射和接收电磁波信号。电子设备500中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 500 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
移动通信模块550可以提供应用在电子设备500上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块550可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块550可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块550还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块550的至少部分功能模块可以被设置于处理器510中。在一些实施例中,移动通信模块550的至少部分功能模块可以与处理器510的至少部分模块被设置在同一个器件中。The mobile communication module 550 may provide a wireless communication solution including 2G/3G/4G/5G, etc. applied on the electronic device 500 . The mobile communication module 550 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like. The mobile communication module 550 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 550 can also amplify the signal modulated by the modulation and demodulation processor, and then convert it into electromagnetic waves for radiation through the antenna 1 . In some embodiments, at least part of the functional modules of the mobile communication module 550 may be provided in the processor 510 . In some embodiments, at least part of the functional modules of the mobile communication module 550 may be provided in the same device as at least part of the modules of the processor 510 .
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器570A,受话器570B等)输出声音信号,或通过显示屏594显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器510,与移动通信模块550或其他功能模块设置在同一个器件中。The modem processor may include a modulator and a demodulator. Wherein, the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and passed to the application processor. The application processor outputs sound signals through audio devices (not limited to speaker 570A, receiver 570B, etc.), or displays images or videos through display screen 594 . In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modulation and demodulation processor may be independent of the processor 510, and may be provided in the same device as the mobile communication module 550 or other functional modules.
无线通信模块560可以提供应用在电子设备500上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块560可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块560经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器510。无线通信模块560还可以从处理器510接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 560 can provide applications on the electronic device 500 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellites Wireless communication solutions such as global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared technology (IR). The wireless communication module 560 may be one or more devices integrating at least one communication processing module. The wireless communication module 560 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 510 . The wireless communication module 560 can also receive the signal to be sent from the processor 510 , perform frequency modulation on it, amplify it, and then convert it into electromagnetic waves for radiation through the antenna 2 .
在一些实施例中,电子设备500的天线1和移动通信模块550耦合,天线2和无线通信模块560耦合,使得电子设备500可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括但不限于GSM,GPRS,CDMA,WCDMA,TD-SCDMA,LTE,5G以及后续演进标准,BT,GNSS,WLAN,NFC,FM,和/或IR技术等。In some embodiments, the antenna 1 of the electronic device 500 is coupled with the mobile communication module 550, and the antenna 2 is coupled with the wireless communication module 560, so that the electronic device 500 can communicate with the network and other devices through wireless communication technology. The wireless communication technologies may include, but are not limited to, GSM, GPRS, CDMA, WCDMA, TD-SCDMA, LTE, 5G and subsequent evolution standards, BT, GNSS, WLAN, NFC, FM, and/or IR technologies.
在本申请的一些实施例中,电子设备500中的移动通信模块550和/或无线通信模块560可以用于在处理器510的控制下,与其他电子设备建立互联。比如,以电子设备500为主设备为例。电子设备500可以通过移动通信模块550和/或无线通信模块560,加入与辅设备相同的局域网中。电子设备500可以通过该局域网,与辅设备进行通信。比如,电子设备500可以通过该局域网,向辅设备发送辅设备对应的显示信息。以便于辅设备根据接收到的显示信息,进行协同显示。In some embodiments of the present application, the mobile communication module 550 and/or the wireless communication module 560 in the electronic device 500 may be used to establish interconnection with other electronic devices under the control of the processor 510 . For example, take the electronic device 500 as the main device as an example. The electronic device 500 may join the same local area network as the auxiliary device through the mobile communication module 550 and/or the wireless communication module 560 . The electronic device 500 can communicate with the auxiliary device through the local area network. For example, the electronic device 500 may send the display information corresponding to the auxiliary device to the auxiliary device through the local area network. In order to facilitate the auxiliary device to perform collaborative display according to the received display information.
电子设备500通过GPU,显示屏594,以及应用处理器等实现显示功能。GPU为图 像处理的微处理器510,连接显示屏594和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器510可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 500 implements a display function through a GPU, a display screen 594, an application processor, and the like. The GPU is the microprocessor 510 for image processing, and is connected to the display screen 594 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 510 may include one or more GPUs that execute program instructions to generate or alter display information.
显示屏594用于显示图像,视频等。在一些实施例中,电子设备500可以包括1个或N个显示屏594,N为大于1的正整数。Display screen 594 is used to display images, videos, and the like. In some embodiments, the electronic device 500 may include 1 or N display screens 594 , where N is a positive integer greater than 1.
在本本申请实施例中,主设备和辅设备上均可设置有显示屏594。在一些场景下,主设备的显示屏可以与辅设备的显示屏进行协同显示。In this embodiment of the present application, both the main device and the auxiliary device can be provided with a display screen 594 . In some scenarios, the display screen of the primary device may perform collaborative display with the display screen of the secondary device.
外部存储器接口520可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备500的存储能力。外部存储卡通过外部存储器接口520与处理器510通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 520 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 500. The external memory card communicates with the processor 510 through the external memory interface 520 to realize the data storage function. For example to save files like music, video etc in external memory card.
内部存储器521可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器510通过运行存储在内部存储器521的指令,从而执行电子设备500的各种功能应用以及数据处理。内部存储器521可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备500使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器521可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器等。Internal memory 521 may be used to store computer executable program code, which includes instructions. The processor 510 executes various functional applications and data processing of the electronic device 500 by executing the instructions stored in the internal memory 521 . The internal memory 521 may include a storage program area and a storage data area. The storage program area can store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), and the like. The storage data area may store data (such as audio data, phone book, etc.) created during the use of the electronic device 500 and the like. In addition, the internal memory 521 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, general-purpose flash memory, and the like.
电子设备500可以通过音频模块570,扬声器570A,受话器570B,麦克风570C,耳机接口570D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The electronic device 500 may implement audio functions through an audio module 570, a speaker 570A, a receiver 570B, a microphone 570C, an earphone interface 570D, and an application processor. Such as music playback, recording, etc.
音频模块570用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块570还可以用于对音频信号编码和解码。在一些实施例中,音频模块570可以设置于处理器510中,或将音频模块570的部分功能模块设置于处理器510中。The audio module 570 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal. Audio module 570 may also be used to encode and decode audio signals. In some embodiments, the audio module 570 may be provided in the processor 510 , or some functional modules of the audio module 570 may be provided in the processor 510 .
扬声器570A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备500可以通过扬声器570A收听音乐,或收听免提通话。Speaker 570A, also referred to as "speaker", is used to convert audio electrical signals into sound signals. The electronic device 500 can listen to music through the speaker 570A, or listen to a hands-free call.
受话器570B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备500接听电话或语音信息时,可以通过将受话器570B靠近人耳接听语音。The receiver 570B, also referred to as "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 500 answers a call or a voice message, the voice can be answered by placing the receiver 570B close to the human ear.
麦克风570C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。耳机接口570D用于连接有线耳机。The microphone 570C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. The headphone jack 570D is used to connect wired headphones.
在本申请实施例提供的电子设备500中设置的传感器模块580可以包括一个或多个相同或不同种类的传感器。示例性的,传感器模块580可以包括压力传感器,陀螺仪传感器,气压传感器,磁传感器,加速度传感器,距离传感器,接近光传感器,指纹传感器,温度传感器,触摸传感器,环境光传感器,骨传导传感器等。The sensor module 580 provided in the electronic device 500 provided in this embodiment of the present application may include one or more sensors of the same or different types. Exemplarily, the sensor module 580 may include a pressure sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
以传感器模块580中包括磁传感器为例。该磁传感器可以包括霍尔传感器。霍尔传感器可以根据霍尔效应,确定电子设备500周围磁场的变化。其中,霍尔效应是电磁效应的一种,这一现象是美国物理学家霍尔发现的。根据霍尔效应,当电流垂直于外磁场通过半导体时,载流子发送偏移,垂直于电流和磁场的方向会产生附加电场,从而在半导体的两端产生电势差。这个电势差也被称为霍尔电势差。Take the sensor module 580 including a magnetic sensor as an example. The magnetic sensor may comprise a Hall sensor. The Hall sensor can determine the change of the magnetic field around the electronic device 500 according to the Hall effect. Among them, the Hall effect is a kind of electromagnetic effect, which was discovered by American physicist Hall. According to the Hall effect, when a current passes through a semiconductor perpendicular to the external magnetic field, the carriers are sent offset, and an additional electric field is generated perpendicular to the direction of the current and the magnetic field, resulting in a potential difference across the semiconductor. This potential difference is also called the Hall potential difference.
在本申请实施例中,电子设备500可以根据霍尔传感器,确定周围磁场的变化。可以理解的是,电子设备中都会设置有一个或多个磁性材料。因此,在辅设备接近主设备时,辅设备上的磁性材料就会对主设备周围的磁场产生影响。电子设备500作为主设备时,就可以根据磁场的变化,确定辅设备接近主设备的方向,由此确定主设备和辅设备的相对位置。In this embodiment of the present application, the electronic device 500 may determine the change of the surrounding magnetic field according to the Hall sensor. It can be understood that one or more magnetic materials are provided in electronic devices. Therefore, when the auxiliary device is close to the main device, the magnetic material on the auxiliary device will have an effect on the magnetic field around the main device. When the electronic device 500 is used as the main device, it can determine the direction in which the auxiliary device approaches the main device according to the change of the magnetic field, thereby determining the relative positions of the main device and the auxiliary device.
在本申请的另一些实施例中,电子设备500可以利用磁传感器检测翻盖皮套的开合。在一些实施例中,当电子设备500是翻盖机时,电子设备500可以根据磁传感器检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。In other embodiments of the present application, the electronic device 500 can detect the opening and closing of the flip holster by using a magnetic sensor. In some embodiments, when the electronic device 500 is a flip machine, the electronic device 500 can detect the opening and closing of the flip according to the magnetic sensor. Further, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, characteristics such as automatic unlocking of the flip cover are set.
在本申请的另一些实施例中,在电子设备500配置有可折叠屏幕的情况下,电子设备500可以利用磁传感器检测折叠屏的开合状态(如展开状态,又如闭合状态)。电子设备500可以根据检测到的折叠屏的开合状态,实现自动解锁,音量调整等功能的自动化控制。In other embodiments of the present application, when the electronic device 500 is configured with a foldable screen, the electronic device 500 can use a magnetic sensor to detect the opening and closing states (eg, the unfolded state, or the closed state) of the foldable screen. The electronic device 500 can realize automatic control of functions such as automatic unlocking and volume adjustment according to the detected opening and closing state of the folding screen.
触摸传感器,也称“触控面板”。触摸传感器可以设置于显示屏594,由触摸传感器与显示屏594组成触摸屏,也称“触控屏”。触摸传感器用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。在一些实施例中,可以通过显示屏594提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器也可以设置于电子设备500的表面,与显示屏594所处的位置不同。Touch sensor, also known as "touch panel". The touch sensor may be disposed on the display screen 594, and the touch sensor and the display screen 594 form a touch screen, also called a "touch screen". A touch sensor is used to detect touch operations on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. In some embodiments, visual output related to touch operations may be provided via display screen 594 . In other embodiments, the touch sensor may also be disposed on the surface of the electronic device 500 , which is different from the location where the display screen 594 is located.
需要说明的是,在本申请的一些实施例中,电子设备500中的传感器模块580可以是集成在一起实现上述各个部件的功能的,也可以是部分集成或者单独设置上述部件实现其传感功能的。比如,在一些实施例中,电子设备500中可以设置惯性测量单元(Inertial Measurement Unit,IMU)。该IMU可以用于实现6轴或9轴的传感功能。示例性的,以通过IMU进行9轴检测为例。IMU可以用于实现加速度传感器,陀螺仪传感器,霍尔传感器等部件的传感功能。It should be noted that, in some embodiments of the present application, the sensor module 580 in the electronic device 500 may be integrated together to implement the functions of the above components, or may be partially integrated or separately provided with the above components to implement its sensing function of. For example, in some embodiments, an inertial measurement unit (Inertial Measurement Unit, IMU) may be provided in the electronic device 500 . The IMU can be used to implement 6-axis or 9-axis sensing functions. Illustratively, take 9-axis detection through the IMU as an example. The IMU can be used to implement the sensing functions of components such as acceleration sensors, gyroscope sensors, and Hall sensors.
按键590包括开机键,音量键等。电子设备500可以接收按键590输入,产生与电子设备500的用户设置以及功能控制有关的键信号输入。The keys 590 include a power-on key, a volume key, and the like. The electronic device 500 may receive key 590 inputs and generate key signal inputs related to user settings and function control of the electronic device 500 .
马达591可以产生振动提示。指示器592可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。SIM卡接口595用于连接SIM卡。Motor 591 can generate vibrating cues. The indicator 592 can be an indicator light, which can be used to indicate the charging status, the change of power, and can also be used to indicate messages, missed calls, notifications, and the like. The SIM card interface 595 is used to connect a SIM card.
本申请实施例提供的协同显示方案,能够使用与上述如图5所示的电子设备500中。The collaborative display solution provided by the embodiments of the present application can be used in the electronic device 500 shown in FIG. 5 above.
以下结合附图对本申请实施例提供的方案进行详细说明。The solutions provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
一般而言,电子设备为了实现其功能,都会在其中设置有一个或多个磁性材料。比如,以电子设备为平板电脑为例。平板电脑的使用模式可以包括皮套模式。在皮套模式下,平板电脑可以根据皮套的开合状态,执行对应的策略,比如亮屏/息屏等。为了使得皮套能够与平板电脑紧密贴合,在平板电脑中可以设置有磁性材料,以便在皮套闭合时,能够通过皮套中的磁性材料与平板电脑中磁性材料互相吸引,由此达到紧密闭合的效果。当然,在另一些电子设备中,即使该电子设备不支持皮套模式,也会 根据其功能实现设置磁性材料。Generally speaking, in order to realize the functions of electronic devices, one or more magnetic materials are disposed therein. For example, take the electronic device as a tablet computer as an example. The mode of use of the tablet may include a holster mode. In the holster mode, the tablet can execute corresponding strategies according to the opening and closing status of the holster, such as screen-on/off-screen, etc. In order to make the holster fit closely with the tablet computer, a magnetic material can be arranged in the tablet computer, so that when the holster is closed, the magnetic material in the holster can attract each other with the magnetic material in the tablet computer, thereby achieving a tight fit. closed effect. Of course, in other electronic devices, even if the electronic device does not support the holster mode, the magnetic material will be set according to its function implementation.
当磁性材料进入磁场中时,就会对磁场产生影响。比如,磁性材料对应位置的磁场强度会发生变化。该磁场强度的变化可以被霍尔传感器获取,由此使得设置有该霍尔传感器的电子设备可以确定磁性材料的方位。When a magnetic material enters a magnetic field, it has an effect on the magnetic field. For example, the strength of the magnetic field at the corresponding location of the magnetic material will change. The change of the magnetic field strength can be acquired by the Hall sensor, thereby enabling the electronic device provided with the Hall sensor to determine the orientation of the magnetic material.
示例性的,结合图6。以设备1中设置有能够检测磁场变化的传感器(比如霍尔传感器),设备2上设置有磁性材料为例。设备1可以通过传感器,获取周围磁场的分布情况。当设备2沿X轴负方向接近设备1时,那么就会引起设备1在X轴正方向的磁场强度的变化。设备1可以通过传感器获取该磁场强度的变化。据此,设备1就可以知晓设备2正在沿X轴负方向接近设备1,也就是说,设备2位于设备1的右侧。Exemplarily, in conjunction with FIG. 6 . Take the device 1 provided with a sensor (such as a Hall sensor) capable of detecting changes in the magnetic field, and the device 2 provided with a magnetic material as an example. The device 1 can obtain the distribution of the surrounding magnetic field through the sensor. When the device 2 approaches the device 1 in the negative direction of the X-axis, it will cause the change of the magnetic field strength of the device 1 in the positive direction of the X-axis. The device 1 can acquire the change of the magnetic field strength through the sensor. Accordingly, device 1 can know that device 2 is approaching device 1 along the negative X-axis direction, that is, device 2 is located on the right side of device 1 .
本申请实施例提供的方案中,主设备可以根据上述说明中的技术手段,确定接近主设备的辅设备的位置。接着,主设备就可以根据辅设备的位置,确定在协同显示中,主设备和辅设备分别要显示的内容。进而在主设备的屏幕上,以及控制辅设备在其屏幕上显示对应的内容,由此实现主设备和辅设备的协同显示。In the solution provided by the embodiment of the present application, the master device may determine the position of the auxiliary device close to the master device according to the technical means in the above description. Then, the main device can determine the content to be displayed by the main device and the auxiliary device respectively in the collaborative display according to the position of the auxiliary device. Then, the corresponding content is displayed on the screen of the main device and the auxiliary device is controlled to display the corresponding content on the screen, thereby realizing the coordinated display of the main device and the auxiliary device.
可以理解的是,由于主设备能够根据其内部部件自动识别辅设备的位置,不需要用户手动设置协同显示过程中辅设备的位置选项(比如按照图1-图2所示的方案设置协同显示对应的选项)。因此能够避免由于用户设置的位置选项与实际场景中主设备和辅设备的位置不一致导致的协同显示出错的问题,同时可以使得电子设备能够提供更加便捷的协同显示能力。It can be understood that since the main device can automatically identify the position of the auxiliary device according to its internal components, it is not necessary for the user to manually set the position options of the auxiliary device in the collaborative display process (for example, according to the scheme shown in Fig. 1-Fig. Options). Therefore, the problem of collaborative display errors caused by the inconsistency between the location options set by the user and the positions of the main device and the auxiliary device in the actual scene can be avoided, and at the same time, the electronic device can provide a more convenient collaborative display capability.
作为一种示例,请参考图7,为本申请实施例提供的一种协同显示方法的流程示意图。其中,以主设备为设备1,辅设备为设备2,主设备的显示屏为屏幕1,辅设备的显示屏为屏幕2为例。如图7所示,该方案可以包括:As an example, please refer to FIG. 7 , which is a schematic flowchart of a collaborative display method provided by an embodiment of the present application. The main device is device 1, the auxiliary device is device 2, the display screen of the main device is screen 1, and the display screen of the auxiliary device is screen 2 as an example. As shown in Figure 7, the solution can include:
S701、设备1根据磁场变化,确定设备2相对于设备1的位置信息。S701 , the device 1 determines the position information of the device 2 relative to the device 1 according to the change of the magnetic field.
其中,设备2的相对于设备1的位置信息可以包括设备1的上侧,设备1的下侧,设备1的左侧,设备1的右侧中的一种。The position information of the device 2 relative to the device 1 may include one of the upper side of the device 1 , the lower side of the device 1 , the left side of the device 1 , and the right side of the device 1 .
在一些实施例中,设备1可以在一个方向上的磁场强度达到(或者超过)预设阈值(比如第一阈值)时,确定设备2相对于设备1的位置信息。In some embodiments, the device 1 may determine the position information of the device 2 relative to the device 1 when the magnetic field strength in one direction reaches (or exceeds) a preset threshold (eg, a first threshold).
例如,设备1可以在确定X轴正方向上的磁场强度达到第一阈值时,确定此时设备2相对于设备1的位置信息为:设备1的右侧。也就是所说,设备1可以确定设备2位于设备1的右侧。设备1可以在确定X轴负方向上的磁场强度达到第一阈值时,确定此时设备2相对于设备1的位置信息为:设备1的左侧。设备1可以在确定Y轴正方向上的磁场强度达到第一阈值时,确定此时设备2相对于设备1的位置信息为:设备1的上侧。设备1可以在确定Y轴负方向上的磁场强度达到第一阈值时,确定此时设备2相对于设备1的位置信息为:设备1的下侧。For example, when it is determined that the magnetic field strength in the positive direction of the X-axis reaches the first threshold, the device 1 may determine that the position information of the device 2 relative to the device 1 at this time is: the right side of the device 1 . That is, device 1 can determine that device 2 is located to the right of device 1 . When it is determined that the magnetic field strength in the negative direction of the X-axis reaches the first threshold, the device 1 may determine that the position information of the device 2 relative to the device 1 at this time is: the left side of the device 1 . When it is determined that the magnetic field strength in the positive direction of the Y-axis reaches the first threshold, the device 1 may determine that the position information of the device 2 relative to the device 1 at this time is: the upper side of the device 1 . When it is determined that the magnetic field strength in the negative direction of the Y-axis reaches the first threshold, the device 1 may determine that the position information of the device 2 relative to the device 1 at this time is: the lower side of the device 1 .
在另一些实施例中,设备1可以在一个方向上的磁场强度变化值达到对应的另一个预设阈值(比如第二阈值)时,确定设备2的位置信息。In other embodiments, the device 1 may determine the location information of the device 2 when the change value of the magnetic field strength in one direction reaches another corresponding preset threshold (eg, a second threshold).
例如,设备1可以在确定X轴正方向上的磁场强度变化值达到第二阈值时,确定此时设备2位于设备1的右侧。设备1可以在确定X轴负方向上的磁场强度变化值达到第二阈值时,确定此时设备2位于设备1的左侧。设备1可以在确定Y轴正方向上的磁场强度变化值达到第二阈值时,确定此时设备2位于设备1的上侧。设备1可以 在确定Y轴负方向上的磁场强度变化值达到第二阈值时,确定此时设备2位于设备1的下侧。For example, the device 1 may determine that the device 2 is located on the right side of the device 1 when it is determined that the change value of the magnetic field strength in the positive direction of the X-axis reaches the second threshold. The device 1 may determine that the device 2 is located on the left side of the device 1 when it is determined that the change value of the magnetic field strength in the negative direction of the X-axis reaches the second threshold. The device 1 may determine that the device 2 is located on the upper side of the device 1 when it is determined that the change value of the magnetic field strength in the positive direction of the Y-axis reaches the second threshold. The device 1 may determine that the device 2 is located on the lower side of the device 1 at this time when it is determined that the change value of the magnetic field strength in the negative direction of the Y-axis reaches the second threshold.
S702、设备1根据设备2相对于设备1的位置信息,确定协同显示方案。S702 , the device 1 determines a collaborative display scheme according to the position information of the device 2 relative to the device 1 .
在本申请实施例中,协同显示方案也可以简称为显示方案。显示方案可以包括显示方案1和显示方案2。其中,显示方案1可以是设备1上的屏幕1在协同显示过程中显示的方案。显示方案2可以是设备2上的屏幕2在协同显示过程中显示的方案。In this embodiment of the present application, the collaborative display scheme may also be simply referred to as a display scheme. The display scheme may include display scheme 1 and display scheme 2. The display scheme 1 may be a scheme displayed by the screen 1 on the device 1 during the collaborative display process. The display scheme 2 may be a scheme displayed by the screen 2 on the device 2 during the collaborative display process.
在本示例中,设备1可以根据设备2相对于设备1的位置信息,确定显示方案1。In this example, the device 1 can determine the display scheme 1 according to the position information of the device 2 relative to the device 1 .
示例性的,设备1可以在确定设备2相对于设备1的位置信息之后,确定设备1的屏幕1上要显示的内容,即确定屏幕1上的显示方案1。Exemplarily, after determining the position information of the device 2 relative to the device 1, the device 1 may determine the content to be displayed on the screen 1 of the device 1, that is, determine the display scheme 1 on the screen 1.
以设备1和设备2进行图片的协同显示为例。设备1可以在确定设备2在设备1的右侧时,确定显示方案1中需要显示图片的左侧部分图像。设备1可以在确定设备2在设备1的左侧时,确定显示方案1中需要显示图片的右侧部分图像。设备1可以在确定设备2在设备1的上侧时,确定显示方案1中需要显示图片的下侧部分图像。设备1可以在确定设备2在设备1的下侧时,确定显示方案1中需要显示图片的上侧部分图像。Take the collaborative display of pictures by device 1 and device 2 as an example. When it is determined that the device 2 is on the right side of the device 1, the device 1 may determine that the left part of the image of the picture needs to be displayed in the display solution 1. When it is determined that the device 2 is on the left side of the device 1, the device 1 may determine that the right part of the image of the picture needs to be displayed in the display solution 1. When it is determined that the device 2 is on the upper side of the device 1, the device 1 may determine that the lower part of the image of the picture needs to be displayed in the display scheme 1. When it is determined that the device 2 is on the lower side of the device 1, the device 1 may determine that the upper part of the image of the picture needs to be displayed in the display scheme 1.
此外,设备1还可以根据设备2相对于设备1的位置信息,确定显示方案2。In addition, the device 1 can also determine the display scheme 2 according to the position information of the device 2 relative to the device 1 .
可以理解的是,在大多数协同显示方案中,设备2作为辅设备,其所需要显示的内容都是由主设备确定并控制设备2进行显示的。因此,在本实施例中,结合前述说明,设备1还可以根据设备2相对于设备1的位置信息,确定设备2需要显示的内容。It can be understood that, in most collaborative display solutions, the device 2 is used as a secondary device, and the content to be displayed is determined by the main device and controls the device 2 to display. Therefore, in this embodiment, in combination with the foregoing description, the device 1 can also determine the content to be displayed by the device 2 according to the position information of the device 2 relative to the device 1 .
示例性的,继续以设备1和设备2进行图片的协同显示为例。设备1可以在确定设备2在设备1的右侧时,确定显示方案2中需要显示图片的右侧部分图像。设备1可以在确定设备2在设备1的左侧时,确定显示方案2中需要显示图片的左侧部分图像。设备1可以在确定设备2在设备1的上侧时,确定显示方案2中需要显示图片的上侧部分图像。设备1可以在确定设备2在设备1的下侧时,确定显示方案2中需要显示图片的下侧部分图像。Exemplarily, continue to take the device 1 and the device 2 performing the collaborative display of pictures as an example. When it is determined that the device 2 is on the right side of the device 1, the device 1 may determine that the right part of the image of the picture needs to be displayed in the display scheme 2. When it is determined that the device 2 is on the left side of the device 1, the device 1 may determine that the left part of the image of the picture needs to be displayed in the display scheme 2. When it is determined that the device 2 is on the upper side of the device 1, the device 1 may determine that the upper part of the image of the picture needs to be displayed in the display scheme 2. When it is determined that the device 2 is on the lower side of the device 1, the device 1 may determine that the lower part of the image of the picture needs to be displayed in the display scheme 2.
这样,就实现了设备1根据设备2相对于设备1的位置信息,自适应调整设备1上显示方案(如显示方案1)以及设备2上显示方案(如显示方案2)的效果。In this way, device 1 can adaptively adjust the display scheme on device 1 (such as display scheme 1) and the display scheme on device 2 (such as display scheme 2) according to the position information of device 2 relative to device 1.
需要说明的是,在本申请实施例的不同实现中,设备1确定显示方案1和显示方案2的操作可以具有不同的先后顺序。比如,在一些实现中,设备1可以在确定显示方案1之后确定显示方案2,由此避免算力的集中消耗。在另一些实现中,设备1可以在确定显示方案2之后确定显示方案1,由此设备1可以在确定显示方案1的同时,根据显示方案2控制设备2准备进行显示,从而达到并行处理的效果,提升协同显示过程中两个屏幕显示内容的同步性。可以理解的是,在另一些实现中,设备1还可以在确定显示方案1的同时确定显示方案2,由此也能够通过并行处理节省协同显示过程中数据处理的耗时。It should be noted that, in different implementations of the embodiments of the present application, the operations performed by the device 1 to determine the display scheme 1 and the display scheme 2 may have different sequences. For example, in some implementations, device 1 may determine display solution 2 after determining display solution 1, thereby avoiding centralized consumption of computing power. In other implementations, the device 1 can determine the display scheme 1 after determining the display scheme 2, so that the device 1 can control the device 2 to prepare for display according to the display scheme 2 while determining the display scheme 1, so as to achieve the effect of parallel processing , to improve the synchronization of the content displayed on the two screens during the collaborative display process. It can be understood that, in other implementations, the device 1 can also determine the display scheme 2 while determining the display scheme 1, so that the time-consuming of data processing in the collaborative display process can also be saved through parallel processing.
S703、设备1根据协同显示方案,控制设备1的屏幕1和设备2的屏幕2进行协同显示。S703 , the device 1 controls the screen 1 of the device 1 and the screen 2 of the device 2 to perform collaborative display according to the collaborative display scheme.
示例性的,设备1可以在确定设备2对应的显示方案2之后,将显示方案2发送给设备2,以便于设备2根据显示方案2进行显示。Exemplarily, after determining the display scheme 2 corresponding to the device 2, the device 1 may send the display scheme 2 to the device 2, so that the device 2 can display according to the display scheme 2.
在本示例中,在设备1确定设备2的显示方案2后,设备1可以通过与设备2的互联通道,将设备2的显示方案2发送给设备2。以便于设备2根据设备1发送的显示方案2,进行协同显示。In this example, after the device 1 determines the display scheme 2 of the device 2, the device 1 can send the display scheme 2 of the device 2 to the device 2 through the interconnection channel with the device 2. So that the device 2 can perform collaborative display according to the display scheme 2 sent by the device 1.
此外,设备1还可以根据显示方案1,控制屏幕1进行对应的显示。In addition, the device 1 can also control the screen 1 to perform corresponding display according to the display scheme 1 .
需要说明的是,在本示例中,由于设备1可以通过内部控制,实现根据显示方案1控制屏幕1的显示。而设备1对设备2的显示的控制,需要与设备2进行通信,才能控制设备2根据显示方案2执行对应的协同显示。It should be noted that, in this example, since the device 1 can be controlled internally, the display of the screen 1 can be controlled according to the display scheme 1 . However, the device 1 needs to communicate with the device 2 to control the display of the device 2 so that the device 2 can be controlled to perform the corresponding collaborative display according to the display scheme 2 .
在本申请的一些实施例中,设备1可以在获取显示方案1之后,即控制屏幕1进行显示;同时控制设备2根据显示方案2进行显示。这样,屏幕1的显示可能稍早与屏幕2的显示,由此使得用户可以快速查看到协同显示的一部分内容。比如,该方案可以应用于协同显示内容较为复杂的场景下。In some embodiments of the present application, after acquiring the display scheme 1, the device 1 may control the screen 1 to display; at the same time, the device 2 may be controlled to display according to the display scheme 2. In this way, the display of the screen 1 may be slightly earlier than the display of the screen 2, thereby allowing the user to quickly view a part of the content displayed in conjunction. For example, this solution can be applied to a scenario where the collaborative display content is relatively complex.
在另一些实施例中,设备1可以在获取显示方案1和显示方案2之后,参考耗时较长的控制设备2进行显示的时机,控制屏幕1的显示。由此达到同时在屏幕1和屏幕2上显示协同显示内容的效果。这样使得用户可以完整查看协同显示的内容,能够更好地向用户展示协同显示内容的完整性。比如,该方案可以应用于协同显示内容较为简单的场景下。In other embodiments, after acquiring the display scheme 1 and the display scheme 2, the device 1 may control the display of the screen 1 with reference to the timing of controlling the device 2 to perform display which takes a long time. In this way, the effect of displaying the collaboratively displayed content on the screen 1 and the screen 2 at the same time is achieved. In this way, the user can view the collaboratively displayed content completely, and the integrity of the collaboratively displayed content can be better displayed to the user. For example, this solution can be applied to a scenario where the collaborative display content is relatively simple.
这样,设备1通过自适应地确定设备2相对于设备1的位置信息,可以自动调整协同显示过程中,设备1和设备2各自要显示的内容。由此使得设备1和设备2可以在不需要用户操作的前提下,自动根据设备2相对于设备1的位置信息调整显示的内容,有效地避免了由于用户设置的位置选项与实际位置不相符时协同显示出错的问题发生。示例性的,结合图4,请参考图8。在作为辅设备的平板电脑的位置出现如图4中的(a)所示的位置变化时,采用本申请实施例提供的方案(如图7所示的方案),主设备可以自主根据辅设备的位置变化,调整协同显示过程中两个设备的显示内容,因此可以获取如图8所示的正确的协同显示效果,而不会出现如图4中的(b)所示的问题。In this way, by adaptively determining the position information of the device 2 relative to the device 1, the device 1 can automatically adjust the content to be displayed by the device 1 and the device 2 during the collaborative display process. This enables device 1 and device 2 to automatically adjust the displayed content according to the location information of device 2 relative to device 1 without user operation, effectively avoiding the situation where the location option set by the user does not match the actual location. A problem with the synergy display error occurred. Exemplarily, in conjunction with FIG. 4 , please refer to FIG. 8 . When the position of the tablet computer serving as the auxiliary device changes as shown in (a) in FIG. 4 , using the solution provided by the embodiment of the present application (the solution shown in FIG. 7 ), the main device can autonomously adjust according to the auxiliary device. The position of , adjusts the display content of the two devices during the collaborative display process, so the correct collaborative display effect as shown in Figure 8 can be obtained without the problem shown in (b) of Figure 4.
根据上述对图7所述方案的说明,可以理解的是,本申请实施例提供的方案,能够应用于多个场景下,解决对应的问题。According to the above description of the solution in FIG. 7 , it can be understood that the solutions provided by the embodiments of the present application can be applied to multiple scenarios to solve corresponding problems.
示例性的,在一些实施例中,该方案可以应用于两个设备开始进行协同显示的场景下。由此使得用户不需要进行位置相关选项的设置,即可使用两个设备进行协同显示。Exemplarily, in some embodiments, the solution may be applied to a scenario where two devices start to perform collaborative display. As a result, the user does not need to set location-related options, and can use two devices for collaborative display.
比如,用户可以在输入如图1所示的选定扩展模式的操作之后,而不需要输入如图2所示的操作。对应的,主设备(如图1所示的笔记本电脑)可以在接收到用户选定扩展模式的操作之后,按照如图7所示方案,检测周围磁场的变化情况,确定辅设备(比如平板电脑)相对于主设备的位置信息,并据此确定主设备和辅设备的显示内容(如确定协显示方案)。进而根据确定的显示内容,控制两个电子设备进行对应的协同显示。显而易见的,在本示例中,由于用户不需要输入选定两个电子设备的位置选项,因此就不会出现由于用户选定的位置与实际位置不相符的情况发生。同时,由于主设备可以准确地确定辅设备的位置信息,因此能够更加准确地进行协同显示。此外,使用如图7所示的方案,也能够简化用户在使用协同显示功能过程中的操作,提 升便捷性。For example, the user may not need to input the operation shown in FIG. 2 after inputting the operation of selecting the expansion mode as shown in FIG. 1 . Correspondingly, the main device (the notebook computer shown in Fig. 1) can detect the change of the surrounding magnetic field according to the scheme shown in Fig. 7 after receiving the operation of the expansion mode selected by the user, and determine the auxiliary device (such as the tablet computer). ) relative to the position information of the master device, and determine the display content of the master device and the slave device accordingly (eg, determine a co-display scheme). Further, according to the determined display content, the two electronic devices are controlled to perform corresponding collaborative display. Obviously, in this example, since the user does not need to input the location options for selecting two electronic devices, there will be no situation where the location selected by the user does not match the actual location. At the same time, since the master device can accurately determine the position information of the slave device, collaborative display can be performed more accurately. In addition, using the solution shown in FIG. 7 can also simplify the user's operation in the process of using the collaborative display function, and improve the convenience.
在另一些实施例中,该方案可以应用于两个设备正在进行协同显示过程中的场景下。由此使在辅设备相对于主设备的位置信息出现变化时,不需要用户重新进行位置相关选项的设置,也可以保证两个设备进行正确的协同显示。In other embodiments, the solution can be applied to a scenario where two devices are in the process of co-displaying. Therefore, when the location information of the auxiliary device relative to the main device changes, the user does not need to re-set the location-related options, and it is also possible to ensure that the two devices perform correct collaborative display.
比如,在主设备(比如笔记本电脑)和辅设备(比如平板电脑)进行协同显示的过程中。用户将平板电脑从笔记本电脑的左侧移动到右侧。那么,笔记本可以根据如图7所示的方案,在磁场不再变化时,根据此时的磁场与磁场开始变化时的磁场的分布情况,确定移动之后,平板电脑相对于笔记本电脑的位置信息。笔记本电脑可以根据确定的平板电脑的位置信息,调整协同显示方案,由此实现协同显示的自适应调整。可以看到,在本示例中,由于在用户移动主设备和/或辅设备之后,不需要重新选定主设备和辅设备的位置,因此就不会出现由于用户选定的位置与实际位置不相符的情况发生。同时,由于主设备可以准确地确定辅设备的位置信息,因此能够更加准确地进行协同显示。此外,使用如图7所示的方案,也能够简化用户在使用协同显示功能过程中的操作,提升便捷性。For example, in the process of collaborative display between the main device (such as a laptop computer) and the auxiliary device (such as a tablet computer). The user moves the tablet from the left side of the laptop to the right side. Then, the notebook can determine the position information of the tablet computer relative to the notebook computer after moving according to the scheme shown in Figure 7, when the magnetic field no longer changes, according to the current magnetic field and the distribution of the magnetic field when the magnetic field begins to change. The notebook computer can adjust the collaborative display scheme according to the determined position information of the tablet computer, thereby realizing the adaptive adjustment of the collaborative display. It can be seen that, in this example, after the user moves the primary device and/or the secondary device, there is no need to re-select the positions of the primary device and the secondary device, so there is no possibility that the user-selected location is different from the actual location. A match occurs. At the same time, since the master device can accurately determine the position information of the slave device, collaborative display can be performed more accurately. In addition, using the solution shown in FIG. 7 can also simplify the user's operations in the process of using the collaborative display function, and improve convenience.
需要说明的是,在上述说明中,是以主设备控制辅设备进行协同显示为例进行说明的。在本申请的另一些实施例中,辅设备也可以执行对应的操作,使得协同显示的自适应调整更加灵活准确。It should be noted that, in the above description, the master device controls the slave devices to perform collaborative display as an example for description. In other embodiments of the present application, the auxiliary device may also perform corresponding operations, so that the adaptive adjustment of the collaborative display is more flexible and accurate.
示例性的,结合图7。在设备1执行S701,即根据磁场变化,确定设备2的位置时,设备2也可以根据设备2上设置的霍尔传感器,判断在设备2移动过程中,周边磁场的变化情况。比如,在设备2沿X轴负方向靠近设备1的过程中,设备2可以通过其霍尔传感器,确定在X轴负方向上的磁场发生变化。由此,设备2即可确定正在从设备1的右侧接近设备1。设备2可以将该设备2与设备1的相对位置信息发送给设备1,以便于设备1确定设备2位于设备1的右侧。或者,设备1可以根据从设备2接收到的位置信息,以及根据设备1上霍尔传感器确定的设备2的位置信息,综合判断,确定设备2位于设备1的右侧。Exemplarily, in conjunction with FIG. 7 . When the device 1 executes S701, that is, when the position of the device 2 is determined according to the change of the magnetic field, the device 2 can also judge the change of the surrounding magnetic field during the movement of the device 2 according to the Hall sensor set on the device 2. For example, when the device 2 approaches the device 1 in the negative direction of the X-axis, the device 2 can determine that the magnetic field in the negative direction of the X-axis changes through its Hall sensor. Thus, device 2 can determine that device 1 is approaching from the right side of device 1 . The device 2 can send the relative position information of the device 2 and the device 1 to the device 1, so that the device 1 can determine that the device 2 is located on the right side of the device 1. Alternatively, the device 1 can comprehensively determine that the device 2 is located on the right side of the device 1 according to the position information received from the device 2 and the position information of the device 2 determined by the Hall sensor on the device 1 .
在另一些实施例中,设备2还可以将自身的姿态信息(比如横屏姿态或者竖屏姿态)发送给设备1,以便于设备1据此调整设备2对应的显示方案,进而使得设备1可以更加准确地控制设备2上的协同显示的内容。In other embodiments, device 2 may also send its own posture information (such as landscape orientation or portrait orientation) to device 1, so that device 1 can adjust the display scheme corresponding to device 2 accordingly, so that device 1 can Control the content of the collaborative display on device 2 more accurately.
示例性的,结合图9,为本申请实施例提供的又一种协同显示的流程示意图。其中,继续以设备1为主设备,设备2为辅设备为例进行说明。如图9所示,该方法可以包括:Exemplarily, with reference to FIG. 9 , another schematic flowchart of collaborative display provided by an embodiment of the present application. Among them, continue to take the device 1 as the main device and the device 2 as the auxiliary device as an example for description. As shown in Figure 9, the method may include:
S901、设备1根据磁场变化,确定设备2的相对于设备1的位置信息。S901 , the device 1 determines the position information of the device 2 relative to the device 1 according to the change of the magnetic field.
结合对图7的说明,S901的执行方式与S701类似,此处不再赘述。With reference to the description of FIG. 7 , the execution manner of S901 is similar to that of S701, and details are not repeated here.
S902、设备1根据设备2相对于设备1的位置信息,确定屏幕1上的显示方案3。S902 , the device 1 determines the display scheme 3 on the screen 1 according to the position information of the device 2 relative to the device 1 .
结合对图7的说明,S902的执行方式可以参考S702中,设备1确定屏幕1上的显示方案1的方案的具体执行过程,此处不再赘述。With reference to the description of FIG. 7 , for the execution manner of S902, reference may be made to the specific execution process of the solution of the display solution 1 on the screen 1 determined by the device 1 in S702, which will not be repeated here.
需要说明的是,在本示例的一些实现中,设备1在确定显示方案3的过程中,还可以结合设备1的姿态信息1,综合判断。其中,设备1的姿态信息1可以包括横屏姿态或者竖屏姿态。该姿态信息1可以是设备1通过其上设置的IMU确定的,也可以 是设备1通过其上设置的重力传感器确定的,也可以是设备1通过屏幕1当前显示的内容的长宽比确定的。本申请实施例对于设备1获取姿态信息1的方式不作限制。It should be noted that, in some implementations of this example, in the process of determining the display scheme 3, the device 1 may also make a comprehensive judgment in combination with the attitude information 1 of the device 1 . The posture information 1 of the device 1 may include a landscape orientation or a portrait orientation. The gesture information 1 can be determined by the IMU set on the device 1, or determined by the gravity sensor set on the device 1, or determined by the device 1 through the aspect ratio of the content currently displayed on the screen 1 . This embodiment of the present application does not limit the manner in which the device 1 acquires the gesture information 1 .
S903、设备2确定设备2的姿态信息2。S903 , the device 2 determines the posture information 2 of the device 2 .
结合前述S902中的说明,与设备1的姿态信息1类似,设备2的姿态信息可以包括横屏姿态或者竖屏姿态。其获取方法类似。With reference to the above description in S902, similar to the posture information 1 of the device 1, the posture information of the device 2 may include a landscape orientation or a portrait orientation. Its acquisition method is similar.
S904、设备2向设备1发送姿态信息2。S904 , the device 2 sends the gesture information 2 to the device 1 .
示例性的,设备2可以通过与设备1建立的互联通信关系,向设备1发送姿态信息2。Exemplarily, the device 2 may send the gesture information 2 to the device 1 through the interconnected communication relationship established with the device 1 .
S905、设备1根据设备2相对于设备1的位置信息以及姿态信息2,确定设备2的显示方案4。S905 , the device 1 determines the display scheme 4 of the device 2 according to the position information and the attitude information 2 of the device 2 relative to the device 1 .
在本示例中,设备2可以将获取的姿态信息2,发送给设备1,以便于设备1能够更加准确地确定在协同显示过程中设备2对应的显示内容。In this example, the device 2 can send the acquired gesture information 2 to the device 1, so that the device 1 can more accurately determine the display content corresponding to the device 2 in the collaborative display process.
可以理解的是,在设备2屏幕为长方形时,如果设备2在移动过程中,出现了旋转,那么如果按照旋转之前的显示方案进行显示,也会出现一些问题。It can be understood that when the screen of the device 2 is rectangular, if the device 2 is rotated during the movement, some problems will also occur if the display is displayed according to the display scheme before the rotation.
示例性的,参考图10。在设备2移动到设备1的左侧之后,如果屏幕旋转,比如由横屏旋转为竖屏。那么,如果按照横屏情况下的显示方案在竖屏姿态下进行显示,就会使得本应在设备2上显示的图像无法被2完整地显示。为了避免该问题,本申请实施例中,设备1可以根据从设备2获取的姿态信息2,确定当前协同显示场景下,设备2的姿态为横屏或竖屏。进而使得设备1可以据此灵活调整设备2对应的显示方案4。Illustratively, refer to FIG. 10 . After the device 2 is moved to the left side of the device 1, if the screen is rotated, for example, it is rotated from a landscape screen to a portrait screen. Then, if it is displayed in the portrait orientation according to the display scheme in the landscape situation, the image that should be displayed on the device 2 cannot be completely displayed by the device 2 . In order to avoid this problem, in this embodiment of the present application, the device 1 may determine, according to the posture information 2 obtained from the device 2, whether the posture of the device 2 is a landscape screen or a portrait screen in the current collaborative display scenario. Further, the device 1 can flexibly adjust the display scheme 4 corresponding to the device 2 accordingly.
需要说明的是,在本示例的具体执行过程中,上述S901-S905的执行并不存在固定的先后顺序。示例性的,在一些实施例中,设备1可以在确定显示方案3的之后获取设备2的姿态信息。应理解,设备1可以在确定显示方案3之前,获取设备2的姿态信息。对应,结合前述图7的说明,设备1确定显示方案3和显示方案4的时机也部分先后,可以是顺序执行,也可以并行执行。二者可以互不干扰,相互独立。It should be noted that, in the specific execution process of this example, there is no fixed sequence in the execution of the foregoing S901-S905. Exemplarily, in some embodiments, the device 1 may acquire the gesture information of the device 2 after determining the display scheme 3 . It should be understood that the device 1 may acquire the posture information of the device 2 before determining the display scheme 3 . Correspondingly, with reference to the foregoing description of FIG. 7 , the timings at which the device 1 determines the display scheme 3 and the display scheme 4 are also partially sequential, and may be executed sequentially or in parallel. The two can not interfere with each other and are independent of each other.
S906、设备1根据显示方案3和显示方案4,控制屏幕1和屏幕2进行协同显示。S906, the device 1 controls the screen 1 and the screen 2 to perform collaborative display according to the display scheme 3 and the display scheme 4.
示例性的,设备1可以向设备2发送显示方案4;以控制设备2根据显示方案4在屏幕2上进行显示。另外,设备1还可以根据显示方案3,控制屏幕1进行显示。Exemplarily, the device 1 may send the display scheme 4 to the device 2; so as to control the device 2 to display on the screen 2 according to the display scheme 4. In addition, the device 1 can also control the screen 1 to display according to the display scheme 3 .
在本示例中,在设备1确定与设备2相对于设备1的位置信息以及设备2的姿态信息匹配的显示方案4之后,设备1可以根据该显示方案4,控制设备2进行显示。比如,设备1可以将该显示方案4发送给设备2,以便于设备2可以根据该显示方案4,进行协同显示。In this example, after device 1 determines a display scheme 4 that matches the position information of device 2 relative to device 1 and the posture information of device 2 , device 1 can control device 2 to display according to the display scheme 4 . For example, device 1 can send the display scheme 4 to device 2, so that device 2 can perform collaborative display according to the display scheme 4.
示例性的,在使用了如图9所示的方案的情况下,其显示效果如图11所示。对比图10以以及图11所示的效果。显而易见的,在图11中,设备1在考虑了设备2的姿态信息2之后,可以更加合理地控制设备2进行协同显示,而不会出现无法完全显示图像内容的情况。Exemplarily, when the solution shown in FIG. 9 is used, the display effect is as shown in FIG. 11 . Compare the effects shown in Figure 10 and Figure 11 . Obviously, in FIG. 11 , after considering the posture information 2 of the device 2, the device 1 can more reasonably control the device 2 to perform collaborative display, without the situation that the image content cannot be fully displayed.
需要说明的是,上述图7以及图9的方案中,设备1检测其周边磁场变化的触发机制,可以是设备1在收到用户指示开始协同显示的操作之后,实施对其周边磁场进行检测的,也可以是按照一定的周期触发磁场检测的。It should be noted that, in the above solutions in FIGS. 7 and 9 , the trigger mechanism for device 1 to detect changes in its surrounding magnetic field may be that after device 1 receives the user’s instruction to start the collaborative display operation, it implements the detection of its surrounding magnetic field. , or the magnetic field detection can be triggered according to a certain period.
另外,在本申请的一些实施例中,设备1确定设备2的显示方案,也可以是参考设备2的设备型号等硬件信息确定的。示例性的,不同的电子设备对于磁场的影响是不同的。也就是说,不同型号的辅设备在不同方向靠近主设备的过程中,设备1所检测到的磁场的变化是不同的。因此,在本申请的一些实施例中,设备1中可以配置有可能与其进行协同显示的设备的型号,以及与不同设备对应的磁场变化情况的对应关系。不同的磁场变化可以对应于不同的阈值设定。比如,以采用图7所示方案为例。设备1可以在开始协同显示时,与设备2进行互联。这样,设备1就可以知晓设备2的设备型号。根据该设备2的设备型号,设备1就可以从预先配置的上述对应关系中,获取与该设备2对应的磁场变化的阈值。那么,在设备1执行S701的过程中,设备1可以根据磁场的变化情况,以及上述确定的设备2对应的磁场变化的阈值,更加准确地判断设备2是否靠近设备1,以及设备2相对于设备1的位置信息。可以理解的是,由于设备1能够根据设备2的设备型号灵活选取对应的阈值,因此,设备1能够更加准确地判断设备2所在位置信息,进而使得设备1能够更加准确地控制屏幕1以及设备2的屏幕2进行协同显示。In addition, in some embodiments of the present application, the device 1 determines the display scheme of the device 2, which may also be determined with reference to hardware information such as the device model of the device 2. Exemplarily, different electronic devices have different effects on the magnetic field. That is to say, when the auxiliary devices of different models approach the main device in different directions, the changes of the magnetic field detected by the device 1 are different. Therefore, in some embodiments of the present application, the device 1 may be configured with the model of the device with which it may be displayed collaboratively, and the corresponding relationship with the magnetic field changes corresponding to different devices. Different magnetic field changes can correspond to different threshold settings. For example, take the solution shown in FIG. 7 as an example. Device 1 can be interconnected with device 2 when the collaborative display is started. In this way, device 1 can know the device model of device 2. According to the device model of the device 2, the device 1 can obtain the threshold value of the magnetic field change corresponding to the device 2 from the pre-configured corresponding relationship. Then, in the process of performing S701 by the device 1, the device 1 can more accurately determine whether the device 2 is close to the device 1 and whether the device 2 is relative to the device 2 according to the change of the magnetic field and the threshold value of the magnetic field change corresponding to the device 2 determined above. 1 location information. It can be understood that, since device 1 can flexibly select the corresponding threshold according to the device model of device 2, device 1 can more accurately determine the location information of device 2, thereby enabling device 1 to more accurately control screen 1 and device 2. screen 2 for collaborative display.
需要说明的是,以上对于本申请实施例提供的方案的说明,都是以主设备自动根据磁场变化情况确定辅设备的位置信息,由此达到准确便捷的协同显示的效果为例进行说明的。在另一些实施例中,本申请实施例提供的方法,还可以应用于协同显示之外其他的一些多屏幕显示场景中。比如,在镜像显示模式或者扩展显示模式等显示模式下,主设备也需要根据多个屏幕之间的位置关系,确定对应的显示方案,进而控制各个屏幕显示对应的内容。采用本申请实施例提供的协同显示方案,主设备可以自动确定其他参与多屏幕显示的设备的位置信息,并据此提供准确的显示方案。由此也可达到不需要用户设置的情况下,准确进行显示的效果。It should be noted that, the above descriptions of the solutions provided by the embodiments of the present application are described by taking the main device automatically determining the position information of the auxiliary device according to the magnetic field change, thereby achieving the effect of accurate and convenient collaborative display as an example. In other embodiments, the methods provided by the embodiments of the present application may also be applied to other multi-screen display scenarios other than collaborative display. For example, in a display mode such as a mirror display mode or an extended display mode, the master device also needs to determine a corresponding display scheme according to the positional relationship between multiple screens, and then control each screen to display corresponding content. Using the collaborative display solution provided by the embodiments of the present application, the master device can automatically determine the location information of other devices participating in multi-screen display, and provide an accurate display solution accordingly. In this way, the effect of accurate display can also be achieved without user setting.
上述主要从电子设备的角度对本申请实施例提供的方案进行了介绍。为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The solutions provided by the embodiments of the present application have been introduced above mainly from the perspective of electronic devices. In order to realize the above-mentioned functions, it includes corresponding hardware structures and/or software modules for executing each function. Those skilled in the art should easily realize that the present application can be implemented in hardware or a combination of hardware and computer software with the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
本申请实施例可以根据上述方法示例对其中涉及的设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In this embodiment of the present application, the devices involved may be divided into functional modules according to the above method examples. For example, each functional module may be divided into each function, or two or more functions may be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. It should be noted that, the division of modules in the embodiments of the present application is schematic, and is only a logical function division, and there may be other division manners in actual implementation.
请参考图12,为本申请实施例提供的一种协同显示装置1200的组成示意图。该装置可以设置于第一电子设备中,用于实现上述实施例中的协同显示方案。结合图5,图12所述的协同显示装置1200可以设置在电子设备500中,也可以是电子设备500的另一种描述。其中包括的各个单元的功能可以通过电子设备500中的硬件组成实现。Please refer to FIG. 12 , which is a schematic diagram of the composition of a collaborative display device 1200 according to an embodiment of the present application. The apparatus can be set in the first electronic device, and is used to realize the collaborative display solution in the above-mentioned embodiment. With reference to FIG. 5 , the collaborative display apparatus 1200 described in FIG. 12 may be provided in the electronic device 500 , or may be another description of the electronic device 500 . The functions of each unit included therein may be implemented by hardware components in the electronic device 500 .
示例性的,该装置包括:确定单元1201,用于自动确定第二电子设备相对于第一 电子设备的位置信息,位置信息包括第一电子设备的上侧,第一电子设备的下侧,第一电子设备的左侧,第一电子设备的右侧。Exemplarily, the apparatus includes: a determining unit 1201, configured to automatically determine position information of the second electronic device relative to the first electronic device, where the position information includes the upper side of the first electronic device, the lower side of the first electronic device, and the first electronic device. The left side of one electronic device, the right side of the first electronic device.
确定单元1201,还用于根据位置信息,确定协同显示方案。The determining unit 1201 is further configured to determine a collaborative display scheme according to the location information.
控制单元1202,用于根据协同显示方案,控制第一电子设备和第二电子设备进行协同显示。The control unit 1202 is configured to control the first electronic device and the second electronic device to perform collaborative display according to the collaborative display scheme.
在一种可能的设计中,该装置还包括:接收单元1203,用于在第一电子设备自动确定第二电子设备相对于第一电子设备的位置信息之前,接收用户的操作,用户的操作用于指示第一电子设备激活协同显示功能。或者,第一用户的操作用于指示第一电子设备激活扩展显示模式。或者,第一用户的操作用于指示第一电子设备激活镜像显示模式。In a possible design, the apparatus further includes: a receiving unit 1203, configured to receive the user's operation before the first electronic device automatically determines the position information of the second electronic device relative to the first electronic device. for instructing the first electronic device to activate the collaborative display function. Or, the operation of the first user is used to instruct the first electronic device to activate the extended display mode. Or, the operation of the first user is used to instruct the first electronic device to activate the mirror display mode.
在一种可能的设计中,第一电子设备具有检测周边磁场强度的能力。确定单元1201,具体用于根据第一电子设备周边磁场的变化,确定位置信息。其中,在一个方向上的磁场强度超过预设阈值的情况下,确定单元1201确定第二电子设备相对于第一电子设备的位置信息,方向包括第一电子设备的上侧,第一电子设备的下侧,第一电子设备的左侧,第一电子设备的右侧。In one possible design, the first electronic device has the ability to detect the strength of the surrounding magnetic field. The determining unit 1201 is specifically configured to determine the position information according to the change of the surrounding magnetic field of the first electronic device. Wherein, when the magnetic field strength in one direction exceeds a preset threshold, the determining unit 1201 determines the position information of the second electronic device relative to the first electronic device, the direction includes the upper side of the first electronic device, the The lower side, the left side of the first electronic device, the right side of the first electronic device.
在一种可能的设计中,第一电子设备设置有磁传感器,磁传感器用于提供第一电子设备的检测周边磁场强度的能力。In a possible design, the first electronic device is provided with a magnetic sensor, and the magnetic sensor is used to provide the first electronic device with the ability to detect the strength of the surrounding magnetic field.
在一种可能的设计中,控制单元1202,用于第一电子设备根据协同显示方案,控制第一电子设备的第一显示屏显示待显示内容的第一部分。控制单元1202,还用于根据第二协同显示方案控制第二电子设备的第二显示屏显示待显示内容的第二部分,第一部分和第二部分构成待显示内容。In a possible design, the control unit 1202 is used for the first electronic device to control the first display screen of the first electronic device to display the first part of the content to be displayed according to the collaborative display scheme. The control unit 1202 is further configured to control the second display screen of the second electronic device to display the second part of the content to be displayed according to the second collaborative display scheme, and the first part and the second part constitute the content to be displayed.
在一种可能的设计中,在第二电子设备位于第一电子设备的左侧的情况下,第一部分为待显示内容中的右侧部分内容,第二部分为待显示内容中的左侧部分。在第二电子设备位于第一电子设备的右侧的情况下,第一部分为待显示内容中的左侧部分内容,第二部分为待显示内容中的右侧部分。在第二电子设备位于第一电子设备的上侧的情况下,第一部分为待显示内容中的下侧部分内容,第二部分为待显示内容中的上侧部分。在第二电子设备位于第一电子设备的下侧的情况下,第一部分为待显示内容中的上侧部分内容,第二部分为待显示内容中的下侧部分。In a possible design, when the second electronic device is located on the left side of the first electronic device, the first part is the right part of the content to be displayed, and the second part is the left part of the content to be displayed . When the second electronic device is located on the right side of the first electronic device, the first part is the left part of the content to be displayed, and the second part is the right part of the content to be displayed. When the second electronic device is located on the upper side of the first electronic device, the first part is the lower part of the content to be displayed, and the second part is the upper part of the content to be displayed. When the second electronic device is located on the lower side of the first electronic device, the first part is the upper part of the content to be displayed, and the second part is the lower part of the content to be displayed.
在一种可能的设计中,接收单元1203,还用于在第一电子设备根据位置信息,确定协同显示方案之前,接收第二电子设备的姿态信息。确定单元1201,用于根据相对位置,以及第二电子设备的姿态信息,确定协同显示方案。In a possible design, the receiving unit 1203 is further configured to receive the attitude information of the second electronic device before the first electronic device determines the collaborative display scheme according to the position information. The determining unit 1201 is configured to determine the collaborative display scheme according to the relative position and the attitude information of the second electronic device.
在一种可能的设计中,姿态信息包括:横屏姿态或者竖屏姿态。In a possible design, the posture information includes: landscape orientation or portrait orientation.
在一种可能的设计中,第一电子设备和第二电子设备处于无线连接状态。In a possible design, the first electronic device and the second electronic device are in a wireless connection state.
在一种可能的设计中,在控制单元1202根据协同显示方案,控制第一电子设备和第二电子设备进行协同显示之前,第一电子设备相对于第二电子设备的位置信息为第一位置信息。控制单元1202,用于根据第一位置信息,控制第一电子设备按照第一协同显示方案进行第一协同显示。第一位置信息与第一协同显示方案对应。在第一位置信息变化为第二位置信息的情况下,确定单元1201,用于自动确定第二电子设备相对 于第一电子设备的位置信息为第二位置信息。确定单元1201,还用于根据第二位置信息,确定第二协同显示方案。控制单元1202,用于根据第二协同显示方案,控制第一电子设备和第二电子设备由第一协同显示切换为第二协同显示,第二协同显示是与第二协同显示方案对应的显示。In a possible design, before the control unit 1202 controls the first electronic device and the second electronic device to perform collaborative display according to the collaborative display scheme, the location information of the first electronic device relative to the second electronic device is the first location information . The control unit 1202 is configured to control the first electronic device to perform the first collaborative display according to the first collaborative display scheme according to the first position information. The first location information corresponds to the first collaborative display scheme. In the case where the first position information is changed to the second position information, the determining unit 1201 is configured to automatically determine that the position information of the second electronic device relative to the first electronic device is the second position information. The determining unit 1201 is further configured to determine a second collaborative display scheme according to the second position information. The control unit 1202 is configured to control the first electronic device and the second electronic device to switch from the first collaborative display to the second collaborative display according to the second collaborative display scheme, and the second collaborative display is the display corresponding to the second collaborative display scheme.
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。It should be noted that, all relevant contents of the steps involved in the above method embodiments can be cited in the functional description of the corresponding functional module, which will not be repeated here.
图13示出了的一种电子设备1300的组成示意图。示例性的,该电子设备1300可以为前述实施例中的第一电子设备。如图13所示,该电子设备1300可以包括:处理器1301和存储器1302。该存储器1302用于存储计算机执行指令。示例性的,在一些实施例中,当该处理器1301执行该存储器1302存储的指令时,可以使得该电子设备1300执行上述实施例中任一种所示的协同显示方法。FIG. 13 shows a schematic diagram of the composition of an electronic device 1300 . Exemplarily, the electronic device 1300 may be the first electronic device in the foregoing embodiment. As shown in FIG. 13 , the electronic device 1300 may include: a processor 1301 and a memory 1302 . The memory 1302 is used to store computer-implemented instructions. Exemplarily, in some embodiments, when the processor 1301 executes the instructions stored in the memory 1302, the electronic device 1300 can be made to execute the collaborative display method shown in any one of the foregoing embodiments.
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。It should be noted that, all relevant contents of the steps involved in the above method embodiments can be cited in the functional description of the corresponding functional module, which will not be repeated here.
图14示出了的一种芯片系统1400的组成示意图。该芯片系统1400可以包括:处理器1401和通信接口1402,用于支持相关设备实现上述实施例中所涉及的功能。在一种可能的设计中,芯片系统还包括存储器,用于保存终端必要的程序指令和数据。该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。需要说明的是,在本申请的一些实现方式中,该通信接口1402也可称为接口电路。FIG. 14 shows a schematic diagram of the composition of a chip system 1400 . The chip system 1400 may include: a processor 1401 and a communication interface 1402, which are used to support related devices to implement the functions involved in the above embodiments. In a possible design, the chip system further includes a memory for storing necessary program instructions and data of the terminal. The chip system may be composed of chips, or may include chips and other discrete devices. It should be noted that, in some implementation manners of the present application, the communication interface 1402 may also be referred to as an interface circuit.
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。It should be noted that, all relevant contents of the steps involved in the above method embodiments can be cited in the functional description of the corresponding functional module, which will not be repeated here.
在上述实施例中的功能或动作或操作或步骤等,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式来实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或者数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包括一个或多个可以用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带),光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。The functions or actions or operations or steps in the above embodiments may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using a software program, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general purpose computer, special purpose computer, computer network, or other programmable device. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server, or data center Transmission to another website site, computer, server, or data center by wire (eg, coaxial cable, optical fiber, digital subscriber line, DSL) or wireless (eg, infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer, or data storage devices including one or more servers, data centers, etc. that can be integrated with the medium. The usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVDs), or semiconductor media (eg, solid state disks (SSDs)), and the like.
尽管结合具体特征及其实施例对本申请进行了描述,显而易见的,在不脱离本申请的精神和范围的情况下,可对其进行各种修改和组合。相应地,本说明书和附图仅仅是所附权利要求所界定的本申请的示例性说明,且视为已覆盖本申请范围内的任意和所有修改、变化、组合或等同物。显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包括这些改动和变型在内。Although the application has been described in conjunction with specific features and embodiments thereof, it will be apparent that various modifications and combinations can be made therein without departing from the spirit and scope of the application. Accordingly, this specification and drawings are merely exemplary illustrations of the application as defined by the appended claims, and are deemed to cover any and all modifications, variations, combinations or equivalents within the scope of this application. Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims (10)

  1. 一种协同显示方法,其特征在于,所述方法包括:A collaborative display method, characterized in that the method comprises:
    第一电子设备自动确定第二电子设备相对于所述第一电子设备的位置信息,所述位置信息包括所述第一电子设备的上侧,所述第一电子设备的下侧,所述第一电子设备的左侧,所述第一电子设备的右侧;The first electronic device automatically determines the position information of the second electronic device relative to the first electronic device, the position information includes the upper side of the first electronic device, the lower side of the first electronic device, and the first electronic device. The left side of an electronic device, the right side of the first electronic device;
    所述第一电子设备根据所述位置信息,确定协同显示方案;The first electronic device determines a collaborative display scheme according to the location information;
    所述第一电子设备根据所述协同显示方案,控制所述第一电子设备和所述第二电子设备进行协同显示。The first electronic device controls the first electronic device and the second electronic device to perform collaborative display according to the collaborative display scheme.
  2. 根据权利要求1所述的方法,其特征在于,在第一电子设备自动确定第二电子设备相对于所述第一电子设备的位置信息之前,所述方法还包括:The method according to claim 1, wherein before the first electronic device automatically determines the position information of the second electronic device relative to the first electronic device, the method further comprises:
    所述第一电子设备接收用户的操作,所述用户的操作用于指示所述第一电子设备激活协同显示功能;或者,所述第一用户的操作用于指示所述第一电子设备激活扩展显示模式;或者,所述第一用户的操作用于指示所述第一电子设备激活镜像显示模式。The first electronic device receives a user's operation, where the user's operation is used to instruct the first electronic device to activate the collaborative display function; or, the first user's operation is used to instruct the first electronic device to activate the extension display mode; or, the operation of the first user is used to instruct the first electronic device to activate the mirror display mode.
  3. 根据权利要求1或2所述的方法,其特征在于,所述第一电子设备具有检测周边磁场强度的能力;The method according to claim 1 or 2, wherein the first electronic device has the ability to detect the strength of the surrounding magnetic field;
    第一电子设备自动确定第二电子设备相对于所述第一电子设备的位置信息,包括:The first electronic device automatically determines the position information of the second electronic device relative to the first electronic device, including:
    所述第一电子设备根据所述第一电子设备周边磁场的变化,确定所述位置信息;The first electronic device determines the location information according to changes in the surrounding magnetic field of the first electronic device;
    其中,在所述第一电子设备确定一个方向上的磁场强度超过预设阈值的情况下,所述第一电子设备确定所述第二电子设备相对于所述第一电子设备的位置信息,所述方向包括所述第一电子设备的上侧,所述第一电子设备的下侧,所述第一电子设备的左侧,所述第一电子设备的右侧。Wherein, when the first electronic device determines that the magnetic field strength in one direction exceeds a preset threshold, the first electronic device determines the position information of the second electronic device relative to the first electronic device, so The direction includes the upper side of the first electronic device, the lower side of the first electronic device, the left side of the first electronic device, and the right side of the first electronic device.
  4. 根据权利要求3所述的方法,其特征在于,所述第一电子设备设置有磁传感器,所述磁传感器用于提供所述第一电子设备的检测周边磁场强度的能力。The method according to claim 3, wherein the first electronic device is provided with a magnetic sensor, and the magnetic sensor is used to provide the first electronic device with the ability to detect the strength of the surrounding magnetic field.
  5. 根据权利要求1-4中任一项所述的方法,其特征在于,The method according to any one of claims 1-4, wherein,
    所述第一电子设备根据所述协同显示方案,控制所述第一电子设备和所述第二电子设备进行协同显示包括:According to the collaborative display scheme, the first electronic device controlling the first electronic device and the second electronic device to perform collaborative display includes:
    所述第一电子设备根据所述协同显示方案,控制所述第一电子设备的第一显示屏显示待显示内容的第一部分;所述第一电子设备根据所述第二协同显示方案控制所述第二电子设备的第二显示屏显示待显示内容的第二部分,所述第一部分和第二部分构成所述待显示内容。The first electronic device controls the first display screen of the first electronic device to display the first part of the content to be displayed according to the collaborative display scheme; the first electronic device controls the display according to the second collaborative display scheme The second display screen of the second electronic device displays a second part of the content to be displayed, and the first part and the second part constitute the content to be displayed.
  6. 根据权利要求5所述的方法,其特征在于,The method of claim 5, wherein:
    在所述第二电子设备位于所述第一电子设备的左侧的情况下,所述第一部分为所述待显示内容中的右侧部分内容,所述第二部分为所述待显示内容中的左侧部分;When the second electronic device is located on the left side of the first electronic device, the first part is the right part of the content to be displayed, and the second part is part of the content to be displayed the left part of ;
    在所述第二电子设备位于所述第一电子设备的右侧的情况下,所述第一部分为所述待显示内容中的左侧部分内容,所述第二部分为所述待显示内容中的右侧部分;When the second electronic device is located on the right side of the first electronic device, the first part is the left part of the content to be displayed, and the second part is part of the content to be displayed the right part of ;
    在所述第二电子设备位于所述第一电子设备的上侧的情况下,所述第一部分为所述待显示内容中的下侧部分内容,所述第二部分为所述待显示内容中的上侧部分;When the second electronic device is located on the upper side of the first electronic device, the first part is a lower part of the content to be displayed, and the second part is a part of the content to be displayed the upper part of the
    在所述第二电子设备位于所述第一电子设备的下侧的情况下,所述第一部分为所述待显示内容中的上侧部分内容,所述第二部分为所述待显示内容中的下侧部分。When the second electronic device is located on the lower side of the first electronic device, the first part is an upper part of the content to be displayed, and the second part is a part of the content to be displayed the lower part of the .
  7. 根据权利要求1-6中任一项所述的方法,其特征在于,在所述第一电子设备根据所述位置信息,确定协同显示方案之前,所述方法还包括:The method according to any one of claims 1-6, wherein before the first electronic device determines a collaborative display scheme according to the location information, the method further comprises:
    所述第一电子设备接收所述第二电子设备的姿态信息,所述姿态信息包括:横屏姿态或者竖屏姿态;The first electronic device receives the posture information of the second electronic device, and the posture information includes: a horizontal screen posture or a vertical screen posture;
    所述第一电子设备根据所述相对位置,确定协同显示方案,包括:The first electronic device determines a collaborative display scheme according to the relative position, including:
    所述第一电子设备根据所述相对位置,以及所述第二电子设备的姿态信息,确定所述协同显示方案。The first electronic device determines the collaborative display scheme according to the relative position and the attitude information of the second electronic device.
  8. 根据权利要求1-7中任一项所述的方法,其特征在于,The method according to any one of claims 1-7, wherein,
    在所述第一电子设备根据所述协同显示方案,控制所述第一电子设备和所述第二电子设备进行协同显示之前,所述第一电子设备相对于所述第二电子设备的位置信息为第一位置信息;所述第一电子设备和所述第二电子设备根据所述第一位置信息,按照第一协同显示方案进行第一协同显示;所述第一位置信息与所述第一协同显示方案对应;Before the first electronic device controls the first electronic device and the second electronic device to perform collaborative display according to the collaborative display scheme, the position information of the first electronic device relative to the second electronic device is the first location information; the first electronic device and the second electronic device perform a first collaborative display according to the first collaborative display scheme according to the first location information; the first location information and the first Collaborative display scheme correspondence;
    在所述第一位置信息变化为第二位置信息的情况下,所述第一电子设备自动确定第二电子设备相对于所述第一电子设备的位置信息,包括:When the first position information is changed to the second position information, the first electronic device automatically determines the position information of the second electronic device relative to the first electronic device, including:
    所述第一电子设备自动确定第二电子设备相对于所述第一电子设备的位置信息为所述第二位置信息;The first electronic device automatically determines that the position information of the second electronic device relative to the first electronic device is the second position information;
    所述第一电子设备根据所述位置信息,确定协同显示方案,包括:The first electronic device determines a collaborative display scheme according to the location information, including:
    所述第一电子设备根据所述第二位置信息,确定所述第二协同显示方案;The first electronic device determines the second collaborative display scheme according to the second position information;
    所述第一电子设备根据所述协同显示方案,控制所述第一电子设备和所述第二电子设备进行协同显示,包括:The first electronic device controls the first electronic device and the second electronic device to perform collaborative display according to the collaborative display scheme, including:
    所述第一电子设备根据所述第二协同显示方案,控制所述第一电子设备和所述第二电子设备由所述第一协同显示切换为第二协同显示,所述第二协同显示是与所述第二协同显示方案对应的显示。The first electronic device controls the first electronic device and the second electronic device to switch from the first collaborative display to the second collaborative display according to the second collaborative display scheme, and the second collaborative display is A display corresponding to the second collaborative display scheme.
  9. 一种电子设备,其特征在于,所述电子设备包括一个或多个处理器和一个或多个存储器;所述一个或多个存储器与所述一个或多个处理器耦合,所述一个或多个存储器存储有计算机指令;An electronic device, characterized in that the electronic device includes one or more processors and one or more memories; the one or more memories are coupled to the one or more processors, the one or more memories a memory storing computer instructions;
    当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备执行如权利要求1-8中任一项所述的协同显示方法。When the one or more processors execute the computer instructions, the electronic device is caused to perform the collaborative display method according to any one of claims 1-8.
  10. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质包括计算机指令,当所述计算机指令运行时,执行如权利要求1-8中任一项所述的协同显示方法。A computer-readable storage medium, characterized in that, the computer-readable storage medium comprises computer instructions, and when the computer instructions are executed, the collaborative display method according to any one of claims 1-8 is executed.
PCT/CN2022/082856 2021-03-29 2022-03-24 Collaborative display method and electronic device WO2022206566A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110334007.7 2021-03-29
CN202110334007.7A CN115129285A (en) 2021-03-29 2021-03-29 Collaborative display method and electronic equipment

Publications (1)

Publication Number Publication Date
WO2022206566A1 true WO2022206566A1 (en) 2022-10-06

Family

ID=83375215

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/082856 WO2022206566A1 (en) 2021-03-29 2022-03-24 Collaborative display method and electronic device

Country Status (2)

Country Link
CN (1) CN115129285A (en)
WO (1) WO2022206566A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130097239A1 (en) * 2011-10-17 2013-04-18 Research In Motion Limited Enabling content interaction at a connected electronic device
CN104063191A (en) * 2013-03-18 2014-09-24 联想(北京)有限公司 Method and electronic equipment for information processing
CN104461438A (en) * 2014-12-29 2015-03-25 广东欧珀移动通信有限公司 Display control method and device and mobile terminals
CN104731539A (en) * 2013-12-24 2015-06-24 中兴通讯股份有限公司 Multi-screen joint displaying method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130097239A1 (en) * 2011-10-17 2013-04-18 Research In Motion Limited Enabling content interaction at a connected electronic device
CN104063191A (en) * 2013-03-18 2014-09-24 联想(北京)有限公司 Method and electronic equipment for information processing
CN104731539A (en) * 2013-12-24 2015-06-24 中兴通讯股份有限公司 Multi-screen joint displaying method and device
CN104461438A (en) * 2014-12-29 2015-03-25 广东欧珀移动通信有限公司 Display control method and device and mobile terminals

Also Published As

Publication number Publication date
CN115129285A (en) 2022-09-30

Similar Documents

Publication Publication Date Title
WO2020168965A1 (en) Method for controlling electronic device having folding screen, and electronic device
WO2020156269A1 (en) Display method for electronic device having flexible screen and electronic device
WO2021213120A1 (en) Screen projection method and apparatus, and electronic device
WO2021104008A1 (en) Method for displaying folding screen and related apparatus
JP2023514962A (en) DISPLAY METHOD AND RELATED APPARATUS FOR FOLDABLE SCREEN
WO2020224449A1 (en) Split-screen display operation method and electronic device
WO2021036771A1 (en) Electronic device having foldable screen, and display method
WO2020168968A1 (en) Control method for electronic device having foldable screen, and electronic device
CN108881286B (en) Multimedia playing control method, terminal, sound box equipment and system
CN110324689B (en) Audio and video synchronous playing method, device, terminal and storage medium
WO2021017909A1 (en) Method, electronic device and system for realizing functions through nfc tag
WO2021052407A1 (en) Electronic device control method and electronic device
WO2021208723A1 (en) Full-screen display method and apparatus, and electronic device
WO2020118490A1 (en) Automatic screen-splitting method, graphical user interface, and electronic device
WO2022007944A1 (en) Device control method, and related apparatus
WO2023131070A1 (en) Electronic device management method, electronic device, and readable storage medium
WO2020237617A1 (en) Screen control method, device and apparatus, and storage medium
CN111142838A (en) Audio playing method and device, computer equipment and storage medium
WO2023241209A9 (en) Desktop wallpaper configuration method and apparatus, electronic device and readable storage medium
WO2022148319A1 (en) Video switching method and apparatus, storage medium, and device
WO2021121036A1 (en) Key customization method and device for folding device, and storage medium
CN113593567A (en) Method for converting video and sound into text and related equipment
CN113747056A (en) Photographing method and device and electronic equipment
CN110868642B (en) Video playing method, device and storage medium
WO2022206566A1 (en) Collaborative display method and electronic device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22778749

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22778749

Country of ref document: EP

Kind code of ref document: A1