Content display method and device and electronic equipment
By determining the area of the fixed and current display interface on the first device, the problem of cumbersome operation in the prior art is solved, and the function of operating and displaying the second device data on any interface of any application is realized, thereby improving the information extraction efficiency.
Patent Information
- Application Number
- CN202411567421.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-05
- Publication Date
- 2025-03-11
AI Technical Summary
In the prior art, it is necessary to repeatedly switch different applications and devices to extract information and combine them, resulting in cumbersome and inefficient operations.
By determining on the first device a fixed area on the screen and the area of the currently displayed interface and performing data transmission and display between these areas, the user is allowed to operate and display data from the second device on any interface of any application.
The information extraction process of multiple devices and multiple applications is simplified, and the operation efficiency is improved. Users can complete data combination and use without repeatedly switching devices or applications.
Smart Images

Figure CN119597382A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of data transmission, and specifically relates to a content display method, device and electronic device. Background Art
[0002] At present, in the process of using electronic devices, in some usage scenarios, it is necessary to repeatedly switch different applications to extract different information and combine them before performing corresponding operations. In some scenarios, it is necessary to switch multiple devices to extract different information and combine them before performing corresponding operations. For example: you need to use the photo editing application in device A to edit the picture, and you need to use the writing application in device B to obtain related text. The edited picture in device A and the text obtained in device B must be combined before the combined graphic and text information can be released. The above process requires repeated switching back and forth between multiple applications on multiple devices to extract information and then combine it. Not only is the operation very cumbersome, but the efficiency is also very low. Summary of the invention
[0003] The purpose of the embodiments of the present application is to provide a content display method, device and electronic device, which can solve the problem that the existing solutions for extracting information from different devices are cumbersome and inefficient.
[0004] In a first aspect, an embodiment of the present application provides a content display method, which is applied to a first device, including:
[0005] In a case where the first device communicates with the second device, determining a first area on a screen of the first device, and determining a second area on a current display interface of the first device;
[0006] In a case where the first area includes first data of the second device, a first input for the first data in the first area is received, and in response to the first input, the first data is displayed in the second area.
[0007] In a second aspect, an embodiment of the present application provides a content display device, applied to a first device, including:
[0008] a determination module, configured to determine, when the first device communicates with the second device, a first area on the screen of the first device and a second area on a current display interface of the first device;
[0009] The display module is configured to receive a first input of the first data in the first area when the first area includes the first data of the second device, and display the first data in the second area in response to the first input.
[0010] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
[0011] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0012] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
[0013] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.
[0014] In the embodiment of the present application, the first device communicates with the second device first, and then the first area on the screen of the first device is determined, and the second area on the current display interface of the first device is determined. Since the first area is the area on the screen of the first device, no matter which application the current display interface of the first device belongs to, the first area will not disappear, that is, the first area will not disappear due to the change of the current display interface; the second area is the area on the current display interface, so the current display interface exits and the second area disappears. In the case where the first area includes the first data of the second device, if the first input of the first data in the first area is received, the first data is displayed in the second area, that is, the first device can display the first data of the second device obtained in the first area. When the user operates the first device, the first area is always displayed on the screen, and the user can operate the first data in the first area on any interface at any time, so that the first data can be displayed on any interface of any application of the first device. The user does not need to switch devices or applications repeatedly, and the operation is simple, which improves the efficiency of information extraction from multiple devices and multiple applications. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 This is one of the flow charts of the content display method provided in the embodiment of the present application;
[0016] Figure 2 It is one of the label display schematic diagrams of the first device provided in the embodiment of the present application;
[0017] Figure 3This is one of the first content display schematic diagrams of the first device provided in the embodiment of the present application;
[0018] Figure 4 This is one of the schematic diagrams of the second device obtaining a QR code provided in an embodiment of the present application;
[0019] Figure 5 This is the second schematic diagram of the second device obtaining a QR code provided in an embodiment of the present application;
[0020] Figure 6 is a schematic diagram of a first device scanning a QR code provided in an embodiment of the present application;
[0021] Figure 7 This is a schematic diagram of label fusion of the first device provided in an embodiment of the present application;
[0022] Figure 8 is a schematic diagram of label display of a third device provided in an embodiment of the present application;
[0023] Fig. 9 is a schematic diagram of a current display interface of a third device provided in an embodiment of the present application;
[0024] Fig.10 It is one of the display schematic diagrams of the first area of the first device provided in the embodiment of the present application;
[0025] Fig.11 It is one of the mirror image schematic diagrams of the second device provided in the embodiment of the present application;
[0026] Fig.12 This is the second mirror image schematic diagram of the second device provided in the embodiment of the present application;
[0027] Fig.13 This is the second display schematic diagram of the first area of the first device provided in the embodiment of the present application;
[0028] Fig.14 is a schematic diagram of the camera display area of the first device provided in an embodiment of the present application;
[0029] Fig.15 is a schematic diagram of shooting the camera display area of the first device provided in an embodiment of the present application;
[0030] Fig.16 This is the second schematic diagram of displaying the first content of the first device provided in the embodiment of the present application;
[0031] Fig.17 is a structural diagram of a content display device provided in an embodiment of the present application;
[0032] Fig.18 is a structural block diagram of an electronic device provided in an embodiment of the present application;
[0033] Fig.19 It is a structural block diagram of another electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0034] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0035] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0036] The content display method provided by the embodiment of the present application is described below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0037] like Figure 1 As shown, an embodiment of the present application provides a content display method, which is applied to a first device and may specifically include the following steps:
[0038] Step 101: When the first device communicates with the second device, determine a first area on the screen of the first device, and determine a second area on the current display interface of the first device.
[0039] Specifically, the first device and the second device perform face-to-face near-field binding communication, which can be done by establishing a local communication network, or connecting to each other via Bluetooth, or binding multiple devices to each other through a remote server, etc., to facilitate data transmission across devices and applications within the local area. The first device is a device that needs to obtain data, and the second device is a device that provides data. The number of second devices can be one or more, and is not specifically limited here.
[0040] If the first device needs to obtain data from the second device, the first device needs to determine the first area on the screen of the first device, and always display the first area on the screen regardless of the display content of the current display interface of the first device or which application the current display interface belongs to. In addition, the first device also needs to determine the second area from which the data of the second device needs to be obtained, that is, the data of the second device obtained by the first device needs to be displayed in the second area.
[0041] Step 102: When the first area includes first data of the second device, receiving a first input for the first data in the first area, and displaying the first data in the second area in response to the first input.
[0042] Specifically, if the first area includes the first data of the second device, that is, the first area of the first device displays the first data of the second device, the user can switch applications and display interfaces at will, and the first area and the first data displayed in the first area are always displayed on the screen, so that the user can use the first data in the first area at any time. If the user's first input to the first data in the first area is received, the first data is displayed in the second area in response to the first input, so that the second area of the first device can quickly extract the first data, and the user does not need to repeatedly switch devices or switch applications. The operation is simple, which improves the efficiency of information extraction from multiple devices and multiple applications.
[0043] It should be noted that the first input is an operation of displaying the first data in the first area in the second area, which may specifically be a dragging operation, a sliding operation, a pressing operation, etc. of the first data by the user, which is not specifically limited here.
[0044] In the embodiment of the present application, the first device communicates with the second device first, and then the first area on the screen of the first device is determined, and the second area on the current display interface of the first device is determined. Since the first area is the area on the screen of the first device, no matter which application the current display interface of the first device belongs to, the first area will not disappear, that is, the first area will not disappear due to the change of the current display interface; the second area is the area on the current display interface, so the current display interface exits and the second area disappears. In the case where the first area includes the first data of the second device, if the first input of the first data in the first area is received, the first data is displayed in the second area, that is, the first device can display the first data of the second device obtained in the first area. When the user operates the first device, the first area is always displayed on the screen, and the user can operate the first data in the first area on any interface at any time, so that the first data can be displayed on any interface of any application of the first device. The user does not need to switch devices or applications repeatedly, and the operation is simple, which improves the efficiency of information extraction from multiple devices and multiple applications.
[0045] As an optional specific embodiment, in step 102, when the first area includes the first data of the second device, receiving a first input of the first data in the first area, and displaying the first data in the second area in response to the first input, may specifically include:
[0046] In a case where the first data is a first tag, receiving a first input to the first tag, and in response to the first input, moving the first tag from the first area to the second area;
[0047] When the first tag is moved to the second area, the first content corresponding to the first tag is acquired, and the first content corresponding to the first tag is displayed in the second area.
[0048] Specifically, the first content is selected in the second device, and the first tag is added to the first content. A corresponding relationship is established between the first content and the first tag, and then the second device transmits the first tag to the first area in the first device for display. If a first input of the user to the first tag in the first area of the first device is received, the first tag is moved from the first area to the second area. When the first tag is moved to the second area, the first device obtains the first content corresponding to the first tag and displays the first content in the second area. Thus, the second device obtains the first content in the first device and displays it, and the user can further operate the first content in the first device, such as publishing or editing.
[0049] Example: There are two second devices, namely device A and device B, and the first device is device C. In device A, a first content (such as a picture) is selected, and a first tag (such as tag 1) is added to the picture. A corresponding relationship is established between the picture and tag 1, and then device A transmits tag 1 to the first area 21 of device C for display. Figure 2 In addition, the first content (eg, text) is selected in device B, and a first tag (eg, tag 2) is added to the text, a corresponding relationship is established between the text and tag 2, and then device B transmits tag 2 to the first area 21 in device C for display.
[0050] The second area 22 of device C includes a picture area and a text area. If device C receives a first input from the user to label 1 in the first area 21, label 1 is moved from the first area 21 to the picture area of the second area 22. When label 1 reaches the picture area, the picture corresponding to label 1 is obtained and displayed in the picture area. If device C receives a first input from the user to label 2 in the first area 21, label 2 is moved from the first area 21 to the text area of the second area 22. When label 2 reaches the text area, the text corresponding to label 2 is obtained and displayed in the text area. Thus, device C obtains the picture 23 of device A and the text 24 of device B and displays them, as shown in FIG. Figure 3 As shown, the user can perform further operations on the picture 23 and the text 24 in the device C, such as publishing or editing.
[0051] In addition, the first tag in the second device may correspond to multiple first contents, and the second area in the first device may display one of the multiple first contents. The user may display the multiple first contents by swiping left and right, and the user may select one or more of the multiple first contents as the final first content for publication.
[0052] Example: If device C wants to obtain the pictures in the nine-square grid format of device A, and if there are 10 pictures in device A with labels 1, 2, 2, 3, 4, 5, 6, 7, 8, 9 respectively, when device A transmits 10 pictures to device C, it can transmit 10 pictures at the same time, or transmit them in sequence according to labels 1 to 9. Thus, device C displays labels 1 to 9 in the picture area of device C in the nine-square grid format. Since there are two pictures with label 2, the two pictures with label 2 are stacked, and the user can display the two pictures by sliding left and right. The user can select one of them as the final picture in the second position of the nine-square grid, thus forming a nine-square grid picture for publishing.
[0053] Further, the first area is a shared area, and the first tag in the first area is a shared tag of the second device.
[0054] Specifically, the first content is selected in the second device, and the first tag is added to the first content. A corresponding relationship is established between the first content and the first tag, and then the second device shares the first tag in a local area. Since the first device and the second device are local area communication devices, the first device can obtain the first tag shared by the second device and display it in the first area. If a first input of the user to the first tag in the first area of the first device is received, the first tag is moved from the first area to the second area. When the first tag moves to the second area, the first device obtains the first content corresponding to the first tag and displays the first content in the second area. As a result, the second device obtains the first content in the first device and displays it.
[0055] As another optional specific embodiment, in step 102, when the first area includes the first data of the second device, before receiving a first input of the first data in the first area and displaying the first data in the second area in response to the first input, the method further includes:
[0056] Acquire a first two-dimensional code sent by the second device, where the first two-dimensional code is generated by an identification code of the second device and a corresponding first tag;
[0057] The first two-dimensional code is scanned to obtain the first tag, and the first tag is added to the first area of the first device, where the first tag is the first data.
[0058] Specifically, the first content is selected in the second device, and the first tag is added to the first content, a corresponding relationship is established between the first content and the first tag, and then the second device binds the first tag with the identification code (i.e., identification code) of the second device, and generates a first QR code through the bound first tag and the identification code of the second device, and the second device transmits the first QR code to the first device. If the first device wants to scan the first QR code, it puts the first QR code into the scanning box for automatic scanning to obtain the first tag, and adds the first tag to the first area of the first device for display.
[0059] Example: Figure 4 As shown, there are two second devices, namely device A and device B, and the first device is device C. The first content (such as picture 23) is selected in device A, and the first tag (such as tag 1) is added to picture 23, a corresponding relationship is established between picture 23 and tag 1, and then tag 1 is bound to the identification code (i.e., identification code) of device A, and a first QR code (i.e., QR code a 25) is generated through the bound tag 1 and the identification code of device A, and device A transmits QR code a 25 to device C.
[0060] like Figure 5 As shown, the first content (such as document 24) is selected in device B, and a first tag (such as tag 2) is added to document 24. A corresponding relationship is established between document 24 and tag 2. Then tag 2 is bound to the identification code (i.e., identification code) of device B, and a first QR code (i.e., QR code b 26) is generated by the bound tag 2 and the identification code of device B. Device B transmits the QR code b 26 to device C.
[0061] like Figure 6 As shown, if device C wants to scan QR code a 25, it puts QR code a 25 into the frame (i.e., scanning frame 27) for automatic scanning to obtain label 1, and adds label 1 to the first area of the first device (e.g., label collection area 28). Similarly, if device C wants to scan QR code b 26, it puts QR code b 26 into the scanning frame 27 for automatic scanning to obtain label 2, and adds label 2 to the first area of the first device (e.g., label collection area 28), so that label 1 and label 2 are displayed in label collection area 28.
[0062] Further, in a case where the first region also includes a second tag, a second input of the first tag and the second tag is received, and in response to the second input, the first tag and the second tag are fused to obtain a fused tag, where the second tag is a tag of the second device or a tag of another device, and the other device is a device other than the first device and the second device;
[0063] sharing the fusion tag to the first region; or,
[0064] A second two-dimensional code corresponding to the fusion tag is generated based on the fusion tag and the identification code of the first device, and the second two-dimensional code is sent to a third device, where the third device is the second device or the other device.
[0065] Specifically, if the first area also includes a second tag, and a second input of the user to the first tag and the second tag in the first area is received, then in response to the second input, the first tag and the second tag are fused to obtain a fused tag. Since the fused tag is a fusion of the first tag and the second tag, the content corresponding to the fused tag is the content corresponding to the first tag (i.e., the first content) and the content corresponding to the second tag. The first device can transmit the fused tag to the third device, or the first device can share the fused tag locally. If the third device and the first device are local communication devices, the third device can obtain the fused tag shared by the first device.
[0066] Alternatively, the first device may bind the fusion tag to the identification code of the first device, and generate a second QR code through the bound fusion tag and the identification code of the first device. The first device transmits the second QR code to the third device. If the third device wants to scan the second QR code, it puts the second QR code into the scanning box for automatic scanning to obtain the fusion tag, and adds the fusion tag to the area on the screen of the third device for display. The third device may display the content corresponding to the fusion tag at one of the positions of the current display interface of the third device by dragging the fusion tag to the position, that is, at least the first content corresponding to the first tag and the content corresponding to the second tag are displayed.
[0067] It should be noted that the second input is an operation of merging the first label with the second label, such as a drag operation, a long press operation, and the like.
[0068] Example: Figure 7 As shown, the first device is device C, the third device is device D, devices C and D communicate in a local area, the first area is the tag collection area 28, the first tag is tag 1, the second tag is tag 2, and the fused tag is tag 3. The user drags tag 1 to the position of tag 2 to merge, and obtains the fused tag 3. Therefore, the tag collection area 28 in device C includes tags 1, 2, and 3. Device C shares tags 1, 2, and 3 with device D. Figure 8 As shown, device D displays label 1, label 2 and label 3. The user can add label 3 in device D to the content area of the current display interface to obtain the following Fig. 9 The displayed content shown includes pictures 23, text 24 and other content 29.
[0069] Furthermore, in step 102, when the first area includes the first data of the second device, after receiving a first input for the first data in the first area and displaying the first data in the second area in response to the first input, the method may further include:
[0070] When the first data in the second device is updated, the first data displayed in the second area is synchronously updated.
[0071] Specifically, if the first data is a first tag and the first area also includes a second tag, if the first content corresponding to the first tag in the second device is updated (such as changing a filter, etc.), the first content corresponding to the first tag displayed in the second area of the first device is synchronously updated, and the part about the first content in the content corresponding to the fusion tag is also synchronously updated. There is no need to re-acquire the updated first content, which further improves the efficiency of information extraction.
[0072] In addition, if the first tag is deleted, the first tag in the second area in the first device is deleted synchronously, and the content related to the first tag in the fused tag in the third device is also deleted synchronously.
[0073] As another optional specific embodiment, the step 101 determines the first area on the screen of the first device, and determines the second area on the current display interface of the first device, specifically including:
[0074] Determine a second area on the current display interface of the first device;
[0075] upon receiving a third input to the second area, generating a first area related to the second area in response to the third input;
[0076] The first area is shared with the second device, so that the second device displays a third area that performs data synchronization and sharing with the first area.
[0077] Specifically, the first device selects an area on the current display interface that needs to be filled with content, thereby determining the second area, which is a blank area. If a third input from the user to the second area is received, a first area related to the second area is generated, and a blank second area is displayed in the first area. The first device shares the first area with the second device, so that the second device can display a third area with the same content as the first area on its screen, and the third area is equivalent to a mirror image of the first area, that is, the content in the first area is the same as the content in the third area and is updated synchronously.
[0078] It should be noted that the third input is an operation of generating the first area based on the second area, such as a drag operation.
[0079] Example: There are two second devices, namely device A and device B, and the first device is device C. Fig.10 As shown, device C determines the second area on the current display interface, such as the picture area 31 and the text area 32. Drag the picture area 31 and the text area 32 to the first area 33, and obtain the first area 33 related to the picture area 31 and the text area 32, that is, the first area 33 includes a blank picture area and a text area. Fig.11 and 12 As shown, device C shares the first area 33 with device A and device B, that is, both device A and device B have the third area 34.
[0080] Furthermore, in step 102, when the first area includes the first data of the second device, before receiving a first input for the first data in the first area and displaying the first data in the second area in response to the first input, the method may further include:
[0081] In the case where the first data is the first content, if the second device adds the first content to the third area of the second device, the first content is synchronously displayed in the first area of the first device.
[0082] Specifically, if the third area is displayed in the second device, the user can select the first content in the second device and add the first content to the third area of the second device. Since the third area is a mirror image of the first area, the first content is synchronously displayed in the first area of the first device.
[0083] Example: There are two second devices, namely device A and device B, the first device is device C, and the third area 34 includes a picture area and a text area. Fig.11 As shown, the first content (such as picture 23) is selected in device A and dragged to the picture area of the third area 34, as shown in FIG. Fig.12 As shown, the picture 23 is displayed in the picture areas of the first area 33 and the third area 34. Fig.12 As shown, the first content (eg, document 24) is selected in device B and dragged to the document area of the third area 34, as shown in FIG. Fig.13 As shown, the copy 24 is displayed in the copy areas of the first area 33 and the third area 34. Fig.13 As shown, the picture 23 is displayed in the picture area of the first area 33 of the device C, and the copy 24 is displayed in the copy area. The user drags the picture 23 in the first area 33 to the picture area of the second area, and drags the copy 24 in the first area 33 to the copy area of the second area, and obtains the following Fig.13 The screen shown.
[0084] Furthermore, in step 102, when the first area includes the first data of the second device, after receiving a first input for the first data in the first area and displaying the first data in the second area in response to the first input, the method further includes:
[0085] When the first data in the second device is updated, the first data displayed in the second area is synchronously updated.
[0086] Specifically, if the first content of the second device is updated, the first content in the first device is updated synchronously, and there is no need to re-acquire the updated first content, which further improves the efficiency of information extraction.
[0087] In the above embodiment, the user uses a mirroring function in different devices and different applications to collect the required data in different devices and different applications, and finally freely combines them on the device applications that need to be assembled. If the source data is updated, the filled data is updated synchronously, which greatly facilitates the user's cross-device and cross-application data transmission and combination operations.
[0088] As another optional specific embodiment, a second area is circled in the first device, a camera display area is generated in the second area, and the camera display area is aimed at the content displayed on the screen of the second device to shoot, that is, the content of the second device to be shot is displayed in the camera display area, and the shot is clicked. The shot is the first content.
[0089] Example: Fig.14 As shown, the first device is device C, and the user circles the second area in device C to generate the camera display area 34. Fig.15 As shown, the camera display area 34 is aimed at "XXXXX" in the second device to shoot, and the user confirms that "XXXXX" will be displayed in the device C, as shown in FIG. Fig.16 shown.
[0090] The above implementation method allows the user to use the camera function in different applications on different devices to directly collect the required data by shooting in different applications on different devices, which greatly facilitates the user's cross-device and cross-application data transmission combination operation.
[0091] To summarize, in an embodiment of the present application, the first device first communicates with the second device, then determines the first area on the screen of the first device, and determines the second area on the current display interface of the first device. Since the first area is the area on the screen of the first device, no matter which application the current display interface of the first device belongs to, the first area will not disappear, that is, the first area will not disappear due to changes in the current display interface; the second area is the area on the current display interface, therefore, when the current display interface is exited, the second area disappears. In the case where the first area includes the first data of the second device, if the first input of the first data in the first area is received, the first data will be displayed in the second area, that is, the first device can display the first data of the second device obtained in the first area. When the user is operating the first device, the first area is always displayed on the screen, and the user can operate the first data in the first area on any interface at any time, so that the first data can be displayed on any interface of any application of the first device. The user does not need to switch devices or applications repeatedly, and the user can extract different information in different multiple applications and then combine them. The operation is simple, which improves the efficiency of information extraction from multiple devices and multiple applications, and greatly facilitates the convenience of users in operations that require data extraction from multiple devices and multiple applications; and when the first data of the second device is updated, the first content obtained in the first device is synchronously updated, and there is no need to re-acquire the updated first content, which further improves the efficiency and convenience of information extraction.
[0092] The content display method provided in the embodiment of the present application can be executed by a content display device. In the embodiment of the present application, the content display device provided in the embodiment of the present application is described by taking the content display method executed by the content display device as an example.
[0093] like Fig.17 As shown, the embodiment of the present application further provides a content display device 1700, which is applied to a first device and specifically includes:
[0094] A determination module 1701 is used to determine a first area on the screen of the first device and a second area on the current display interface of the first device when the first device communicates with the second device;
[0095] The display module 1702 is configured to receive a first input of the first data in the first area when the first area includes the first data of the second device, and display the first data in the second area in response to the first input.
[0096] Optionally, the display module 1702 is specifically used to:
[0097] In a case where the first data is a first tag, receiving a first input to the first tag, and in response to the first input, moving the first tag from the first area to the second area;
[0098] When the first tag is moved to the second area, the first content corresponding to the first tag is acquired, and the first content corresponding to the first tag is displayed in the second area.
[0099] Optionally, the first area is a shared area, and the first tag in the first area is a shared tag of the second device.
[0100] Optionally, the device further comprises:
[0101] an acquisition module, configured to acquire a first two-dimensional code sent by the second device, where the first two-dimensional code is generated by an identification code of the second device and a corresponding first tag;
[0102] The first processing module is used to scan the first two-dimensional code to obtain the first label and add the first label to the first area of the first device, where the first label is the first data.
[0103] Optionally, the device further comprises:
[0104] a second processing module, configured to receive a second input of the first label and the second label when the first region further includes a second label, and in response to the second input, perform a fusion operation on the first label and the second label to obtain a fused label, wherein the second label is a label of the second device or a label of another device, and the other device is a device other than the first device and the second device;
[0105] A third processing module is configured to share the fusion label with the first region; or,
[0106] A second two-dimensional code corresponding to the fusion tag is generated based on the fusion tag and the identification code of the first device, and the second two-dimensional code is sent to a third device, where the third device is the second device or the other device.
[0107] Optionally, the determining module 1701 is specifically configured to:
[0108] Determine a second area on the current display interface of the first device;
[0109] upon receiving a third input to the second area, generating a first area related to the second area in response to the third input;
[0110] The first area is shared with the second device, so that the second device displays a third area that performs data synchronization and sharing with the first area.
[0111] Optionally, the device further comprises:
[0112] The synchronous display module is used for synchronously displaying the first content in the first area of the first device if the second device adds the first content to the third area of the second device when the first data is the first content.
[0113] Optionally, the device further comprises:
[0114] The synchronous updating module is used to synchronously update the first data displayed in the second area when the first data in the second device is updated.
[0115] To summarize, in an embodiment of the present application, the first device first communicates with the second device, then determines the first area on the screen of the first device, and determines the second area on the current display interface of the first device. Since the first area is the area on the screen of the first device, no matter which application the current display interface of the first device belongs to, the first area will not disappear, that is, the first area will not disappear due to changes in the current display interface; the second area is the area on the current display interface, therefore, when the current display interface is exited, the second area disappears. In the case where the first area includes the first data of the second device, if the first input of the first data in the first area is received, the first data will be displayed in the second area, that is, the first device can display the first data of the second device obtained in the first area. When the user is operating the first device, the first area is always displayed on the screen, and the user can operate the first data in the first area on any interface at any time, so that the first data can be displayed on any interface of any application of the first device. The user does not need to switch devices or applications repeatedly, and the user can extract different information in different multiple applications and then combine them. The operation is simple, which improves the efficiency of information extraction from multiple devices and multiple applications, and greatly facilitates the convenience of users in operations that require data extraction from multiple devices and multiple applications; and when the first data of the second device is updated, the first content obtained in the first device is synchronously updated, and there is no need to re-acquire the updated first content, which further improves the efficiency and convenience of information extraction.
[0116] The content display device in the embodiment of the present application can be an electronic device or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc. It can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., and the embodiment of the present application is not specifically limited.
[0117] The content display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0118] The content display device provided in the embodiment of the present application can achieve Figures 1 to 16 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0119] Alternatively, if Fig.18 As shown, an embodiment of the present application further provides an electronic device 1800, including a processor 1801 and a memory 1802, wherein the memory 1802 stores programs or instructions that can be executed on the processor 1801, and when the program or instructions are executed by the processor 1801, the various steps of the above-mentioned content display method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.
[0120] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0121] Fig.19 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0122] The electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010 and other components.
[0123] Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1010 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.19 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0124] The processor 1010 is configured to determine a first area on a screen of the first device and a second area on a current display interface of the first device when the first device communicates with the second device;
[0125] The display unit 1006 is configured to receive a first input of the first data in the first area when the first area includes the first data of the second device, and display the first data in the second area in response to the first input.
[0126] Optionally, when the first area includes the first data of the second device, the display unit 1006 receives a first input of the first data in the first area, and displays the first data in the second area in response to the first input, specifically for:
[0127] In a case where the first data is a first tag, receiving a first input to the first tag, and in response to the first input, moving the first tag from the first area to the second area;
[0128] When the first tag is moved to the second area, the first content corresponding to the first tag is acquired, and the first content corresponding to the first tag is displayed in the second area.
[0129] Optionally, the first area is a shared area, and the first tag in the first area is a shared tag of the second device.
[0130] Optionally, when the first area includes the first data of the second device, the display unit 1006 receives a first input of the first data in the first area, and before displaying the first data in the second area in response to the first input, is further configured to:
[0131] Acquire a first two-dimensional code sent by the second device, where the first two-dimensional code is generated by an identification code of the second device and a corresponding first tag;
[0132] The first two-dimensional code is scanned to obtain the first tag, and the first tag is added to the first area of the first device, where the first tag is the first data.
[0133] Optionally, the processor 1010 is further configured to:
[0134] In a case where the first region also includes a second tag, receiving a second input of the first tag and the second tag, and in response to the second input, performing a fusion operation on the first tag and the second tag to obtain a fused tag, where the second tag is a tag of the second device or a tag of another device, and the other device is a device other than the first device and the second device;
[0135] sharing the fusion tag to the first region; or,
[0136] A second two-dimensional code corresponding to the fusion tag is generated based on the fusion tag and the identification code of the first device, and the second two-dimensional code is sent to a third device, where the third device is the second device or the other device.
[0137] Optionally, when determining the first area on the screen of the first device and determining the second area on the current display interface of the first device, the processor 1010 is specifically configured to:
[0138] Determine a second area on the current display interface of the first device;
[0139] upon receiving a third input to the second area, generating a first area related to the second area in response to the third input;
[0140] The first area is shared with the second device, so that the second device displays a third area that performs data synchronization and sharing with the first area.
[0141] Optionally, when the first area includes the first data of the second device, the display unit 1006 receives a first input of the first data in the first area, and before displaying the first data in the second area in response to the first input, is further configured to:
[0142] In the case where the first data is the first content, if the second device adds the first content to the third area of the second device, the first content is synchronously displayed in the first area of the first device.
[0143] Optionally, when the first area includes the first data of the second device, the display unit 1006 receives a first input of the first data in the first area, and after displaying the first data in the second area in response to the first input, is further configured to:
[0144] When the first data in the second device is updated, the first data displayed in the second area is synchronously updated.
[0145] It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and at least one of other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0146] The memory 1009 can be used to store software programs and various data. The memory 1009 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1009 may include a volatile memory or a non-volatile memory, or the memory 1009 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 1009 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0147] The processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1010.
[0148] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned content display method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0149] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0150] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned content display method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0151] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0152] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned content display method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0153] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0154] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0155] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A content display method, applied to a first device, characterized in that: include: In a case where the first device communicates with the second device, determining a first area on a screen of the first device, and determining a second area on a current display interface of the first device; In a case where the first area includes first data of the second device, a first input for the first data in the first area is received, and in response to the first input, the first data is displayed in the second area.
2. The method according to claim 1, characterized in that The step of receiving a first input of the first data in the first area when the first area includes the first data of the second device, and displaying the first data in the second area in response to the first input, comprises: In a case where the first data is a first tag, receiving a first input to the first tag, and in response to the first input, moving the first tag from the first area to the second area; When the first tag is moved to the second area, the first content corresponding to the first tag is acquired, and the first content corresponding to the first tag is displayed in the second area.
3. The method according to claim 2, characterized in that The first area is a shared area, and the first tag in the first area is a shared tag of the second device.
4. The method according to claim 1, characterized in that: Before receiving a first input of the first data in the first area and displaying the first data in the second area in response to the first input, the method further includes: Acquire a first two-dimensional code sent by the second device, where the first two-dimensional code is generated by an identification code of the second device and a corresponding first tag; The first two-dimensional code is scanned to obtain the first tag, and the first tag is added to the first area of the first device, where the first tag is the first data.
5. The method according to claim 2, characterized in that: The method further comprises: In a case where the first region also includes a second tag, receiving a second input of the first tag and the second tag, and in response to the second input, performing a fusion operation on the first tag and the second tag to obtain a fused tag, where the second tag is a tag of the second device or a tag of another device, and the other device is a device other than the first device and the second device; sharing the fusion tag to the first region; or, A second two-dimensional code corresponding to the fusion tag is generated based on the fusion tag and the identification code of the first device, and the second two-dimensional code is sent to a third device, where the third device is the second device or the other device.
6. The method according to claim 1, characterized in that The determining a first area on the screen of the first device and determining a second area on the current display interface of the first device includes: Determine a second area on the current display interface of the first device; upon receiving a third input to the second area, generating a first area related to the second area in response to the third input; The first area is shared with the second device, so that the second device displays a third area that performs data synchronization and sharing with the first area.
7. The method according to claim 6, characterized in that Before receiving a first input of the first data in the first area and displaying the first data in the second area in response to the first input, the method further includes: In the case where the first data is the first content, if the second device adds the first content to the third area of the second device, the first content is synchronously displayed in the first area of the first device.
8. The method according to claim 1, characterized in that: In the case where the first area includes the first data of the second device, after receiving a first input for the first data in the first area and displaying the first data in the second area in response to the first input, the method further includes: When the first data in the second device is updated, the first data displayed in the second area is synchronously updated.
9. A content display device, applied to a first device, characterized in that: include: a determination module, configured to determine, when the first device communicates with the second device, a first area on the screen of the first device and a second area on a current display interface of the first device; The display module is configured to receive a first input of the first data in the first area when the first area includes the first data of the second device, and display the first data in the second area in response to the first input.
10. The device according to claim 9, characterized in that The display module is specifically used for: In a case where the first data is a first tag, receiving a first input to the first tag, and in response to the first input, moving the first tag from the first area to the second area; When the first tag is moved to the second area, the first content corresponding to the first tag is acquired, and the first content corresponding to the first tag is displayed in the second area.
11. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the content display method according to any one of claims 1 to 8 are implemented.
12. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the content display method according to any one of claims 1 to 8 are implemented.