Photo album display method and related device
By displaying the camera album icon in the gallery app on the terminal device and supporting Bluetooth and Wi-Fi connectivity, the problem of needing to install the official app on the terminal device is solved, which simplifies operation and enables fast image transfer, thus improving the user experience.
Patent Information
- Application Number
- PCT/CN2024/099448
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-06-14
- Publication Date
- 2025-12-18
AI Technical Summary
Terminal devices need to download and install the official application specified by the camera device manufacturer in order to view and manage the pictures taken by the camera device, which makes the operation cumbersome for users and reduces the user experience.
After the terminal device and the camera device are paired via Bluetooth, the camera album icon is displayed in the gallery app interface. Users can directly view and manage the pictures taken by the camera device through the gallery app, eliminating the need to install the camera device manufacturer's official app. Bluetooth and Wi-Fi connections are supported for convenient operation.
It simplifies the process for users to view and manage camera images on their terminal devices, improving the user experience. It also enables fast image data transfer via Wi-Fi, reducing cumbersome connection steps.
Smart Images

Figure CN2024099448_18122025_PF_FP_ABST
Abstract
Description
Photo album display method and related device TECHNICAL FIELD
[0001] Embodiments of the present application relate to the technical field of terminals, and in particular, to a photo album display method and related device. BACKGROUND
[0002] In the related art, for a user who has a camera device, when the user wants to view and / or manage pictures taken by the camera device on a terminal device (e.g., a tablet computer, a mobile phone, etc.), the terminal device needs to download and install an official application specified by a manufacturer of the camera device, and the user can view and / or manage the pictures taken by the camera device on the terminal device by running the official application.
[0003] Since the terminal device needs to download and install the official application specified by the manufacturer of the camera device, the user has to go through a lot of trouble to view and / or manage the pictures taken by the camera device on the terminal device, which reduces the user experience.
[0004] SUMMARY
[0005] In view of the above, it is necessary to provide a photo album display method to solve the problem that the terminal device needs to download and install an application specified by a manufacturer of a camera device to view and / or manage pictures taken by the camera device on the terminal device.
[0006] In a first aspect, the present application provides a photo album display method applied to a terminal device, the photo album display method comprising: displaying a first gallery interface of a gallery application; in response to a first operation, displaying a Bluetooth pairing interface; in response to a second operation, pairing the terminal device with a first camera device via Bluetooth; after the terminal device is paired with the first camera device via Bluetooth, in response to a third operation, displaying a second gallery interface of the gallery application, the second gallery interface comprising a first camera album icon, the first gallery interface not comprising the first camera album icon, the first camera album icon corresponding to the first camera device; in response to a fourth operation, displaying a third gallery interface of the gallery application, the third gallery interface comprising a second camera album icon and not comprising the first camera album icon, the second camera album icon corresponding to the first camera device.
[0007] According to the technical scheme, after the terminal device and the camera device complete Bluetooth pairing, the camera album icon corresponding to the camera device can be displayed on the gallery interface of the gallery application, and then the user can view and / or manage the pictures taken by the camera device through the gallery application of the terminal device, so that the terminal device does not need to download and install the official application specified by the camera device manufacturer, and the user experience is improved. For example, the terminal device can display a photo album interface for displaying the pictures in the camera device in response to the operation of the user clicking the camera album icon, and the camera album icon corresponding to the camera device can have different display styles (for example, the display style of the first camera album icon is different from that of the second camera album icon). Different display styles can correspond to different connection states between the terminal device and the camera device. For example, the first camera album icon corresponds to the terminal device and the camera device completing Bluetooth pairing, the display style of the second camera album icon is a preset style, the second camera album icon corresponds to the terminal device and the camera device completing Bluetooth and Wi-Fi connection, and the display style of the second camera album icon is a thumbnail style (the second camera album icon is a thumbnail of a picture in the camera device).
[0008] In a possible implementation, the second camera album icon is the same as or different from the first camera album icon.
[0009] According to the technical scheme, the second camera album icon can be the same as or different from the first camera album icon. For example, the second camera album icon can be the same as the first camera album icon, which is displayed when the terminal device and the first camera device complete Bluetooth pairing, Bluetooth connection, and Wi-Fi connection. The second camera album icon can be different from the first camera album icon, which is displayed when the terminal device and the camera device complete Bluetooth pairing. The second camera album icon is displayed when the terminal device and the camera device complete Bluetooth and Wi-Fi connection.
[0010] In a possible implementation, the photo album display method further includes: in response to the operation of clicking the second camera album icon, displaying the photo album interface of the first camera device.
[0011] According to the technical scheme, the photo album interface of the first camera device can be displayed after the second camera album icon is clicked, so that the user can view and / or manage the pictures taken by the camera device through the gallery application of the terminal device.
[0012] In a possible implementation, in response to the fourth operation, the third gallery interface of the gallery application is displayed, including: in response to the operation of clicking the first camera album icon, the third gallery interface of the gallery application is displayed.
[0013] The above technical solution can also be configured to display the gallery interface including the second camera album icon after the first camera album icon is clicked, so as to realize the conversion from the first camera album icon to the second camera album icon. In this case, the first camera device album interface can be displayed again after the second camera album icon is clicked.
[0014] In a possible implementation, in response to the fourth operation, the third gallery interface of the gallery application is displayed, including: in response to the operation of clicking the first camera album icon, the album interface of the first camera device is displayed; and in response to the operation of returning to the previous interface, the third gallery interface of the gallery application is displayed.
[0015] The above technical solution can also be configured to display the first camera device album interface after the first camera album icon is clicked, so that the user can view and / or manage the pictures taken by the camera device through the gallery application of the terminal device. The gallery interface including the second camera album icon is displayed after the previous interface is returned, so as to realize the conversion from the first camera album icon to the second camera album icon.
[0016] In a possible implementation, the album display method further includes: in response to the operation of clicking the first camera album icon, the terminal device establishes a wireless fidelity (Wi-Fi) connection with the first camera device.
[0017] The above technical solution can trigger the terminal device to establish a Wi-Fi connection with the first camera device (a Bluetooth connection is automatically established after Bluetooth pairing) or a Bluetooth connection and a Wi-Fi connection (this case is suitable for the use scenario after the Bluetooth connection established after pairing is disconnected), so as to realize the picture data transmission between the first camera device and the terminal device. The user only needs to click the first camera album icon to automatically trigger the terminal device to establish a Wi-Fi connection with the camera device or to establish a Bluetooth connection and a Wi-Fi connection, which is simple and convenient and can improve the user experience.
[0018] In a possible implementation, the first camera device includes a camera gallery. After the terminal device establishes a Wi-Fi connection with the first camera device, the album display method further includes: obtaining an Internet protocol (IP) address of the first camera device; the gallery application establishes a Wi-Fi socket (Socket) connection with the camera gallery based on the IP address of the first camera device; the album interface includes thumbnails of pictures in the camera gallery; and the camera gallery sends the thumbnails to the gallery application based on the Wi-Fi Socket.
[0019] According to the above technical solution, since the data volume of pictures photographed and saved by the camera device is generally large, the gallery application establishes a Wi-Fi Socket connection with the camera gallery, and the camera gallery transmits picture data through the Wi-Fi Socket, so that picture data can be quickly transmitted to the gallery application, the use experience of the user is improved, and since the data volume of a thumbnail is smaller than that of an original picture, the album interface displays thumbnails of pictures in the camera gallery, so that after the album interface is displayed, picture refreshing and display of the interface can be quickly performed, the delay is low, the user can quickly view or manage pictures in the camera gallery, the use experience of the user is improved, and subsequently, the original picture corresponding to the thumbnail can also be viewed or downloaded according to actual needs.
[0020] In a possible implementation, the album display method further includes: in response to a fifth operation, disconnecting the Wi-Fi connection between the terminal device and the first camera device; and in response to a sixth operation, displaying a fourth gallery interface of the gallery application, the fourth gallery interface including a third camera album icon, the third camera album icon corresponding to the first camera device, the second camera album icon being different from the first camera album icon, and the third camera album icon being the same as the first camera album icon.
[0021] According to the above technical solution, after the Wi-Fi connection between the terminal device and the first camera device is disconnected, the camera album icon corresponding to the first camera device can still be displayed on the gallery interface, so that the user can subsequently view and / or manage pictures photographed by the camera device by clicking the camera album icon, the third camera album icon can be the same as the first camera album icon, for example, after the Wi-Fi connection is disconnected, the gallery application cannot transmit picture data with the camera album, in this case, the third camera album icon cannot be in the form of a thumbnail, and the third camera album icon is the same as the first camera album icon (for example, both are in a default form).
[0022] In a possible implementation, the first camera album icon, the second camera album icon, and the third camera album icon are all the same.
[0023] According to the above technical solution, the first camera album icon, the second camera album icon, and the third camera album icon can all be in the form of a thumbnail, that is, the first camera album icon, the second camera album icon, and the third camera album icon are all the same.
[0024] In a possible implementation, the album display method further includes: in response to the seventh operation, disconnecting the Bluetooth connection between the terminal device and the first camera device; and in response to the eighth operation, displaying a fifth gallery interface of the gallery application, the fifth gallery interface including a fourth camera album icon corresponding to the first camera device, the second camera album icon being different from the first camera album icon, the fourth camera album icon being the same as the first camera album icon, or the second camera album icon being different from the first camera album icon and the fourth camera album icon being the same as the second camera album icon.
[0025] With the technical solution, after the Bluetooth connection between the terminal device and the first camera device is disconnected, the camera album icon corresponding to the first camera device can still be displayed on the gallery interface, so that the pictures taken by the camera device can be viewed and / or managed by clicking the camera album icon in the subsequent process. If the second camera album icon is different from the first camera album icon, the fourth camera album icon can be the same as the first camera album icon or the same as the second camera album icon. For example, before the Bluetooth connection is disconnected, if the gallery application and the camera album have not performed picture data transmission, in this case, the fourth camera album icon can be the same as the first camera album icon (for example, both are in a default style). For another example, before the Bluetooth connection is disconnected, the gallery application and the camera album have performed picture data transmission, in this case, the fourth camera album icon can be the same as the second camera album icon (for example, both are in a thumbnail style).
[0026] In a possible implementation, the first camera album icon, the second camera album icon, and the fourth camera album icon are all the same.
[0027] With the technical solution, the first camera album icon, the second camera album icon, and the fourth camera album icon can all be set to be in a thumbnail style, that is, the first camera album icon, the second camera album icon, and the fourth camera album icon are all the same.
[0028] In a possible implementation, the album display method further includes: in response to a ninth operation, performing Bluetooth pairing between the terminal device and a second camera device; before the Bluetooth pairing between the terminal device and the first camera device is cancelled, the fifth gallery interface includes the fourth camera album icon corresponding to the first camera device and a camera album icon corresponding to the second camera device; and after the Bluetooth pairing between the terminal device and the first camera device is cancelled, the fifth gallery interface includes the camera album icon corresponding to the second camera device and does not include the fourth camera album icon corresponding to the first camera device.
[0029] According to the technical scheme, if the terminal device and the first camera device and the second camera device are all paired by Bluetooth, the gallery interface can display a camera album icon corresponding to the first camera device and a camera album icon corresponding to the second camera device, after the Bluetooth pairing between the terminal device and the first camera device is cancelled (the Bluetooth pairing between the terminal device and the second camera device is not cancelled), the gallery interface displays the camera album icon corresponding to the second camera device and does not display the camera album icon corresponding to the first camera device.
[0030] In a possible implementation, the album display method further includes: after the terminal device and the first camera device are paired by Bluetooth, and the terminal device and the first camera device do not establish a Bluetooth connection and the terminal device and the first camera device do not connect to a Wi-Fi connection, displaying a second gallery interface of the gallery application, the second gallery interface including a first camera album icon; in response to an operation of clicking the first camera album icon, displaying a Bluetooth and / or Wi-Fi opening prompt box in a case where the terminal device does not open Bluetooth and / or Wi-Fi.
[0031] According to the technical scheme, in a case where the Bluetooth function and / or the Wi-Fi function of the terminal device is not opened, if the operation of clicking the first camera album icon, the terminal device can pop up a corresponding function opening prompt box (for example, a Bluetooth opening prompt box, a Wi-Fi opening prompt box, a Bluetooth and Wi-Fi opening prompt box) to prompt the user to open the Bluetooth function and / or the Wi-Fi function, so that the terminal device can establish a Bluetooth connection and a Wi-Fi connection with the first camera device.
[0032] In a possible implementation, the album display method further includes: in response to a tenth operation, cancelling the Bluetooth pairing between the terminal device and the first camera device; and in response to an eleventh operation, displaying the first gallery interface of the gallery application.
[0033] According to the technical scheme, in a case where the Bluetooth pairing between the terminal device and the first camera device is cancelled, the gallery interface of the gallery application will not display the camera album icon corresponding to the first camera device, and in a case where the Bluetooth pairing between the terminal device and the first camera device is established again, the gallery interface of the gallery application can display the camera album icon corresponding to the first camera device again.
[0034] In a possible implementation, the album display method further includes: obtaining first pairing information and second pairing information, the first pairing information being pairing information of a camera device that has completed Bluetooth pairing with the terminal device currently, and the second pairing information being pairing information of a camera device corresponding to a camera album icon displayed in a previous gallery interface; updating the camera album icon in the current gallery interface to be displayed based on the first pairing information and the second pairing information; and updating the second pairing information based on the camera album icon in the current gallery interface to be displayed, the second pairing information being saved by a gallery application, and the first pairing information being saved by a settings application.
[0035] With the technical solution, the icon creation strategy can be determined based on a comparison result of the pairing information of the camera device that has completed Bluetooth pairing with the terminal device currently and the previously saved Bluetooth pairing information of the camera device (the pairing information of the camera device corresponding to the camera album icon displayed in the previous gallery interface), and the creation, deletion, or maintenance of the camera icon can be performed, so that the camera album icon displayed in the gallery interface each time corresponds to the camera device that has completed Bluetooth pairing with the terminal device currently, and the problem that the camera album icon corresponding to the camera device is still displayed in the gallery interface when the Bluetooth pairing of the camera device is canceled is avoided. In addition, the second pairing information can be updated based on the camera album icon in the current gallery interface to be displayed, so that the pairing information of the camera device that has completed Bluetooth pairing with the terminal device currently and the pairing information of the camera device corresponding to the camera album icon displayed in the previous gallery interface are compared again next time, and the second pairing information can be saved by the gallery application to the terminal device, and the first pairing information can be saved by the settings application to the terminal device. For example, the gallery application can obtain the camera pairing information saved by itself and the pairing information of the camera device that has completed Bluetooth pairing with the terminal device currently obtained from the settings application, and perform a comparison to update the camera album icon in the current gallery interface to be displayed.
[0036] In a possible implementation, the updating of the camera album icon in the current gallery interface to be displayed based on the first pairing information and the second pairing information includes: creating a camera album icon corresponding to first information if the first information is included in the first pairing information and the first information is not included in the second pairing information; deleting a camera album icon corresponding to second information if the second information is included in the second pairing information and the second information is not included in the first pairing information; and maintaining a camera album icon corresponding to third information if the third information is included in the first pairing information and the third information is included in the second pairing information.
[0037] With the technical solution, the camera album icon in the current to-be-displayed gallery interface can be updated based on the comparison result of the first pairing information and the second pairing information. For example, the comparison result includes that both the first pairing information and the second pairing information include a certain element (third information), in which case, the camera album icon corresponding to the element is retained, or the first pairing information includes a certain element and the second pairing information does not include the element, in which case, the camera album icon corresponding to the element is created, and / or the second pairing information includes a certain element and the first pairing information does not include the element, in which case, the camera album icon corresponding to the element is deleted, so that the camera album icon displayed by the gallery interface each time corresponds to the camera device currently paired with the terminal device.
[0038] In a third aspect, the present application provides a terminal device, which includes a touch screen, a memory and a processor; the touch screen, the memory and the processor are coupled; the memory is configured to store program instructions; and the processor is configured to read the program instructions stored in the memory to implement the album display method of the first aspect.
[0039] In a fourth aspect, the present application provides a computer-readable storage medium, which stores computer-readable instructions, and the computer-readable instructions are executed by a processor to implement the album display method of the first aspect.
[0040] In a fifth aspect, the present application provides a computer program product, which includes computer-readable instructions, and the computer-readable instructions are executed by a processor to implement the album display method, which includes: displaying a first gallery interface of a gallery application; after a terminal device and a first camera device are paired via Bluetooth, displaying a second gallery interface of the gallery application, the second gallery interface including a first camera album icon, the first gallery interface not including the first camera album icon, and the first camera album icon corresponding to the first camera device; and when the first camera album icon is clicked, displaying a third gallery interface of the gallery application, the third gallery interface including a second camera album icon and not including the first camera album icon, and the second camera album icon corresponding to the first camera device.
[0041] In addition, the technical effects brought by the third aspect to the fifth aspect can be referred to the descriptions of the methods of the above-mentioned method part, which will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS
[0042] FIG. 1 is a schematic diagram of an application scenario of an album display method according to an embodiment of the present application;
[0043] FIG. 2 is a schematic diagram of an interaction process between a terminal device and a camera device according to an embodiment of the present application;
[0044] FIGS. 3A-3H are a group of user interface diagrams according to an embodiment of the present application.
[0045] FIG. 4 is a schematic diagram of an interaction flow between a terminal device and a camera device according to another embodiment of the present application;
[0046] FIG. 5 is a set of schematic diagrams of user interfaces according to an embodiment of the present application;
[0047] FIG. 6 is a set of schematic diagrams of user interfaces according to an embodiment of the present application;
[0048] FIG. 7A is a schematic diagram of an interaction flow between a terminal device and a camera device according to yet another embodiment of the present application;
[0049] FIG. 7B is a schematic diagram of a process of determining an icon creation strategy and updating second pairing information by a terminal device according to an embodiment of the present application;
[0050] FIG. 8A-8D is a set of schematic diagrams of user interfaces according to an embodiment of the present application;
[0051] FIG. 9A-9C is a set of schematic diagrams of user interfaces according to an embodiment of the present application;
[0052] FIG. 10 is a schematic diagram of a photo album display method according to yet another embodiment of the present application;
[0053] FIG. 11 is a software architecture diagram of a terminal device according to an embodiment of the present application;
[0054] FIG. 12 is a hardware architecture diagram of a terminal device according to an embodiment of the present application. DETAILED DESCRIPTION
[0055] For the convenience of understanding, some exemplary descriptions of concepts related to the embodiments of the present application are provided for reference.
[0056] It should be noted that the terms “first” and “second” in the embodiments of the present application are used only for the purpose of description, and should not be understood as indicating or implying relative importance or implicitly indicating the number of the technical features indicated. Therefore, the features limited by “first” and “second” can explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, the words “exemplary” or “for example” are used to represent as an example, illustration or description. Any embodiment or design scheme described as “exemplary” or “for example” in the embodiments of the present application should not be interpreted as more preferred or more advantageous than other embodiments or design schemes. Rather, the words “exemplary” or “for example” are intended to present the related concepts in a specific manner.
[0057] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. It is to be understood that the use of "a", "an", "the" herein does not impose a limiting meaning to the term immediately following the term. The use of the term "and / or" in the application herein is to be taken as a descriptive purpose, indicating that there are three meanings. For example, A and / or B can mean: A alone, A and B together, B alone. "At least one" means one or more. "Multiple" means two or more. For example, at least one of a, b or c can mean: a, b, c, a and b, a and c, b and c, a, b and c.
[0058] For the convenience of understanding, the related terms that may be involved in the embodiments of the present application are introduced first.
[0059] Software development kit (SDK): generally refers to a set of atomic functions, such as a set of development tools for establishing application software for software packages, software frameworks, hardware platforms, operating systems, etc.
[0060] Activity: is one of the core components of Android application, responsible for providing user interface (UI), processing user input, managing life cycle and interacting with other components. The life cycle of Activity generally includes onCreate(), onStart(), onResume(), onRestart(), onPause(), onStop(), onDestroy().
[0061] onCreate(): called when the Activity is created, used to initialize the UI and data of the Activity, and onCreate() is called only once in the entire Activity life cycle.
[0062] onStart(): called by the system when the Activity is visible and does not have window focus and cannot interact.
[0063] onResume(): called by the system when the Activity is visible and has window focus and can interact.
[0064] onRestart(): called by the system when the Activity has been stopped and then restarted.
[0065] onPause(): The system calls this when the system is about to start or resume another Activity.
[0066] onStop(): The system calls this when the Activity is no longer visible to the user.
[0067] onDestory(): The system calls this when the Activity is destroyed, and the entire Activity lifecycle calls onDestory() only once.
[0068] With the popularity of camera devices and terminal devices (e.g., mobile phones / tablets, etc.), more and more users can have both camera devices and terminal devices. The camera device referred to in the embodiments of the present application is a digital camera device specially used for taking pictures, such as a micro-single camera, a card camera, a long-focus camera, a home camera, a single-lens reflex camera, etc.
[0069] When a user wants to view pictures taken by a camera device on a terminal device or wants to manage pictures taken by the camera device through the terminal device (e.g., delete, sort, save to local, etc. on the terminal device), the user can operate the terminal device to download and install an official application specified by the camera device manufacturer, and view / manage pictures taken by the camera device on the terminal device through the official application. Before the user uses the terminal device to view / manage pictures taken by the camera device, the user needs to perform multiple click operations on the terminal device to realize Bluetooth pairing, Bluetooth connection, Wi-Fi connection, etc. of the terminal device and the camera device. The connection process of the terminal device and the camera device is relatively cumbersome, and the stability of the connection is poor. Since the terminal device needs to install the specified official application, the operation of the user to view and / or manage pictures taken by the camera device on the terminal device is also relatively cumbersome, which reduces the user experience. To solve the above problems, the embodiments of the present application provide an album display method, which can be applied to a terminal device such as a mobile phone, a tablet computer, etc. The terminal device can not need to download and install the official application specified by the camera device manufacturer, and can also enable the user to view / manage pictures taken by the camera device on the terminal device. For example, the user can view and / or manage pictures taken by the camera device through the gallery application already installed on the terminal device, and the user only needs to perform less convenient operations on the terminal device to realize Bluetooth pairing, Bluetooth connection, Wi-Fi connection, etc. of the terminal device and the camera device, which is simple and convenient, and can improve the user experience.
[0070] As shown in FIG. 1, a scenario applicable to the embodiments of the present application is shown. The scenario includes a terminal device 100 and a camera device 200. In FIG. 1, the terminal device 100 is taken as a mobile phone for example. The terminal device 100 and the camera device 200 both support Bluetooth function and Wi-Fi function, so that the terminal device 100 can be paired with the camera device 200 via Bluetooth, be connected with the camera device 200 via Bluetooth, and be connected with the camera device 200 via Wi-Fi. The Wi-Fi connection between the terminal device 100 and the camera device 200 can be Wi-Fi direct (Wi-Fi peer to peer (P2P)) connection or Wi-Fi Socket connection, etc. For example, the gallery application of the terminal device 100 establishes Wi-Fi Socket connection with the camera gallery of the camera device 200. The data volume of pictures taken and saved by the camera device 200 is generally large. Compared with the Bluetooth transmission mode, the camera gallery of the camera device 200 can quickly transmit the picture data to the gallery application of the terminal device 100 based on the Wi-Fi connection, thereby improving the user experience.
[0071] In some embodiments, when the terminal device 100 and the camera device 200 are paired via Bluetooth, the terminal device 100 can also establish Bluetooth connection with the camera device 200. When the terminal device 100 and the camera device 200 establish Bluetooth connection, the camera device 200 can act as a Wi-Fi hotspot. The camera device 200 can share the Wi-Fi hotspot information (such as Wi-Fi identifier, key, etc.) to the terminal device 100 via the Bluetooth channel, so that the terminal device 100 can quickly access the Wi-Fi hotspot, and the user can reduce the operations of selecting the Wi-Fi hotspot on the terminal device 100 and inputting the Wi-Fi key, etc.
[0072] After the terminal device 100 and the camera device 200 establish Wi-Fi connection, the camera device 200 can send the pictures in the camera gallery to the gallery application of the terminal device 100 via the Wi-Fi channel, so that the user can view and / or manage the pictures saved by the camera device 200 on the gallery application of the terminal device 100. The camera gallery can include pictures, videos, etc. taken and saved by the camera device 200.
[0073] To further understand the terminal device 100 in the case where the official application specified by the camera device manufacturer is not downloaded and installed, the terminal device 100 uses the album display method to realize viewing and managing the pictures stored by the camera device 200, and the software interaction process between the terminal device 100 and the camera device 200 is described in detail. FIG. 2 takes the terminal device 100 installed with the gallery application as an example for description, and the gallery application can be the gallery application installed when the terminal device 100 is manufactured, or the third-party gallery application downloaded from the network or obtained from another terminal device during use of the terminal device 100.
[0074] S21: The terminal device 100 and the camera device 200 are paired through Bluetooth.
[0075] After the terminal device 100 and the camera device 200 are both turned on the Bluetooth function, the terminal device 100 can be paired with the camera device 200 through Bluetooth. For example, the distance between the terminal device 100 and the camera device 200 is within the Bluetooth communication range, and the user can complete the Bluetooth pairing between the terminal device 100 and the camera device 200 by operating the terminal device 100 and the camera device 200.
[0076] The initiator of the Bluetooth pairing can be the terminal device 100 or the camera device 200. For example, the terminal device 100 initiates a Bluetooth pairing request to the camera device 200 in response to user operation; for another example, the camera device 200 initiates a pairing request to the terminal device 100 in response to user operation. FIG. 2 illustrates the case where the terminal device 100 initiates a Bluetooth pairing request to the camera device 200.
[0077] As shown in FIG. 3A, taking the terminal device 100 as a mobile phone as an example, in the case where the terminal device 100 and the camera device 200 are both turned on the Bluetooth function, and the user clicks the Bluetooth pairing button / control on the camera device 200, the camera device 200 can initiate a Bluetooth pairing request to the terminal device 100, and the terminal device 100 displays a pairing pop-up box 101 in response to the Bluetooth pairing request, and the user can confirm the Bluetooth pairing between the terminal device 100 and the camera device 200 by clicking the “connect” control in the pairing pop-up box 101. For example, the terminal device 100 triggers the Bluetooth pairing with the camera device 200 after detecting that the “connect” control in the pairing pop-up box 101 is clicked.
[0078] As shown in FIG. 3B, taking the terminal device side as an example to initiate a Bluetooth pairing request. In the case where the terminal device 100 and the camera device 200 are both turned on the Bluetooth function, the terminal device 100 can be paired with the camera device 200 through Bluetooth in the following manner:
[0079] a. In response to an operation of clicking a setting application icon, the terminal device 100 displays a main interface 102 of the setting application, which can include a plurality of controls, such as a "WLAN" control, a "Bluetooth" control, a "mobile network" control, a "smart interconnection" control, a "more connections" control, and the like.
[0080] b. In response to an operation of clicking the "more connections" control in the setting main interface 102, the terminal device 100 displays a more connections interface 103 of the setting application, which can include a plurality of controls, such as a "wireless projection" control, a "print" control, a "camera pairing" control, and the like.
[0081] c. In response to an operation of clicking the "camera pairing" control, the terminal device 100 displays a first Bluetooth pairing interface 104 of the setting application, which can include an "already paired camera" field and a "pairable camera" field. The "already paired camera" field displays camera device identifiers that have completed Bluetooth pairing with the terminal device 100, and the "pairable camera" field displays camera device identifiers that are currently pairable with the terminal device 100.
[0082] d. In response to a camera device identifier clicked in the "pairable camera" field, the terminal device 100 sends a Bluetooth pairing request to a camera device 200 corresponding to the camera device identifier. For example, a user can click a camera device identifier corresponding to a camera device that the user desires to pair with the terminal device 100 in the "pairable camera" field, triggering the terminal device 100 to send a Bluetooth pairing request to the camera device 200 corresponding to the camera device identifier.
[0083] e. In response to a pairing confirmation operation (e.g., a user clicks a button / control for pairing confirmation on the camera device), the camera device 200 pairs with the terminal device 100 via Bluetooth.
[0084] In some embodiments, the terminal device 100 can also pair with the camera device 200 via Bluetooth in response to an operation in a second Bluetooth pairing interface of the setting application. Specifically, in response to an operation of clicking the "Bluetooth" control in the setting main interface 102, the terminal device 100 displays a second Bluetooth pairing interface of the setting application, and in response to an operation of a camera device identifier clicked by a user in the second Bluetooth pairing interface, the terminal device 100 sends a Bluetooth pairing request to a camera device 200 corresponding to the camera device identifier.
[0085] As shown in FIG. 3C, the terminal device displays a second Bluetooth pairing interface 105 in response to an operation of clicking the "Bluetooth" control in the setting home interface 102. The second Bluetooth pairing interface 105 can include an "paired device" field and an "available device" field. The "paired device" field displays device identifiers that have completed Bluetooth pairing with the terminal device 100. The "available device" field displays device identifiers that can currently perform Bluetooth pairing with the terminal device 100. For example, the user can click a camera device identifier that is desired to perform Bluetooth pairing with the terminal device 100 in the "available device" field according to actual camera pairing requirements, triggering the terminal device 100 to send a Bluetooth pairing request to a camera device 200 corresponding to the camera device identifier.
[0086] In some embodiments, the terminal device 100 can further provide multiple picture download modes for the camera gallery for the user to select. As shown in FIG. 3D, two picture download modes are illustrated. The first Bluetooth pairing interface 104 further includes a "picture download mode" field. The "picture download mode" field includes an option of "normal mode" and an option of "high-speed mode". The picture download speed of the "high-speed mode" is greater than that of the "normal mode". The terminal device 100 uses the "normal mode" to download pictures of the camera gallery by default. In the "normal mode", if the terminal device 100 has a dual Wi-Fi function, it can still connect to the Internet by accessing other Wi-Fi hotspots. In the "high-speed mode", the terminal device 100 cannot access other Wi-Fi hotspots, for example, the dual Wi-Fi function is disabled.
[0087] S22: The terminal device 100 starts the gallery application in response to an operation of clicking an icon of the gallery application.
[0088] In some embodiments, the terminal device 100 starting the gallery application can include creating a process of the gallery application. For example, the icon of the gallery application is displayed on the desktop or the negative one screen. The terminal device 100 can start the gallery application in response to an operation of the user clicking the icon of the gallery application displayed on the desktop / negative one screen. Taking the icon of the gallery application displayed on the desktop as an example, the desktop launcher (for example, Launcher) can send a process creation request of the gallery application to the system_server process in response to an operation of the user clicking the icon of the gallery application displayed on the desktop. The system_server process sends the process creation request of the gallery application to the Zygote process, and the Zygote process creates the process of the gallery application.
[0089] In some embodiments, after the terminal device 100 and the camera device 200 are successfully paired, the terminal device 100 can also pop up a gallery guide prompt box for starting the gallery application. The terminal device can start the gallery application in response to an operation of clicking a control in the gallery guide prompt box. For example, the gallery guide prompt box includes a first control and a second control. The first control is used to represent that the gallery application is not started temporarily, and the second control is used to represent that the gallery application is started. That is, the terminal device can start the gallery application in response to an operation of clicking the second control in the gallery guide prompt box. The embodiments of the present application do not limit the manner of triggering the terminal device 100 to start the gallery application.
[0090] Optionally, the terminal device 100 can also start the gallery application first, and then perform Bluetooth pairing with the camera device 200.
[0091] S23: The gallery application executes onCreate() to create a gallery Activity, and in the process of creating the gallery Activity, the Bluetooth pairing situation of the terminal device 100 and the camera device 200 is detected.
[0092] In some embodiments, the gallery application can create a gallery Activity by executing onCreate(). The gallery application can create one or more gallery Activities. That is, the gallery application can include one gallery Activity, or multiple gallery Activities. After the gallery Activity is created, the interface corresponding to the gallery Activity can be displayed on the display screen of the terminal device 100, so as to facilitate interaction with the user. For example, as shown in FIG. 3E, it is illustrated that the gallery application includes one gallery Activity, and the interface corresponding to the gallery Activity can include a terminal photo interface, a terminal album interface, a terminal recall interface, and a terminal creation interface.
[0093] In some embodiments, the gallery application can also include multiple gallery Activities. For example, the multiple gallery Activities can include a photo Activity, an album Activity, a recall Activity, and a creation Activity. The interface corresponding to the photo Activity is a terminal photo interface, the interface corresponding to the album Activity is a terminal album interface, the interface corresponding to the recall Activity is a terminal recall interface, and the interface corresponding to the creation Activity is a terminal creation interface.
[0094] In some embodiments, the gallery application can be pre-configured to associate the creation of the gallery Activity with the detection of the Bluetooth pairing situation, such that when the gallery application creates the gallery Activity in the process of executing the onCreate(), the gallery application can also detect the Bluetooth pairing information between the terminal device 100 and the camera device 200, and then determine whether the terminal device has completed Bluetooth pairing with one or more camera devices. For example, the gallery application can be pre-configured to associate the creation of the gallery Activity with the detection of the Bluetooth pairing situation.
[0095] In some embodiments, the terminal device 100 can be installed with an operating system, the operating system including a Bluetooth communication framework that can communicate with the Bluetooth module of the hardware layer, the Bluetooth communication framework maintaining a record of the Bluetooth pairing completed by the terminal device 100 with each device, the Bluetooth communication framework providing an application programming interface (API) for querying the Bluetooth pairing situation, and the gallery application detecting the Bluetooth pairing situation between the terminal device 100 and the camera device 200 through the API.
[0096] For example, the Bluetooth communication framework maintains a Bluetooth pairing list of the Bluetooth pairing completed by the terminal device 100 with each device, the gallery application can query the Bluetooth pairing list through the API to determine whether the terminal device has completed Bluetooth pairing with one or more camera devices, and achieve the detection of the Bluetooth pairing situation between the terminal device 100 and the camera device 200.
[0097] Alternatively, the gallery application can also detect the Bluetooth pairing situation between the terminal device 100 and the camera device 200 after the gallery Activity is created.
[0098] S24: The gallery application binds with the camera SDK, and transmits the detection result of the Bluetooth pairing situation between the terminal device 100 and the camera device 200 to the camera SDK.
[0099] In some embodiments, the camera SDK can refer to an SDK in the terminal device that is connected to the camera device via Bluetooth and Wi-Fi, which can communicate with the Bluetooth communication framework / Wi-Fi communication framework in the operating system to realize calling the Bluetooth module / Wi-Fi module in the hardware layer to be connected to the camera device via Bluetooth / Wi-Fi. The camera SDK can include a service for providing Bluetooth / Wi-Fi connection information between the terminal device and the camera device, and the gallery application can be bound to the service, which can return the Bluetooth / Wi-Fi connection information between the terminal device and the camera device to the gallery application. For example, the gallery application can be bound to the service in the camera SDK by calling a first preset function, for example, the first preset function is named "RegisterCameraDevicesListener()".
[0100] In some embodiments, the camera SDK can be integrated in the settings application or other system applications, which are not limited in the embodiments of the present application.
[0101] In some embodiments, the gallery application can be bound to the camera SDK when it is detected that the terminal device is connected to at least one camera device via Bluetooth. If it is detected that the terminal device is not connected to any camera device via Bluetooth, the gallery application can not be bound to the camera SDK because it is not necessary to trigger subsequent Bluetooth scanning and reconnection via the camera SDK.
[0102] S25: The camera SDK triggers the Bluetooth module to perform Bluetooth scanning and reconnection based on the detection result, so that the terminal device 100 is connected to the camera device 200 via Bluetooth.
[0103] In some embodiments, the camera SDK can trigger the Bluetooth module to perform Bluetooth scanning and reconnection based on the detection result of the gallery application, so that the terminal device 100 can be connected to the camera device via Bluetooth after Bluetooth pairing. For example, the gallery application detects that the terminal device 100 is connected to the camera device 200 via Bluetooth, and transmits the detection result to the camera SDK, and the camera SDK triggers the Bluetooth module of the terminal device 100 to perform Bluetooth scanning. After the Bluetooth module of the terminal device 100 scans the camera device 200, the Bluetooth module of the terminal device 100 can be connected to the Bluetooth module of the camera device 200 via Bluetooth based on the saved pairing information of the camera device 200.
[0104] In some embodiments, the gallery application can also detect the Bluetooth pairing situation between the terminal device 100 and the camera device 200 without using the API provided by the Bluetooth communication framework. For example, the gallery application can detect the Bluetooth pairing situation between the terminal device 100 and the camera device 200 through the camera SDK. Specifically, in the case where the gallery application is bound to the service, the gallery application can send a request to the camera SDK to detect the Bluetooth pairing situation between the terminal device 100 and the camera device 200, and the camera SDK can communicate with the Bluetooth communication framework to query the Bluetooth pairing situation between the terminal device 100 and the camera device 200, and then return the query result to the gallery application to detect the Bluetooth pairing situation between the terminal device 100 and the camera device 200.
[0105] S26: The camera SDK obtains the Bluetooth connection information between the terminal device 100 and the camera device 200, and transmits the Bluetooth connection information to the gallery application.
[0106] In some embodiments, after the terminal device 100 and the camera device 200 establish a Bluetooth connection, the camera SDK can obtain the Bluetooth connection information between the terminal device 100 and the camera device 200 through the Bluetooth communication framework. The Bluetooth connection information can include the device identifier and the Bluetooth media access control (MAC) address of the camera device 200.
[0107] In some embodiments, if the terminal device 100 supports multi-point pairing, the terminal device 100 can also perform Bluetooth reconnection with one or more camera devices. For example, in the case where the Bluetooth module of the terminal device 100 scans multiple camera devices and also stores the Bluetooth pairing information corresponding to the multiple camera devices, the Bluetooth module of the terminal device 100 can perform Bluetooth reconnection with the multiple camera devices.
[0108] After the terminal device 100 and the camera device 200 complete the Bluetooth connection, the camera device 200 can act as a Wi-Fi hotspot, and transmit the Wi-Fi hotspot information to the terminal device 100 through the Bluetooth channel, so that the terminal device 100 can quickly establish a Wi-Fi connection with the camera device 200 based on the Wi-Fi hotspot information in the future.
[0109] Optionally, the gallery application can also obtain the Bluetooth connection information between the terminal device 100 and the camera device 200 through other ways, and create or display the camera album icon based on the Bluetooth connection information, without performing S23-S26. For example, the Bluetooth connection information can be obtained automatically every predetermined time, or through Bluetooth connection monitoring, hook functions, etc.
[0110] S27: The gallery application creates a camera album icon corresponding to the camera device 200 based on the Bluetooth connection information.
[0111] In some embodiments, the camera album icon can have a preset pattern, and the camera album icon can include a device identifier of the camera device, based on which the user can distinguish the camera device corresponding to the camera album icon, so that in the case that the terminal device 100 establishes a Bluetooth connection with multiple camera devices, the user can quickly identify different camera devices or the camera device expected to be connected based on the device identifier. For example, after receiving the Bluetooth connection information returned by the camera SDK, the gallery application can create a camera album icon corresponding to the camera device 200 based on the device identifier of the camera device 200 included in the Bluetooth connection information.
[0112] In some embodiments, the gallery application can also create a camera album icon corresponding to the camera device 200 based on the Bluetooth pairing information between the terminal device 100 and the camera device 200. The Bluetooth pairing information can be obtained by the gallery application through an API provided by the Bluetooth communication framework, or provided by the camera SDK to the gallery application.
[0113] In some embodiments, if the terminal device 100 connects two or more camera devices through the Bluetooth module at the same time, the gallery application can create multiple camera album icons, which can include the camera album icon corresponding to the camera device 200.
[0114] S28: The terminal device 100 displays the gallery interface of the gallery application, which includes the camera album icon corresponding to the camera device 200.
[0115] Alternatively, the camera album icon corresponding to the camera device 200 can be displayed based on the Bluetooth connection information, S27 is not performed, or the camera album icon corresponding to the camera device 200 can be displayed in the gallery interface after being created.
[0116] In some embodiments, the gallery interface of the gallery application can correspond to the interface of an interactive gallery Activity, the gallery application can execute onCreate() to create the gallery Activity, after the gallery Activity is created, the gallery application can execute onStart() to start the created gallery Activity, after the gallery Activity is started, if the gallery Activity obtains the window focus, the gallery application can also execute onResume() to display the interface corresponding to the interactive gallery Activity, at this time, the interface corresponding to the gallery Activity displayed is the interface that can interact with the user.
[0117] In some embodiments, the camera album icon created by the gallery application can be displayed before or after the display of the gallery interface. For example, at a first time, the gallery Activity is created but the camera album icon is not created, the terminal device 100 displays the gallery interface, and the gallery interface does not contain the camera album icon. At a second time after the first time, the camera album icon is created, and the gallery interface displayed at this time contains the camera album icon. For example, at a first time, the camera album icon is created but the gallery Activity is not created, and the gallery interface is not displayed. At a second time after the first time, the gallery Activity is created, the terminal device 100 displays the gallery interface, and the gallery interface contains the camera album icon.
[0118] In some embodiments, each camera album icon can correspond to a camera device, and the camera album icon can be displayed in the gallery application in the form of an album, for example, in the form of an album in the album Activity, that is, the gallery of the camera device 200 can be displayed in the album Activity in the form of an album.
[0119] As shown in FIG. 3E, the gallery interface is shown to contain the camera album icon 106, which is displayed in the album Activity.
[0120] In some embodiments, the camera album icon 106 can have multiple display styles. For example, when the terminal device 100 has not established a Wi-Fi connection with the camera device 200, or has established a Wi-Fi connection with the camera device 200 but has not received pictures transmitted by the camera device 200, the display style of the camera album icon 106 corresponding to the camera device 200 is a default style, which can be set according to actual needs (for example, pre-set by the developer), and the present application embodiments are not limited in this regard, for example, the default style is the camera icon style shown in (a) of FIG. 3F. When the transmission of at least one picture is completed, the display style of the camera album icon 106 can be changed from the default style to a thumbnail style, which can be a style displayed based on a thumbnail of the received picture, for example, the thumbnail style is a thumbnail of the first received picture or the latest received picture.
[0121] As shown in (a) of FIG. 3F, the display style of the camera album icon 106 is the default style, and the number of the camera album icon 106 is one, which indicates that the number of the camera device that has completed the Bluetooth connection with the terminal device 100 is one, or the number of the camera device that has completed the Bluetooth pairing with the terminal device 100 is one. As shown in (b) of FIG. 3F, the display style of the camera album icon is the default style, and the number of the camera album icon is two (the camera album icon 106a and the camera album icon 106b), which indicates that the number of the camera device that has completed the Bluetooth connection with the terminal device 100 is two, or the number of the camera device that has completed the Bluetooth pairing with the terminal device 100 is two. As shown in (c) of FIG. 3F, one camera album icon 106 is shown, and the display style of the camera album icon 106 is the thumbnail style, which indicates that the terminal device 100 has received at least one picture transmitted by the camera device 200 corresponding to the camera album icon 106. As shown in (d) of FIG. 3F, two camera album icons 106a and 106b are shown, the display style of one camera album icon 106a is the thumbnail style, which indicates that the terminal device 100 has received at least one picture transmitted by the camera device 200 corresponding to the camera album icon 106a, and the display style of the other camera album icon 106b is the default style, which indicates that the terminal device 100 has not received the picture transmitted by the camera device 200 corresponding to the camera album icon 106b, or has not established the Wi-Fi connection with the camera device 200 corresponding to the camera album icon 106b.
[0122] In some embodiments, the software interaction process between the terminal device 100 and the camera device 200 can further include S29-S33.
[0123] S29: In response to the click operation on the camera album icon displayed in the gallery interface, the gallery application sends a Wi-Fi Socket connection request of the camera gallery corresponding to the camera album icon to the camera SDK.
[0124] In some embodiments, in the case that the user clicks any one of the camera album icons 106 displayed in the gallery interface, the terminal device 100 can trigger the Wi-Fi Socket connection of the camera gallery of the camera device (which can be another camera device other than the camera device 200) corresponding to the any one of the camera album icons 106, so that the camera gallery can send pictures to the gallery application through the Wi-Fi Socket, and realize the display of the pictures of the camera gallery on the gallery application, for example, the display of the pictures of the camera gallery in the album interface of the gallery application, so as to facilitate the user to view and / or manage the pictures taken and saved by the camera device 200 in the album interface. After the Wi-Fi Socket between the gallery application and the camera gallery is successfully established, the interface displayed by the gallery application can jump to the album interface corresponding to the camera device 200, that is, the pictures taken and saved by the camera device 200 are displayed in the album interface.
[0125] S30: The camera SDK triggers the Wi-Fi module of the terminal device 100 to establish a Wi-Fi connection with the Wi-Fi module of the camera device 200 based on the Wi-Fi Socket connection request.
[0126] In some embodiments, before the gallery application and the camera gallery establish the Wi-Fi Socket connection, the terminal device 100 needs to establish a Wi-Fi connection with the camera device 200. The camera SDK can trigger the Wi-Fi module of the terminal device 100 to establish a Wi-Fi connection with the Wi-Fi module of the camera device 200 based on the received Wi-Fi Socket connection request.
[0127] For example, after the terminal device 100 establishes a Bluetooth connection with the camera device 200, the camera device 200 acts as a Wi-Fi hotspot, and the camera device 200 shares the Wi-Fi hotspot information (such as Wi-Fi identification, key, and other information) with the terminal device 100 through the Bluetooth channel. The Wi-Fi module of the terminal device 100 can establish a Wi-Fi connection with the Wi-Fi module of the camera device 200 based on the Wi-Fi hotspot information.
[0128] S31: The camera SDK obtains the IP address of the camera device 200 and returns the IP address of the camera device 200 to the gallery application.
[0129] In some embodiments, after the terminal device 100 establishes a Wi-Fi connection with the camera device 200 when the camera device 200 acts as a Wi-Fi hotspot, the Wi-Fi communication framework of the terminal device 100 can obtain and save the IP address of the camera device 200. The camera SDK can obtain the IP address of the camera device 200 by communicating with the Wi-Fi communication framework, and return the IP address of the camera device 200 to the gallery application.
[0130] S32: The gallery application establishes a Wi-Fi Socket connection with the camera gallery of the camera device 200 based on the address of the camera device 200, so that the gallery application receives pictures sent by the camera gallery through the Wi-Fi Socket.
[0131] For example, in a case where the user clicks any camera album icon 106 displayed in the gallery interface, the terminal device 100 can be triggered to access a target Wi-Fi hotspot, which is the camera device corresponding to the camera album icon 106. After the terminal device 100 establishes a Wi-Fi connection with the camera device corresponding to the camera album icon 106, the terminal device 100 can obtain the internet protocol (IP) address of the camera device corresponding to the camera album icon 106, and then the gallery application can establish a Wi-Fi Socket connection with the camera gallery of the camera device based on the IP address of the camera device. After the gallery application and the camera gallery complete the Wi-Fi Socket connection, cross-device data transmission can be implemented between the gallery application and the camera gallery, so that pictures in the camera gallery of the camera device can be displayed in the gallery application of the terminal device 100.
[0132] In some embodiments, after the gallery application and the camera gallery establish the Wi-Fi Socket connection, they can perform picture data transmission based on the PTP / IP (Picture Transfer Protocol / Internet Protocol) protocol.
[0133] In some embodiments, the user clicking any camera album icon 106 displayed in the gallery interface can trigger the gallery application to call a second preset function to call the camera SDK to obtain the IP address of the camera device corresponding to the camera album icon 106, for example, the second preset function is named “getCameraDeviceIp()”. The camera SDK can return the obtained IP address of the camera device to the gallery application, and the gallery application calls the multimedia transfer protocol (MTP) framework to establish a Wi-Fi Socket connection with the camera gallery of the camera device based on the IP address of the camera device. In a case where the MTP framework successfully establishes the Wi-Fi Socket connection with the camera gallery, the MTP framework can return an MTPDevice class for data transmission with the camera gallery to the gallery application, and the gallery application can subsequently perform cross-device data transmission with the camera gallery by instantiating the MTPDevice class.
[0134] In some embodiments, the terminal device can be pre-installed with camera SDKs corresponding to camera devices of various camera manufacturers, or can be installed with camera SDKs compatible with camera devices of multiple camera manufacturers, so that the gallery application can invoke the camera SDK corresponding to the camera album icon to implement functions such as Bluetooth reconnection, Wi-Fi connection, obtaining the IP address of the camera device, and the like.
[0135] S33: The terminal device 100 displays a photo album interface corresponding to the camera device 200, and the photo album interface displays the pictures of the camera gallery of the camera device 200.
[0136] In some embodiments, the photo album interface can be displayed before the gallery application establishes a Wi-Fi Socket connection with the camera gallery, so that the gallery application can immediately jump to display the photo album interface after receiving the click operation of the user on the camera album icon. Before the gallery application establishes a Wi-Fi Socket connection with the camera gallery, the content displayed on the photo album interface can be preset content, for example, displaying a “loading” animation. After the gallery application establishes a Wi-Fi Socket connection with the camera gallery, the pictures of the camera gallery can be transmitted to the gallery application through the Wi-Fi Socket channel, and the content displayed on the photo album interface can be the thumbnail pictures of the camera gallery.
[0137] As shown in FIG. 3G(a), the gallery interface of the terminal device 100 is displayed with a camera album icon 106.
[0138] As shown in FIG. 3G(b), after the user clicks on the camera album icon 106, the gallery interface jumps to display a photo album interface, and the photo album interface displays a “loading” animation, indicating that the terminal device 100 is currently establishing a Wi-Fi connection with the camera device 200, and / or the gallery application is establishing a Wi-Fi Socket connection with the camera gallery. The “loading” animation can also have other presentation forms, for example, a preset animation clip, which is not limited in actual applications. If the gallery application of the terminal device 100 successfully establishes a Wi-Fi Socket connection with the camera gallery of the camera device 200, the camera gallery of the camera device 200 can send pictures to the gallery application of the terminal device 100 through the Wi-Fi Socket channel. After receiving the pictures transmitted by the camera gallery, the gallery application of the terminal device 100 can refresh the photo album interface, for example, display the photo album interface as shown in FIG. 3G(c). If the gallery application of the terminal device 100 fails to establish a Wi-Fi Socket connection with the camera gallery of the camera device 200, the gallery application can attempt to establish a Wi-Fi Socket connection with the camera gallery of the camera device 200 again, and the photo album interface can remain in the interface shown in FIG. 3G(b).
[0139] As shown in (c) of FIG. 3G, if the gallery application of the terminal device 100 receives at least one picture transmitted by the camera gallery of the camera device 200, the photo album interface can display a thumbnail of each received picture.
[0140] As shown in (d) of FIG. 3G, if the user clicks any thumbnail in the photo album interface, the photo album interface can display a large picture corresponding to the thumbnail.
[0141] As shown in (a) of FIG. 3H, the photo album interface can include a plurality of management controls, such as a "filter" control 107a, an "order" control 107b, and an "export" control 107c. As shown in (b) of FIG. 3H, in a case where the user clicks the "filter" control 107a, the photo album interface can display pictures filtered according to a picture format (e.g., JPEG, MP4, CR3 format) selected by the user. As shown in (c) of FIG. 3H, in a case where the user clicks the "order" control 107b, the photo album interface can display pictures ordered according to a latest date or a farthest date of picture shooting selected by the user. As shown in (d) of FIG. 3H, in a case where the user clicks the "export" control 107c, the photo album interface can save pictures displayed in the photo album interface to the terminal device locally according to a picture export quality (e.g., export original pictures or compressed pictures) selected by the user.
[0142] In some embodiments, the data transmission process from the camera gallery to the gallery application can include: the camera gallery passing first data (e.g., pictures, videos, etc.) to be transmitted to a Wi-Fi chip of the camera device, the Wi-Fi chip of the camera device transmitting the first data to a Wi-Fi chip of the terminal device 100, and the first data being transmitted from the Wi-Fi chip of the terminal device 100 to the gallery application through the MTP framework. The data transmission process from the gallery application to the camera gallery can include: the gallery application invoking the MTP framework to pass second data to be transmitted to the Wi-Fi chip of the terminal device 100, the Wi-Fi chip of the terminal device 100 transmitting the second data to the Wi-Fi chip of the camera device, and the Wi-Fi chip of the camera device passing the second data to the camera gallery.
[0143] The above embodiments of the present application can realize viewing and / or management of pictures taken and saved by a camera device in a gallery application of a terminal device, without the need to download and install an official application specified by a manufacturer of the camera device, and the user needs to perform fewer click operations, which can improve the user's experience.
[0144] For the Activitye of the application program, the onCreate() is only executed once in the Activity life cycle, which causes the above-mentioned solution of the present application to have the following defects: since the camera album icon is created in the process of executing onCreate(), in the case that the gallery application is started first and then paired with the camera device (the camera device has not been paired with the terminal device before or has been unpaired with the terminal device after pairing), since onCreate() has been executed, step S23 cannot be executed, and thus the terminal device cannot be triggered to perform Bluetooth reconnection with the camera device, which causes the gallery application to be unable to create the camera album icon corresponding to the camera device based on the Bluetooth connection information. Since the camera device has not completed Bluetooth pairing with the terminal device when onCreate() is executed previously, the camera device cannot be detected to have completed Bluetooth pairing with the terminal device, and the terminal device cannot be triggered to perform Bluetooth reconnection with the camera device. Therefore, the camera album icon corresponding to the camera device cannot be created when onCreate() is executed previously. That is, in the process of displaying the gallery interface, if the gallery application is not exited and is started again, the gallery interface cannot display the camera album icon corresponding to the camera device.
[0145] For the above-mentioned defects, although the problem that the gallery interface is opened first and then paired with the camera device to cause the camera album icon corresponding to the camera device to be unable to be created can be solved by not deleting the camera album icon, this way of not deleting the camera album icon still cannot solve the problem that the gallery interface is opened first and then paired with the camera device to cause the camera album icon corresponding to the camera device to be unable to be created.
[0146] For the gallery application, when the gallery interface of the gallery application obtains the window focus, the gallery application triggers the execution of the onResume() to display the interactive gallery interface. If the camera album icon is set to be created during the execution of the onResume(), the defect of the above solution can be solved. For example, after the gallery application is started, the setting application is started to be paired with the camera device (the interface of the setting application obtains the window focus, and the gallery application is in the background running, that is, the Bluetooth pairing interface is displayed during the Bluetooth pairing, the window focus is changed, and then when the Bluetooth pairing is completed and the gallery interface is switched to the foreground display, the gallery application triggers the execution of the onResume()). After the camera device is successfully paired, the gallery application is switched from the background running to the foreground running, the gallery interface of the gallery application obtains the window focus, the gallery application executes the onResume(), the creation of the camera album icon is triggered, and then the gallery application can create the camera album icon corresponding to the camera device, thereby solving the defect of the above solution. Therefore, the embodiment of the present application further provides a photo album display method, and the camera album icon is set to be created during the execution of the onResume(). This method can solve the problem that the gallery interface is opened first, and then the camera device is paired with the Bluetooth, and the camera album icon corresponding to the camera device cannot be created. In addition, the problem that the gallery interface is opened first, and then the camera device is paired with the Bluetooth, and the camera album icon corresponding to the camera device cannot be created can also be solved.
[0147] The software interaction process between the terminal device 100 and the camera device 200 will be described in detail below with reference to FIG. 4.
[0148] S41: The terminal device 100 starts the gallery application in response to the operation of clicking the icon of the gallery application.
[0149] The interaction process S42 of the embodiment of the present application is similar to the interaction process S22 of the foregoing embodiment, and details are not repeated here.
[0150] S42: The terminal device 100 displays the gallery interface of the gallery application.
[0151] In some embodiments, the gallery interface of the gallery application can correspond to an interactive gallery Activity, the gallery application can execute the onCreate() to create the gallery Activity, after the gallery Activity is created, the gallery application can execute the onStart() to start the created gallery Activity, after the gallery Activity is started, if the gallery Activity obtains the window focus, the gallery application can further execute the onResume() to display the interactive gallery Activity, at this time, the displayed gallery Activity can interact with the user.
[0152] In some embodiments, if the terminal device 100 and the camera device 200 have not completed pairing, the gallery application does not create a camera album icon corresponding to the camera device 200, i.e., the gallery interface does not include a camera album icon corresponding to the camera device 200.
[0153] Optionally, the terminal device 100 can also start the gallery application in other ways, not limited to the operation of clicking the icon of the gallery application, for example, the gallery application is started by other applications opened by the terminal device 100.
[0154] S43: The terminal device 100 displays a first Bluetooth pairing interface in response to the pairing click operation.
[0155] In some embodiments, the pairing click operation can include multiple click operations for implementing the terminal device to jump from the currently displayed interface to display the first Bluetooth pairing interface for camera device pairing. For example, the pairing click operation includes a click operation for starting the settings application, an operation for clicking the "More Connections" control in the settings main interface, and an operation for clicking the "Camera Pairing" control in the more connections interface, and then the first Bluetooth pairing interface is displayed. During the process of the terminal device 100 displaying the first Bluetooth pairing interface, the gallery application is running in the background.
[0156] In some embodiments, if the terminal device supports pairing of the camera device in the second Bluetooth pairing interface. The terminal device 100 can also display the second Bluetooth pairing interface in response to the pairing click operation to perform camera device pairing. For example, the pairing click operation includes a downward sliding operation (e.g., sliding a preset distance from the top of the screen) for displaying a pull-down settings interface, an operation for clicking the "Bluetooth" control in the pull-down settings interface, and then the second Bluetooth pairing interface is displayed.
[0157] S44: In response to a click operation on a to-be-paired camera device identifier displayed in the first Bluetooth pairing interface, the terminal device 100 performs Bluetooth pairing with the camera device 200 corresponding to the camera device identifier.
[0158] For example, the first Bluetooth pairing interface includes a "pairable camera" field, and the terminal device 100 can respond to clicking on a camera device identifier in the "pairable camera" field that the user desires to pair with the terminal device 100 via Bluetooth, so that the terminal device 100 can send a Bluetooth pairing request to the corresponding camera device 200 of the camera device identifier. For example, the user can click on a camera device identifier in the "pairable camera" field that the user desires to pair with the terminal device 100 via Bluetooth according to actual camera pairing needs, triggering the terminal device 100 to send a Bluetooth pairing request to the corresponding camera device 200 of the camera device identifier. The camera device 200 responds to pairing confirmation (e.g., the user clicks a button / control on the camera device for pairing confirmation) on the camera device corresponding to the camera device identifier, so that the camera device 200 can pair with the terminal device 100 via Bluetooth.
[0159] S45: In response to the operation of displaying the gallery interface of the gallery application, the gallery application executes onResume(), and in the process of executing onResume(), the Bluetooth pairing situation between the terminal device 100 and the camera device 200 is detected.
[0160] In some embodiments, the operation of displaying the gallery interface of the gallery application can refer to displaying the gallery interface of the gallery application on the display screen, for example, the operation of switching the gallery application from background running to foreground running. When the gallery interface of the gallery application is displayed on the display screen of the terminal device, the gallery interface can again obtain the window focus, and the gallery application can execute onResume() to display the interactive gallery Activity, so that the displayed gallery interface can interact with the user.
[0161] In some embodiments, the gallery application can be preconfigured to associate the execution of onResume() with the detection of the Bluetooth pairing situation, so that in the process of executing onResume(), the gallery application can execute the detection of the Bluetooth pairing information between the terminal device 100 and the camera device 200, and then determine whether the terminal device has completed Bluetooth pairing with one or more camera devices. For example, the gallery application is preconfigured to associate the execution of onResume() of the photo album Activity with the detection of the Bluetooth pairing situation.
[0162] For example, the Bluetooth communication framework maintains a Bluetooth pairing list of the terminal device 100 currently completing Bluetooth pairing with various devices, and the gallery application can query the Bluetooth pairing list through the API provided by the Bluetooth communication framework to determine whether the terminal device has completed Bluetooth pairing with one or more camera devices, thereby achieving the detection of the Bluetooth pairing situation between the terminal device 100 and the camera device 200.
[0163] S46: The gallery application creates a camera album icon corresponding to the camera device 200 based on the detection result.
[0164] In some embodiments, the detection result can include the camera device identifier that has completed Bluetooth pairing with the terminal device 100, and the gallery application can create the camera album icon based on the camera device identifier. Since the camera device 200 has completed pairing with the terminal device 100, i.e., the detection result includes the device identifier of the camera device 200. The gallery application can create the camera album icon corresponding to the camera device 200 based on the device identifier of the camera device 200.
[0165] In some embodiments, before the gallery application creates the camera album icon based on the camera device identifier, it can also determine whether the gallery interface already exists a camera album icon corresponding to the camera device identifier. If it exists, it does not create; if it does not exist, it creates a camera album icon corresponding to the camera device identifier.
[0166] Optionally, the gallery application can automatically detect the Bluetooth pairing situation between the terminal device 100 and the camera device 200 (for example, every preset time), or trigger the detection of the Bluetooth pairing situation between the terminal device 100 and the camera device 200 by other trigger conditions, and does not perform S45.
[0167] S47: The terminal device 100 displays the gallery interface of the gallery application, and the gallery interface includes the camera album icon corresponding to the camera device 200.
[0168] In some embodiments, the gallery application creates the camera album icon, which can be displayed before or after displaying the interactive gallery interface. For example, at a first time, the execution of onResume() is completed but the creation of the camera album icon is not completed, the terminal device 100 displays the interactive gallery interface, and the gallery interface does not contain the camera album icon. At a second time after the first time, the creation of the camera album icon is completed, and the displayed interactive gallery interface contains the camera album icon. For example, at a first time, the creation of the camera album icon is completed but the execution of onResume() is not completed, and the interactive gallery interface is not displayed at this time. At a second time after the first time, the execution of onResume() is completed, the terminal device 100 displays the interactive gallery interface, and the gallery interface contains the camera album icon. In some embodiments, assuming that the camera album icon is displayed in the album Activity, the gallery application executes the onResume() of the album Activity when the album Activity is displayed on the display screen of the terminal device 100 and the album Activity obtains the window focus. In the process of executing the onResume() of the album Activity, the gallery application detects the camera pairing condition of the terminal device 100, and creates the camera album icon based on the detection result, so that the album Activity can display the camera album icon when the album Activity is displayed on the display screen and obtains the window focus.
[0169] Alternatively, the camera album icon corresponding to the camera device 200 can be displayed based on the Bluetooth pairing condition, S46 is not executed, or the camera album icon corresponding to the camera device 200 can be displayed in the gallery interface after being created.
[0170] In some embodiments, the creation of the camera album icon is set based on the detected Bluetooth pairing condition of the camera device. Before the creation of the camera album icon, only the Bluetooth pairing list of the terminal device 100 needs to be obtained, which consumes less time. The creation of the camera album icon is set based on the Bluetooth connection information. Before the creation of the camera album icon, in addition to obtaining the Bluetooth pairing list of the terminal device 100, Bluetooth device scanning and Bluetooth reconnection also need to be performed, which consumes more time and significantly increases the execution time of onResume(), thereby affecting the display speed of the gallery Activity, causing the gallery interface to appear to be stuck, and reducing the user experience.
[0171] As shown in (a) of FIG. 5, the terminal device 100 starts the gallery application, and the terminal device 100 does not currently complete Bluetooth pairing with any camera device, and the gallery interface 108 displayed on the display screen does not contain the camera album icon. As shown in (b) of FIG. 5, the first Bluetooth pairing interface 104 in the settings application is displayed on the display screen, the user clicks the camera device identifier in the "pairable camera" field which is expected to be paired with the terminal device 100, the terminal device 100 sends a Bluetooth pairing request to the camera device corresponding to the camera device identifier, and after the user clicks the button / control on the camera device for pairing confirmation, the camera device can complete Bluetooth pairing with the terminal device 100. As shown in (c) of FIG. 5, the gallery interface 108 displayed on the display screen again contains the camera album icon 106 corresponding to the camera device.
[0172] As shown in (a) of FIG. 6, the terminal device 100 starts the gallery application, and the terminal device 100 currently completes Bluetooth pairing with the first camera device, and the gallery interface 108 displayed on the display screen contains the camera album icon 106a corresponding to the first camera device. As shown in (b) of FIG. 6, the first Bluetooth pairing interface 104 in the settings application is displayed on the display screen, the user clicks the camera device identifier in the "pairable camera" field which is expected to be paired with the terminal device 100, the terminal device 100 sends a Bluetooth pairing request to the second camera device corresponding to the camera device identifier, and after the user clicks the button / control on the second camera device for pairing confirmation, the second camera device can complete Bluetooth pairing with the terminal device 100. As shown in (c) of FIG. 6, the gallery interface 108 displayed on the display screen again contains the camera album icon 106a corresponding to the first camera device and the camera album icon 106b corresponding to the second camera device.
[0173] In some embodiments, the software interaction process between the terminal device 100 and the camera device 200 can further include S48-S53.
[0174] S48: In response to a click operation on the camera album icon displayed in the gallery interface, the gallery application binds with the camera SDK.
[0175] In some embodiments, in the case that the user clicks any camera album icon displayed in the gallery interface, the gallery application can be bound with the camera SDK, so as to facilitate the gallery application to subsequently call the camera SDK to realize functions such as Bluetooth reconnection, Wi-Fi connection, and acquisition of the IP address of the camera device. The embodiments of the present application take the case of clicking the camera album icon corresponding to the camera device 200 as an example for description.
[0176] In some embodiments, the gallery application can call a third preset function to bind with the camera SDK, for example, the third preset function is named as "bindRemoteCameraDeviceService()". The camera SDK can include a service for providing Bluetooth / Wi-Fi connection information between the terminal device and the camera device, and the binding between the gallery application and the camera SDK can mean that the gallery application binds with the service, and the service can return the Bluetooth / Wi-Fi connection information between the terminal device and the camera device to the gallery application. In this case, the gallery application can also detect the Bluetooth pairing between the terminal device and the camera device through the camera SDK, that is, the gallery application can also bind with the camera SDK in the process of executing onResume().
[0177] In some embodiments, the gallery application can also trigger the camera SDK to control the Bluetooth module to perform Bluetooth device scanning and Bluetooth reconnection with the camera device, control the Wi-Fi module to connect with the camera device through Wi-Fi, and obtain the IP address of the camera device after the Wi-Fi connection by calling a fourth preset function. For example, the fourth preset function is named as "connectCameraDevice()".
[0178] S49: The camera SDK triggers the Bluetooth module to perform Bluetooth scanning and reconnection, so that the terminal device 100 establishes Bluetooth connection with the camera device 200.
[0179] In some embodiments, after the gallery application binds with the camera SDK, the camera SDK can trigger the Bluetooth module to perform Bluetooth scanning and Bluetooth reconnection, so that the terminal device 100 can establish Bluetooth connection with the camera device which has completed Bluetooth pairing. For example, after the gallery application binds with the camera SDK, the gallery application can also transmit the camera device identifier corresponding to the camera album icon to the camera SDK, so as to facilitate the camera SDK to trigger the Bluetooth module of the terminal device 100 to perform reconnection with the camera device corresponding to the camera device identifier. For example, after the Bluetooth module of the terminal device 100 scans the camera device 200 corresponding to the camera device identifier, the Bluetooth module of the terminal device 100 performs Bluetooth reconnection with the Bluetooth module of the camera device 200 based on the saved pairing information of the camera device 200.
[0180] S50: The camera SDK triggers the Wi-Fi module of the terminal device 100 to establish Wi-Fi connection with the Wi-Fi module of the camera device 200.
[0181] For example, after the terminal device 100 establishes a Bluetooth connection with the camera device 200, the camera device 200 serves as a Wi-Fi hotspot, the camera device 200 shares Wi-Fi hotspot information (for example, Wi-Fi identification, a key, and the like) to the terminal device 100 through a Bluetooth channel, and the camera SDK triggers a Wi-Fi module of the terminal device 100 to establish a Wi-Fi connection with a Wi-Fi module of the camera device 200 based on the Wi-Fi hotspot information.
[0182] By setting that, in a case where a user clicks any camera album icon displayed in a gallery interface, the camera SDK controls the terminal device 100 to perform Bluetooth device scanning, Bluetooth reconnection, and Wi-Fi connection, so that the terminal device 100 can establish a Wi-Fi connection with a camera device (which can be another camera device other than the camera device 200) corresponding to the camera album icon, and then the gallery application can further establish a Wi-Fi Socket connection with the camera gallery after the Wi-Fi connection is established, so that the camera gallery of the camera device can transmit pictures to the gallery application through the Wi-Fi Socket channel, and the gallery application can display an album interface corresponding to the camera device based on the received pictures.
[0183] S51: The camera SDK obtains an IP address of the camera device 200 and returns the IP address of the camera device 200 to the gallery application.
[0184] The interaction process S51 of the embodiment of the present application is similar to the interaction process S31 of the foregoing embodiment, and details are not repeated here.
[0185] S52: The gallery application establishes a Wi-Fi Socket connection with the camera gallery of the camera device 200 based on the address of the camera device 200, so that the gallery application receives pictures sent by the camera gallery through the Wi-Fi Socket.
[0186] The interaction process S52 of the embodiment of the present application is similar to the interaction process S32 of the foregoing embodiment, and details are not repeated here.
[0187] S53: The terminal device 100 displays an album interface corresponding to the camera device 200, and the album interface displays pictures of the camera gallery of the camera device 200.
[0188] The interaction process S53 of the embodiment of the present application is similar to the interaction process S33 of the foregoing embodiment, and details are not repeated here.
[0189] In some embodiments, in order to solve the defect that the camera album icon is created in the process of executing onCreate(), in addition to setting to create the camera album icon in the process of executing onResume() of the gallery Activity, the application can also set to create the camera album icon in the process of executing onStart() of the gallery Activity, and the specific implementation manner is basically the same as creating the camera placeholder in the process of executing onResume(), and the embodiments of the application will not repeat the description.
[0190] The above scheme of the application can realize that, in the case that the gallery application starts first and then performs Bluetooth pairing with the camera device, the gallery application can create the camera album icon after Bluetooth pairing, so that the camera album icon corresponding to the camera device can be displayed in the case that the gallery interface is switched to be displayed on the display screen, thereby facilitating the user to view and / or manage the pictures taken and saved by the camera device on the gallery application.
[0191] However, since the above two schemes are based on Bluetooth connection information or Bluetooth pairing information to create the camera album icon, and do not involve deleting the previously created camera album icon, when the Bluetooth pairing between a certain camera device and the terminal device is cancelled, the camera album icon corresponding to the camera device will still exist and will not be deleted from the gallery application. In order to solve the above defect, the embodiments of the application also provide a gallery display method, in the process of executing onResume(), by comparing the Bluetooth pairing information of the terminal device currently completing Bluetooth pairing with the camera device and the Bluetooth pairing information of the camera device saved by the gallery application, creating, deleting, maintaining unchanged, etc. operations of the camera album icon are performed based on the comparison result.
[0192] The software interaction process between the terminal device 100 and the camera device 200 will be described in detail below in combination with FIG. 7A.
[0193] S71: The terminal device 100 starts the gallery application in response to the operation of clicking the icon of the gallery application.
[0194] The interaction process S71 of the embodiments of the application is similar to the interaction process S41 of the foregoing embodiments, and will not be repeated here to avoid repetition.
[0195] S72: The terminal device 100 displays the gallery interface of the gallery application.
[0196] The interaction process S72 of the embodiments of the application is similar to the interaction process S42 of the foregoing embodiments, and will not be repeated here to avoid repetition.
[0197] Optionally, the terminal device 100 can also start the gallery application in other manners, not limited to the manner of clicking the icon of the gallery application, for example, by other applications started by the terminal device 100.
[0198] S73: The terminal device 100 displays a first Bluetooth pairing interface in response to the pairing click operation.
[0199] The interaction flow S73 of the embodiment of the present application is similar to the interaction flow S43 of the foregoing embodiment, and thus will not be described herein again to avoid repetition.
[0200] S74: The terminal device 100 performs Bluetooth pairing with the camera device 200 corresponding to the camera device identifier displayed in the first Bluetooth pairing interface in response to a click operation on the camera device identifier.
[0201] The interaction flow S74 of the embodiment of the present application is similar to the interaction flow S44 of the foregoing embodiment, and thus will not be described herein again to avoid repetition.
[0202] S75: The gallery application executes onResume() in response to an operation of displaying the gallery interface of the gallery application, and detects the Bluetooth pairing situation between the terminal device 100 and the camera device in the process of executing onResume().
[0203] In some embodiments, the detection of the Bluetooth pairing situation between the terminal device 100 and the camera device by the gallery application can refer to that the gallery application acquires information (hereinafter referred to as first pairing information) of all camera devices currently paired with the terminal device 100 through Bluetooth, and the first pairing information can be saved to the local database of the terminal device by the settings application. For example, the gallery application can detect the Bluetooth pairing situation between the terminal device 100 and the camera device by using an API provided by a Bluetooth communication framework or calling a camera SDK.
[0204] In some embodiments, the terminal device 100 and the camera device 200 can also perform Bluetooth pairing before the gallery application is started. For example, after the terminal device 100 and the camera device 200 complete Bluetooth pairing, the terminal device 100 starts the gallery application in response to an operation of clicking the icon of the gallery application. In the process of starting the gallery application, the gallery application executes onCreate(), onStart() and onResume() to display an interactive gallery interface. In this case, the gallery application can also detect the Bluetooth pairing situation between the terminal device 100 and the camera device 200 in the process of executing onResume().
[0205] Optionally, the gallery application can automatically (e.g., every preset time) detect the Bluetooth pairing situation of the terminal device 100 and the camera device 200, or trigger the detection of the Bluetooth pairing situation of the terminal device 100 and the camera device 200 by other trigger conditions, and S75 is not performed.
[0206] S76: The gallery application compares the saved second pairing information with the first pairing information, and determines the icon creation strategy according to the comparison result.
[0207] In some embodiments, the icon creation strategy can include creating a camera album icon, deleting a camera album icon, and maintaining a camera album icon unchanged (i.e., neither creating nor deleting this time). The gallery application can save the Bluetooth pairing information (i.e., second pairing information) of the camera device corresponding to the camera album icon displayed by the previous execution of onResume() to the local database of the terminal device, and the second pairing information can be updated each time onResume() of the gallery application is executed. During the execution of onResume() of the gallery application, the gallery application can detect the Bluetooth pairing situation (i.e., first pairing information) of the terminal device 100 and the camera device at present, compare it with the second pairing information, and determine the icon creation strategy according to the comparison result.
[0208] As shown in FIG. 7B, the gallery application can determine the icon creation strategy and update the second pairing information through the following process:
[0209] i. Obtain camera pairing information, which can include the device identifier (e.g., camera device name, model, etc.) of each camera device that has completed Bluetooth pairing with the terminal device, for example, the camera pairing information can be corresponding to the device identifier displayed in the “Paired Camera” field in the first Bluetooth pairing interface 104 in the Settings application - More Connections - Camera Pairing.
[0210] ii. Obtain Bluetooth device pairing information, which can include the pairing information of each device (including camera devices and non-camera devices) that has completed Bluetooth pairing with the terminal device, for example, the Bluetooth device pairing information can include the Bluetooth media access control (MAC) address of each device that has completed Bluetooth pairing with the terminal device.
[0211] iii. Based on the camera pairing information and the Bluetooth device pairing information, obtain the Bluetooth pairing information (i.e., first pairing information) of the camera device that has completed Bluetooth pairing with the terminal device at present.
[0212] In some embodiments, the Bluetooth pairing information of the camera device can include the device identifier and the Bluetooth MAC address of the camera device, and the camera pairing information and the Bluetooth device pairing information can be intersected to obtain the Bluetooth pairing information (i.e., the first pairing information) of the camera device that has completed Bluetooth pairing with the terminal device.
[0213] In some embodiments, by intersecting the camera pairing information and the Bluetooth device pairing information, it can be ensured that the Bluetooth pairing information of each camera device obtained includes the device identifier of the camera device and the Bluetooth MAC address of the camera device.
[0214] iv. Obtain the second pairing information saved in the local database by the gallery application.
[0215] In some embodiments, the second pairing information saved in the local database can be updated each time the onResume() of the gallery application is executed, and the second pairing information corresponds to the camera album icons displayed last time. For example, if the number of camera album icons displayed in the gallery interface last time is 2, and the 2 camera album icons correspond to camera device A and camera device B, i.e., the second pairing information includes the Bluetooth pairing information of camera device A and the Bluetooth pairing information of camera device B.
[0216] v. Compare the first pairing information obtained in process iii with the second pairing information obtained in process iv.
[0217] vi. Determine the icon creation strategy based on the comparison result of process v.
[0218] In some embodiments, assuming that the first pairing information obtained in process iii is defined as set 1, and the second pairing information obtained in process iv is defined as set 2, the comparison result can include two cases. Case one: the elements (Bluetooth pairing information) of set 1 and set 2 are the same; case two: there are elements in set 1 that are not in set 2, and / or there are elements in set 2 that are not in set 1.
[0219] The icon creation strategy corresponding to case one can be set as: maintaining the camera album icons unchanged, and neither creating nor deleting the camera album icons this time. The icon creation strategy corresponding to case two can be set as: for the elements (e.g., element A) in set 1 that are not in set 2, creating the camera album icons corresponding to the elements (element A); for the elements (e.g., element B) in set 2 that are not in set 1, deleting the camera album icons corresponding to the elements (element B).
[0220] For example, for element A existing in set 1 but not existing in set 2, a first identifier (e.g., flag bit 0) can be added to element A, facilitating subsequent creation of a camera album icon corresponding to element A based on the first identifier. For element B existing in set 2 but not existing in set 1, a second identifier (e.g., flag bit 1) can be added to element B, facilitating subsequent deletion of a camera album icon corresponding to element B based on the second identifier.
[0221] After determining the icon creation strategy, the gallery application can update the camera album icons displayed on the gallery interface based on the icon creation strategy.
[0222] vii. Based on the comparison result of process v, the second pairing information saved in the local database is updated.
[0223] In some embodiments, to ensure the accuracy of the next set 1 and set 2 comparison, the gallery application can update the second pairing information saved in the local database based on the comparison result of process v. For example, if the comparison result is case one, since this time does not involve the creation or deletion of a camera album icon, there is no need to update the second pairing information saved in the local database. If the comparison result is case two, the element added with the first identifier can be added to the second pairing information saved in the local database, and / or the element added with the second identifier can be deleted from the second pairing information saved in the local database.
[0224] S77: The gallery application updates the camera album icons displayed on the gallery interface based on the icon creation strategy.
[0225] In some embodiments, the gallery application can determine the icon creation strategy once every time onResume() is executed. After determining the icon creation strategy, the gallery application can update the camera album icons displayed on the gallery interface based on the icon creation strategy.
[0226] For example, the gallery application updating the camera album icons displayed on the gallery interface based on the icon creation strategy can include: maintaining the camera album icons displayed on the gallery interface unchanged, i.e., the camera album icons displayed on the gallery interface this time are the same as the camera album icons displayed on the gallery interface last time; the gallery application creating one or more camera album icons (not displayed on the gallery interface last time), and / or deleting one or more camera album icons displayed last time. The created camera album icons correspond one-to-one to the elements added with the first identifier, and the deleted camera album icons correspond one-to-one to the elements added with the second identifier.
[0227] As shown in (a) of FIG. 8A, the terminal device 100 starts the gallery application, and the gallery interface displays a plurality of albums and does not display any camera album icon, indicating that the terminal device 100 has not completed Bluetooth pairing with any camera device. As shown in (b) of FIG. 8A, the interface displayed by the terminal device 100 is switched from the gallery application to the settings application, and the terminal device 100 completes Bluetooth pairing with the first camera device in response to a user operation. As shown in (c) of FIG. 8A, the interface displayed by the terminal device 100 is switched from the settings application to the gallery application, and the gallery interface displays a plurality of albums and the camera album icon 106a corresponding to the first camera device.
[0228] As shown in (a) of FIG. 8B, the terminal device 100 starts the gallery application, and the gallery interface displays a plurality of albums and the camera album icon 106a corresponding to the first camera device, indicating that the terminal device 100 has completed Bluetooth pairing with only the first camera device. As shown in (b) of FIG. 8B, the interface displayed by the terminal device 100 is switched from the gallery application to the settings application, and the terminal device 100 completes Bluetooth pairing with the second camera device in response to a user operation. As shown in (c) of FIG. 8B, the interface displayed by the terminal device 100 is switched from the settings application to the gallery application, and the gallery interface displays a plurality of albums, the camera album icon 106a corresponding to the first camera device, and the camera album icon 106b corresponding to the second camera device.
[0229] As shown in (a) of FIG. 8C, the terminal device 100 starts the gallery application, and the gallery interface displays a plurality of albums and the camera album icon 106a corresponding to the first camera device. As shown in (b) of FIG. 8C, the interface displayed by the terminal device 100 is switched from the gallery application to the settings application, and the “Paired Camera” field in the first Bluetooth pairing interface displays the device identifier of the first camera device. As shown in (c) of FIG. 8C, the terminal device 100 cancels Bluetooth pairing with the first camera device in response to a user operation, and the “Paired Camera” field in the first Bluetooth pairing interface is empty. As shown in (d) of FIG. 8C, the interface displayed by the terminal device 100 is switched from the settings application to the gallery application, and the gallery interface displays a plurality of albums and does not display any camera album icon (i.e., the camera album icon 106a corresponding to the first camera device has been deleted).
[0230] As shown in (a) of FIG. 8D, the terminal device 100 starts the gallery application, and the gallery interface displays a plurality of albums, a camera album icon 106a corresponding to the first camera device, and a camera album icon 106b corresponding to the second camera device. As shown in (b) of FIG. 8D, the interface displayed by the terminal device 100 is switched to the setting application from the gallery application, and the "paired camera" field in the first Bluetooth pairing interface displays the device identifier of the first camera device and the device identifier of the second camera device. As shown in (c) of FIG. 8D, the terminal device 100 cancels the Bluetooth pairing with the first camera device in response to the user operation, and the "paired camera" field in the first Bluetooth pairing interface displays only the device identifier of the second camera device. As shown in (d) of FIG. 8D, the interface displayed by the terminal device 100 is switched to the gallery application from the setting application, and the gallery interface displays a plurality of albums and the camera album icon 106b corresponding to the second camera device (i.e., the camera album icon 106a corresponding to the first camera device has been deleted).
[0231] S78: The terminal device 100 displays the gallery interface of the gallery application, and the gallery interface includes the camera album icon corresponding to the camera device 200.
[0232] The interaction flow S78 of the embodiment of the present application is similar to the interaction flow S47 of the foregoing embodiment, and details are not described herein again to avoid repetition.
[0233] Optionally, the camera album icon corresponding to the camera device 200 can be displayed based on the Bluetooth pairing situation, S76-S77 are not performed, or the camera album icon corresponding to the camera device 200 can be displayed in the gallery interface after being created.
[0234] In some embodiments, the software interaction flow between the terminal device 100 and the camera device 200 can further include S79-S84. S79: In response to the click operation on the camera album icon displayed in the gallery interface, the gallery application is bound with the camera SDK.
[0235] The interaction flow S79 of the embodiment of the present application is similar to the interaction flow S48 of the foregoing embodiment, and details are not described herein again to avoid repetition.
[0236] S80: The camera SDK triggers the Bluetooth module to perform Bluetooth scanning and reconnection, so that the terminal device 100 and the camera device 200 establish a Bluetooth connection.
[0237] The interaction flow S80 of the embodiment of the present application is similar to the interaction flow S49 of the foregoing embodiment, and details are not described herein again to avoid repetition.
[0238] S81: The camera SDK triggers the Wi-Fi module of the terminal device 100 to establish a Wi-Fi connection with the Wi-Fi module of the camera device 200.
[0239] The interaction flow S81 of the embodiment of the present application is similar to the interaction flow S50 of the foregoing embodiment, and details are not described herein again to avoid repetition.
[0240] S82: The camera SDK obtains the IP address of the camera device 200 and returns the IP address of the camera device 200 to the gallery application.
[0241] The interaction flow S82 of the embodiment of the present application is similar to the interaction flow S51 of the foregoing embodiment, and details are not described herein again to avoid repetition.
[0242] S83: The gallery application establishes a Wi-Fi Socket connection with the camera gallery of the camera device 200 based on the address of the camera device 200, so that the gallery application receives pictures sent by the camera gallery through the Wi-Fi Socket.
[0243] The interaction flow S83 of the embodiment of the present application is similar to the interaction flow S52 of the foregoing embodiment, and details are not described herein again to avoid repetition.
[0244] S84: The terminal device 100 displays a photo album interface corresponding to the camera device 200, and the photo album interface displays pictures of the camera gallery of the camera device 200.
[0245] The interaction flow S84 of the embodiment of the present application is similar to the interaction flow S53 of the foregoing embodiment, and details are not described herein again to avoid repetition.
[0246] As shown in (a) of FIG. 9A, the terminal device 100 starts the gallery application, the gallery interface displays a plurality of albums and the camera album icon 106a corresponding to the first camera device, and the display style of the camera album icon 106a is the default style. As shown in (b) of FIG. 9A, after the user clicks the camera album icon 106a, the terminal device 100 triggers the Bluetooth connection and the Wi-Fi connection with the first camera device, and triggers the gallery application of the terminal device 100 to establish the Wi-Fi Socket connection with the camera gallery of the first camera device, the gallery interface jumps to display the album interface corresponding to the first camera device, and the album interface displays a plurality of thumbnails of pictures in the camera gallery. As shown in (c) of FIG. 9A, the album interface returns to the gallery interface, and the display style of the camera album icon 106a is the thumbnail style (changed from the default style to the thumbnail style). As shown in (d) of FIG. 9A, after the terminal device 100 disconnects the Wi-Fi connection with the first camera device (for example, the Wi-Fi icon of the control center is grayed out), the gallery interface displays a plurality of albums and the camera album icon 106a corresponding to the first camera device, and the display style of the camera album icon 106a is the default style (changed from the thumbnail style to the default style).
[0247] In some embodiments, after displaying the interface as shown in (c) of FIG. 9A, if the terminal device 100 disconnects the Bluetooth connection with the first camera device (for example, the Bluetooth icon of the control center is displayed in gray), the gallery interface can display a plurality of albums and the camera album icon 106a corresponding to the first camera device, and the display style of the camera album icon 106a is the thumbnail style.
[0248] As shown in (a) of FIG. 9B, the terminal device 100 starts the gallery application, the gallery interface displays a plurality of albums and the camera album icon 106a corresponding to the first camera device, and the display style of the camera album icon 106a is the default style. As shown in (b) of FIG. 9B, the terminal device 100 does not start the Bluetooth function and the Wi-Fi function, after the user clicks the camera album icon 106a, a function starting prompt box 109 for prompting the user to start the Bluetooth function and the Wi-Fi function is popped up, the function starting prompt box 109 can include a “cancel” control and a “confirm starting” control, in the case that the user clicks the “confirm starting” control, the terminal device 100 starts the Bluetooth function and the Wi-Fi function, and performs Bluetooth connection and Wi-Fi connection with the first camera device. As shown in (c) of FIG. 9B, after the user clicks the “confirm starting” control, the gallery interface can jump to display the album interface corresponding to the first camera device, after the gallery application of the terminal device 100 and the camera gallery of the first camera device establish the Wi-Fi Socket connection, the album interface displays the thumbnails of a plurality of pictures in the camera gallery. As shown in (d) of FIG. 9B, the album interface returns to the gallery interface, and the display style of the camera album icon 106a is the thumbnail style.
[0249] As shown in (a) of FIG. 9C, the terminal device 100 starts the gallery application, the gallery interface displays a plurality of albums and the camera album icon 106a corresponding to the first camera device, and the display style of the camera album icon 106a is the default style. As shown in (b) of FIG. 9C, the terminal device 100 starts the Bluetooth function, but does not start the Wi-Fi function, after the user clicks the camera album icon 106a, a function starting prompt box 109 for prompting the user to start the Wi-Fi function is popped up, in the case that the user clicks the “confirm starting” control, the terminal device 100 starts the Wi-Fi function, and performs Bluetooth connection and Wi-Fi connection with the first camera device. As shown in (c) of FIG. 9C, after the user clicks the “confirm starting” control, the gallery interface can jump to display the album interface corresponding to the first camera device, after the gallery application of the terminal device 100 and the camera gallery of the first camera device establish the Wi-Fi Socket connection, the album interface displays the thumbnails of a plurality of pictures in the camera gallery. As shown in (d) of FIG. 9C, the album interface returns to the gallery interface, and the display style of the camera album icon 106a is the thumbnail style.
[0250] In some embodiments, if the terminal device 100 has enabled the Wi-Fi function but not the Bluetooth function, after the user clicks the camera album icon 106a, a function enabling prompt box 109 is popped up to prompt the user to enable the Bluetooth function. In the case that the user clicks the "confirm enabling" control, the terminal device 100 enables the Bluetooth function and establishes Bluetooth connection and Wi-Fi connection with the first camera device.
[0251] In some embodiments, after the user clicks the camera album icon, the terminal device 100 can pop up the function enabling prompt box 109 to prompt the user to enable the Bluetooth function and / or the Wi-Fi function every time it detects that the Bluetooth function and / or the Wi-Fi function is not enabled. The terminal device 100 can also be configured to pop up the function enabling prompt box 109 to prompt the user to enable the Bluetooth function and / or the Wi-Fi function only the first time it detects that the Bluetooth function and / or the Wi-Fi function is not enabled for the camera album icon of each camera device, and subsequently directly enable the Bluetooth function and / or the Wi-Fi function (i.e., without popping up the function enabling prompt box 109). The terminal device 100 can also be configured to pop up the function enabling prompt box 109 to prompt the user to enable the Bluetooth function and / or the Wi-Fi function only the first time it detects that the Bluetooth function and / or the Wi-Fi function is not enabled after the terminal device 100 is activated for use, and subsequently directly enable the Bluetooth function and / or the Wi-Fi function (i.e., without popping up the function enabling prompt box 109).
[0252] The above embodiments of the present application can enable the gallery application to update the camera album icon based on the detected camera Bluetooth pairing situation and the camera Bluetooth pairing situation saved by the gallery application in the case that the gallery application is started first and then Bluetooth pairing with the camera device, or the gallery application is started after Bluetooth pairing with the camera device, and the gallery interface is switched to be displayed on the display screen, facilitating the user to view and / or manage the pictures taken and saved by the camera device on the gallery application, and the camera album icon displayed on the gallery interface can be updated accordingly as the Bluetooth pairing situation between the terminal device and the camera device changes.
[0253] Referring to FIG. 10, a gallery display method is provided in an embodiment of the present application. The gallery display method can be applied to a terminal device, and the terminal device is installed with a gallery application. The gallery display method can include:
[0254] S101: display a first gallery interface of the gallery application.
[0255] For example, the first gallery interface can be the gallery interface shown in (a) of FIG. 5.
[0256] S102: in response to a first operation, display a Bluetooth pairing interface.
[0257] For example, the first operation is an operation of opening a settings application and entering a Bluetooth pairing interface, the Bluetooth pairing interface can be the first Bluetooth pairing interface shown in (b) of FIG. 5, or the second Bluetooth pairing interface shown in FIG. 3C.
[0258] S103: In response to the second operation, the terminal device performs Bluetooth pairing with the first camera device.
[0259] For example, the second operation is an operation of clicking a device identifier of the first camera device in the first Bluetooth pairing interface or the second Bluetooth pairing interface, so as to trigger the terminal device to perform Bluetooth pairing with the first camera device.
[0260] S104: After the terminal device performs Bluetooth pairing with the first camera device, in response to a third operation, a second gallery interface of the gallery application is displayed, the second gallery interface includes a first camera album icon, the first gallery interface does not include the first camera album icon, and the first camera album icon corresponds to the first camera device.
[0261] For example, the third operation is an operation of switching from displaying the Bluetooth pairing interface to displaying a gallery interface of the gallery application. The terminal device can display the second gallery interface in response to the third operation. The second gallery interface can be the gallery interface shown in (c) of FIG. 5, the second gallery interface includes the first camera album icon corresponding to the first camera device, for example, the first camera album icon is the camera album icon 106 shown in (c) of FIG. 5, and the first gallery interface does not include the first camera album icon (the gallery interface shown in (a) of FIG. 5 does not include the camera album icon 106).
[0262] In some embodiments, the first camera album icon corresponding to the first camera device can mean that the first camera album icon includes a device identifier of the first camera device, so that the user can distinguish the camera device corresponding to the camera album icon based on the device identifier contained in the camera album icon.
[0263] S105: In response to a fourth operation, a third gallery interface of the gallery application is displayed, the third gallery interface includes a second camera album icon corresponding to the first camera device and does not include the first camera album icon.
[0264] For example, the fourth operation can include an operation of clicking the first camera album icon, or in addition to the operation of clicking the first camera album icon, other clicking operations. For example, the terminal device can also display the gallery interface including the second camera album icon in response to the fourth operation, that is, the camera album icon corresponding to the first camera device can include different display styles. For example, the second gallery interface is the gallery interface shown in (a) of FIG. 9A, the first camera album icon is the camera album icon 106a shown in (a) of FIG. 9A, the third gallery interface is the gallery interface shown in (c) of FIG. 9A, and the second camera album icon is the camera album icon 106a shown in (c) of FIG. 9A.
[0265] In some embodiments, the second camera album icon corresponding to the first camera device can mean that the second camera album icon includes the device identifier of the first camera device.
[0266] In some embodiments, the second camera album icon can be the same as or different from the first camera album icon. For example, the case where the second camera album icon is the same as the first camera album icon can be that the second camera album icon and the first camera album icon are both camera album icons displayed after the terminal device and the first camera device complete Bluetooth pairing, Bluetooth connection and Wi-Fi connection. In this case, that is, the Bluetooth connection and the Wi-Fi connection are performed after the Bluetooth pairing, not triggered by clicking the first camera album icon to establish the Bluetooth connection and the Wi-Fi connection between the terminal device and the first camera device. For example, the case where the second camera album icon is different from the first camera album icon can be that the first camera album icon is a default style, and the second camera album icon is a thumbnail style.
[0267] In some embodiments, the album display method can further include displaying the album interface of the first camera device in response to the operation of clicking the second camera album icon.
[0268] In some embodiments, displaying the third gallery interface of the gallery application in response to the fourth operation can include displaying the third gallery interface of the gallery application in response to the operation of clicking the first camera album icon. In this case, after clicking the first camera album icon, the Bluetooth connection and the Wi-Fi connection are triggered, the gallery interface including the second camera album icon is displayed, the display style conversion from the first camera album icon to the second camera album icon is realized, and after clicking the second camera album icon, the album interface of the first camera device is displayed.
[0269] In some embodiments, in response to the fourth operation, displaying the third gallery interface of the gallery application can further include: in response to an operation of clicking the first camera album icon, displaying an album interface of the first camera device; and in response to an operation of returning to a previous interface, displaying the third gallery interface of the gallery application. In this case, after the first camera album icon is clicked, the Wi-Fi connection is triggered, or the Bluetooth connection and the Wi-Fi connection are triggered, and the album interface of the first camera device is displayed, and after the operation of returning to the previous interface is performed in the album interface, the gallery interface including the second camera album icon is displayed. The album interface can include thumbnails of pictures in the camera gallery.
[0270] In some embodiments, the first camera device includes a camera gallery, and after the terminal device establishes the Wi-Fi connection with the first camera device, the album display method further includes: obtaining an IP address of the first camera device, so that the gallery application can establish a Wi-Fi Socket connection with the camera gallery based on the IP address of the first camera device, and then the camera gallery can transmit picture data to the gallery application through the Wi-Fi Socket.
[0271] In some embodiments, the album display method can further include: in response to a fifth operation, disconnecting the Wi-Fi connection between the terminal device and the first camera device; and in response to a sixth operation, displaying a fourth gallery interface of the gallery application, the fourth gallery interface including a third camera album icon corresponding to the first camera device. The second camera album icon is different from the first camera album icon, and the third camera album icon is the same as the first camera album icon. The third camera album icon corresponding to the first camera device can mean that the third camera album icon includes a device identifier of the first camera device. For example, the fifth operation can be to turn off the Wi-Fi of the terminal device to disconnect the Wi-Fi connection between the terminal device and the first camera device, and the eighth operation can be an operation of switching the gallery interface of the gallery application to be displayed in the foreground.
[0272] For example, after the Wi-Fi connection is disconnected, the gallery application and the camera album cannot transmit picture data, and in this case, the third camera album icon cannot be in the thumbnail style, that is, the third camera album icon can be the same as the first camera album icon (for example, both are in the default style).
[0273] In some embodiments, the album display method can further include: in response to a seventh operation, disconnecting the Bluetooth connection between the terminal device and the first camera device; and in response to an eighth operation, displaying a fifth gallery interface of the gallery application, the fifth gallery interface including a fourth camera album icon corresponding to the first camera device. The second camera album icon is different from the first camera album icon, the fourth camera album icon is the same as the first camera album icon, or the second camera album icon is different from the first camera album icon and the fourth camera album icon is the same as the second camera album icon. The fourth camera album icon corresponding to the first camera device can mean that the fourth camera album icon includes the device identifier of the first camera device. For example, the seventh operation can be to turn off the Bluetooth of the terminal device to disconnect the Bluetooth connection between the terminal device and the first camera device, and the eighth operation can be an operation of switching the gallery interface of the gallery application to be displayed in the foreground.
[0274] For example, before the Bluetooth connection is disconnected, if the gallery application and the camera album have not yet performed picture data transmission, in this case, the fourth camera album icon can be the same as the first camera album icon (for example, both are in a default style). For another example, before the Bluetooth connection is disconnected, the gallery application and the camera album have performed picture data transmission, in this case, the fourth camera album icon can be the same as the second camera album icon (for example, both are in a thumbnail style).
[0275] In some embodiments, the album display method can further include: in response to a ninth operation, the terminal device and the second camera device perform Bluetooth pairing; before the Bluetooth pairing between the terminal device and the first camera device is cancelled, the fifth gallery interface includes the fourth camera album icon corresponding to the first camera device and the camera album icon corresponding to the second camera device; after the Bluetooth pairing between the terminal device and the first camera device is cancelled, the fifth gallery interface includes the camera album icon corresponding to the second camera device and does not include the fourth camera album icon corresponding to the first camera device.
[0276] For example, the ninth operation is an operation of clicking the device identifier of the second camera device in the first Bluetooth pairing interface or the second Bluetooth pairing interface to trigger the terminal device and the second camera device to perform Bluetooth pairing. For example, the camera album icon corresponding to the second camera device can be the camera album icon 106b shown in (c) of FIG. 8B.
[0277] In some embodiments, the album display method further comprises: displaying a second gallery interface of the gallery application after the terminal device and the first camera device are Bluetooth paired, and without the terminal device and the first camera device establishing a Bluetooth connection and without the terminal device and the first camera device establishing a Wi-Fi connection; and in response to an operation of clicking the first camera album icon, displaying a Bluetooth and / or Wi-Fi opening prompt box when the terminal device does not have Bluetooth and / or Wi-Fi turned on. That is, when the Bluetooth function and / or the Wi-Fi function of the terminal device is not turned on, if the first camera album icon is clicked, the terminal device can pop up a corresponding function opening prompt box (for example, a Bluetooth opening prompt box, a Wi-Fi opening prompt box, or a Bluetooth and Wi-Fi opening prompt box) to prompt the user to turn on the Bluetooth function and / or the Wi-Fi function, so that the terminal device can establish a Bluetooth connection and a Wi-Fi connection with the first camera device. The terminal device can also be configured to automatically turn on the Bluetooth function and / or the Wi-Fi function when the Bluetooth and / or Wi-Fi is not turned on in response to the operation of clicking the first camera album icon, that is, without prompting by popping up a box.
[0278] In some embodiments, the album display method further comprises: in response to a tenth operation, canceling the Bluetooth pairing between the terminal device and the first camera device; and in response to an eleventh operation, displaying the first gallery interface of the gallery application. That is, when the Bluetooth pairing between the terminal device and the first camera device is canceled, the gallery interface of the gallery application will not display the camera album icon corresponding to the first camera device. For example, the tenth operation can be an operation of canceling the Bluetooth pairing between the terminal device and the first camera device (such as canceling the Bluetooth pairing between the terminal device and the first camera device in the Bluetooth pairing interface), and the eleventh operation can be an operation of switching the gallery interface of the gallery application to be displayed in the foreground.
[0279] In some embodiments, the album display method further comprises: obtaining first pairing information and second pairing information, the first pairing information being pairing information of a camera device that has completed Bluetooth pairing with the terminal device at present, and the second pairing information being pairing information of a camera device corresponding to a camera album icon displayed in a previous gallery interface; updating the camera album icon in the current gallery interface to be displayed based on the first pairing information and the second pairing information; and updating the second pairing information based on the camera album icon in the current gallery interface to be displayed. The second pairing information can be saved by the gallery application, and the first pairing information can be saved by the settings application.
[0280] Optionally, the second pairing information can also be updated based on the comparison result of the first pairing information and the second pairing information. By updating the second pairing information based on the camera album icons in the current gallery interface to be displayed, the pairing information comparison can be performed again, and the pairing information of the camera device currently paired with the terminal device and the pairing information of the camera device corresponding to the camera album icon displayed in the previous gallery interface can still be compared.
[0281] In some embodiments, updating the camera album icons in the current gallery interface to be displayed based on the first pairing information and the second pairing information can include: creating a camera album icon corresponding to the first information if the first information is included in the first pairing information and the first information is not included in the second pairing information; deleting a camera album icon corresponding to the second information if the second information is included in the second pairing information and the second information is not included in the first pairing information; and retaining a camera album icon corresponding to the third information if the third information is included in the first pairing information and the third information is included in the second pairing information. The first information, the second information, and the third information can all be the Bluetooth pairing information of a camera device.
[0282] Referring to FIG. 11, a software architecture diagram of a terminal device provided in an embodiment of the present application is shown. The layered architecture divides the software into several layers, each of which has a clear role and division of labor. The layers communicate with each other through software interfaces. The following describes an example in which the operating system installed in the terminal device is an Android system, but the present application is not limited thereto, and the terminal device can also install other types of operating systems.
[0283] For example, the Android system is divided into four layers, from top to bottom, an application layer 101, a framework layer 102, an Android runtime and system library 103, a kernel layer 104, and a hardware layer 105.
[0284] The application layer can include a series of application packages. For example, the application packages can include camera, gallery, WLAN, Bluetooth, and the like.
[0285] The framework layer provides the application layer with application programming interfaces (APIs) and programming frameworks. The application framework layer includes some pre-defined functions. For example, the application framework layer can include a window manager, a content provider, a view system, a resource manager, an MTP framework, and the like.
[0286] The window manager is used to manage windows programs. The window manager can acquire the display screen size, determine whether there is a status bar, lock the screen, and intercept the screen, etc. The content provider is used to store and acquire data, and make the data accessible to the application program. The data can include video, image, audio, dialed and received phone, browsing history and bookmark, phone book, etc. The view system includes visual controls, such as a control for displaying text, a control for displaying pictures, etc. The view system can be used to build an application program. The display interface can be composed of one or more views. For example, a display interface including a short message notification icon can include a view for displaying text and a view for displaying pictures.
[0287] The Android Runtime includes a core library and a virtual machine. The Android runtime is responsible for scheduling and managing the Android system. The core library contains two parts: one part is the function function that the java language needs to call, and the other part is the core library of Android.
[0288] The application layer and the framework layer run in the virtual machine. The virtual machine executes the java files of the application layer and the framework layer into binary files. The virtual machine is used to perform the management of the object life cycle, the management of the stack, the management of the thread, the management of the security and the exception, and the garbage collection, etc.
[0289] The system library can include a plurality of functional modules. For example, a surface manager, a three-dimensional graphics processing library (such as OpenGL ES), a 2D graphics engine (such as SGL), etc.
[0290] The surface manager is used to manage the display subsystem, and provides the fusion of 2D and 3D layers for a plurality of application programs. The three-dimensional graphics processing library is used to realize three-dimensional graphics drawing, image rendering, synthesis, and layer processing, etc. The 2D graphics engine is a drawing engine for 2D drawing.
[0291] The kernel layer is the layer between hardware and software. The kernel layer at least contains a display driver, a camera driver, etc.
[0292] The kernel layer is the core of the operating system of the terminal device, is the first layer of software expansion based on hardware, provides the most basic functions of the operating system, is the basis of the operating system work, is responsible for managing the processes, memory, device drivers, files and network systems of the system, and determines the performance and stability of the system. For example, the kernel can determine the operation time of an application program on a certain part of hardware.
[0293] The kernel layer includes programs closely related to hardware, such as interrupt handling programs, device drivers, and the like, and also includes basic, common, and frequently running modules, such as clock management modules, process scheduling modules, and the like, and also includes critical data structures. The kernel layer can be disposed in a processor or fixed in an internal memory.
[0294] The hardware layer is hardware of the terminal device, and at least includes a display screen, a Bluetooth chip, a Wi-Fi chip, and the like.
[0295] For example, the image data transmission manner between the camera device 200 and the terminal device 100 can be as follows:
[0296] At the hardware layer 105, the Wi-Fi chip of the terminal device receives the first data (for example, picture data of a camera gallery) sent by the Wi-Fi chip of the camera device 200. The first data can be transmitted to the gallery application at the application layer 101 via the MTP framework at the framework layer 102.
[0297] At the application layer 101, the gallery application can generate second data (for example, instructions for managing the camera gallery) in response to a user operation. The second data can be transmitted to the Wi-Fi chip at the hardware layer 105 via the MTP framework at the framework layer 102, and the second data is sent to the Wi-Fi chip of the camera device 200 by the Wi-Fi chip at the hardware layer 105.
[0298] Referring to FIG. 12, the terminal device 100 related to the embodiments of the present application is introduced as follows. The terminal device in the embodiments of the present application can be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) \ virtual reality (VR) device, and the like, and is a device including a touch screen, and the specific form of the terminal device is not specially limited in the embodiments of the present application. Referring to FIG. 12, FIG. 12 is a structural schematic diagram of the terminal device 100 provided by the embodiments of the present application.
[0299] The terminal device 100 can include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a loudspeaker 170A, a receiver 170B, a microphone 170C, a headset interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, and the like. The sensor module 180 can include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
[0300] It can be understood that the structure shown in the embodiments of the present application does not constitute a specific limitation on the terminal device 100. In other embodiments of the present application, the terminal device 100 can include more or fewer components than shown, or combine certain components, or split certain components, or different component arrangements. The components shown can be implemented in hardware, software, or a combination of software and hardware.
[0301] The processor 110 can include one or more processing units, for example: the processor 110 can include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), and the like. Different processing units can be independent devices, or can be integrated into one or more processors.
[0302] The controller can generate operation control signals according to instruction operation codes and timing signals, and complete the control of fetching instructions and executing instructions.
[0303] The processor 110 can also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory can hold instructions or data that the processor 110 has just used or is reusing. If the processor 110 needs to use the instructions or data again, it can be called directly from the memory. This avoids repeated access and reduces the latency of the processor 110, thus improving the efficiency of the system.
[0304] In some embodiments, the processor 110 can include one or more interfaces. The interfaces can include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0305] The wireless communication function of the terminal device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor, etc.
[0306] The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the terminal device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In some other embodiments, the antennas can be used in combination with tuning switches.
[0307] The mobile communication module 150 can provide a solution including 2G / 3G / 4G / 5G wireless communication applied to the terminal device 100. The mobile communication module 150 can include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform filtering, amplification, etc. on the received electromagnetic waves, and transfer the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can also amplify the signals modulated by the modem processor, and radiate the amplified signals as electromagnetic waves through the antenna 1. In some embodiments, at least part of the functional modules of the mobile communication module 150 can be disposed in the processor 110. In some embodiments, at least part of the functional modules of the mobile communication module 150 can be disposed in the same device as at least part of the modules of the processor 110.
[0308] The modem processor can include a modulator and a demodulator. The modulator is configured to modulate a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is configured to demodulate a received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. The low-frequency baseband signal processed by the baseband processor is transmitted to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the microphone 170B, etc.), or displays an image or a video through the display screen 194. In some embodiments, the modem processor can be a separate device. In other embodiments, the modem processor can be independent of the processor 110, and disposed in the same device as the mobile communication module 150 or other functional modules.
[0309] The wireless communication module 160 can provide a solution for wireless communication including wireless local area networks (WLAN) (e.g., wireless fidelity (Wi-Fi) network), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) technology, etc. applied to the terminal device 100. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency-modulates and filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 can also receive signals to be transmitted from the processor 110, frequency-modulate them, amplify them, and radiate them as electromagnetic waves via the antenna 2.
[0310] In some embodiments, the antenna 1 and the mobile communication module 150 of the terminal device 100 are coupled, and the antenna 2 and the wireless communication module 160 are coupled, so that the terminal device 100 can communicate with a network and other devices through wireless communication technology. The wireless communication technology can include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The GNSS can include global positioning system (GPS), global navigation satellite system (GLONASS), beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS), and / or satellite based augmentation systems (SBAS).
[0311] The terminal device 100 implements a display function through a GPU, a display screen 194, and an application processor, etc. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 can include one or more GPUs that execute program instructions to generate or change display information.
[0312] The display screen 194 is configured to display images, videos, and the like. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Miniled, a MicroLed, a Micro-oled, a quantum dot light emitting diodes (QLED), or the like. In some embodiments, the terminal device 100 can include one or N display screens 194, where N is a positive integer greater than 1. In some embodiments, the display screen 194 can be a touch screen, i.e., the display screen 194 includes a touch sensor 180K.
[0313] The terminal device 100 can implement the photographing function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, and the application processor.
[0314] The video codec is configured to compress or decompress digital videos. The terminal device 100 can support one or more video codecs. In this way, the terminal device 100 can play or record videos in multiple encoding formats, such as moving picture experts group (MPEG) 1, MPEG 2, MPEG 3, MPEG 4, and the like.
[0315] The internal memory 121 can include one or more random access memories (RAMs) and one or more non-volatile memories (NVMs).
[0316] The random access memory can include static random-access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM, such as the fifth generation of DDR SDRAM commonly referred to as DDR5 SDRAM), and the like.
[0317] The non-volatile memory can include a magnetic disk storage device, flash memory.
[0318] The flash memory can include NOR FLASH, NAND FLASH, 3D NAND FLASH, and the like according to the operating principle, single-level cell (SLC), multi-level cell (MLC), triple-level cell (TLC), quad-level cell (QLC), and the like according to the storage unit potential order, and universal flash storage (UFS), embedded multi media Card (eMMC), and the like according to the storage specification.
[0319] The random access memory can be directly read and written by the processor 110, and can be used to store executable programs (such as machine instructions) of an operating system or other programs running, and can also be used to store data of users and application programs, and the like.
[0320] The non-volatile memory can also store executable programs and store data of users and application programs, and the like, which can be loaded in advance into the random access memory for direct reading and writing by the processor 110.
[0321] The external memory interface 120 can be used to connect an external non-volatile memory to realize the expansion of the storage capacity of the terminal device 100. The external non-volatile memory communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, music, video, and the like are saved in the external non-volatile memory.
[0322] The terminal device 100 can realize audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headset interface 170D, and an application processor, etc. For example, media data playing, recording, etc.
[0323] The album display method in the above embodiments can be realized in the terminal device 100 with the hardware structure described above.
[0324] The embodiment also provides a computer readable storage medium, which stores computer instructions, and when the computer instructions are run on the terminal device 100, the terminal device 100 executes the related method steps described above to realize the album display method in the above embodiments.
[0325] The embodiment also provides a computer program product, which, when run on a computer, makes the computer execute the related steps described above to realize the album display method in the above embodiments.
[0326] In addition, the embodiment of the present application also provides a device, which can be a chip, a component or a module, and the device can include a processor and a memory connected to each other; the memory is used to store computer execution instructions, and when the device is running, the processor can execute the computer execution instructions stored in the memory to make the chip execute the album display method in the above method embodiments.
[0327] Through the description of the above embodiments, those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above functional modules is taken as an example for illustration, and in actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
[0328] In the several embodiments provided in the present application, it should be understood that the disclosed device and method can be implemented by other ways. For example, the device embodiments described above are only schematic, and the division of the modules or units is only a logical function division, and there can be another division way in actual implementation, for example, a plurality of units or components can be combined or integrated into another device, or some features can be ignored or not executed. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection between each other can be indirect coupling or communication connection through some interfaces, devices or units, and can be electrical, mechanical or other forms.
[0329] The units described as separate components may or may not be physically separate, and the components displayed as units may be a physical unit or multiple physical units, that is, may be located in one place, or also can be distributed to multiple different places. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment scheme.
[0330] In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or each unit can be physically present alone, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.
[0331] The integrated unit, if realized in the form of a software functional unit and sold or used as an independent product, can be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application essentially or the part that contributes to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product. The software product is stored in a storage medium, including a plurality of instructions for causing an apparatus (which can be a single-chip microcomputer, a chip, etc.) or a processor to execute all or part of the steps of the method of each embodiment of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various program code storage media.
[0332] The above embodiments are only used to illustrate the technical solutions of the present application, and not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for part of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A photo album display method applied to a terminal device, characterized by, The method comprises: displaying a first gallery interface of a gallery application; in response to a first operation, displaying a Bluetooth pairing interface; in response to a second operation, the terminal device and a first camera device are paired via Bluetooth; after the terminal device and the first camera device are paired via Bluetooth, in response to a third operation, a second gallery interface of the gallery application is displayed, the second gallery interface comprises a first camera album icon, the first gallery interface does not comprise the first camera album icon, and the first camera album icon corresponds to the first camera device; in response to a fourth operation, a third gallery interface of the gallery application is displayed, the third gallery interface comprises a second camera album icon and does not comprise the first camera album icon, and the second camera album icon corresponds to the first camera device.
2. The album display method of claim 1, wherein, Further comprising: in response to an operation of clicking the second camera album icon, a photo album interface of the first camera device is displayed.
3. The album display method according to claim 1 or 2, wherein The operation of displaying the third gallery interface of the gallery application in response to the fourth operation comprises: in response to an operation of clicking the first camera album icon, the third gallery interface of the gallery application is displayed.
4. The album display method according to claim 1 or 2, wherein The operation of displaying the third gallery interface of the gallery application in response to the fourth operation comprises: in response to an operation of clicking the first camera album icon, a photo album interface of the first camera device is displayed; in response to an operation of returning to a previous interface, the third gallery interface of the gallery application is displayed.
5. The album display method of claim 2, wherein, The method further comprises: in response to an operation of clicking the first camera album icon, the terminal device and the first camera device are connected via wireless fidelity (Wi-Fi).
6. The album display method of claim 5, wherein, The first camera device comprises a camera gallery, and after the terminal device and the first camera device are connected via Wi-Fi, the method further comprises: an Internet Protocol (IP) address of the first camera device is acquired, and the gallery application establishes a Wi-Fi socket connection with the camera gallery based on the IP address of the first camera device, the photo album interface comprises thumbnails of pictures in the camera gallery, and the camera gallery sends the thumbnails to the gallery application based on the Wi-Fi socket.
7. The album display method of claim 5, wherein, The method further comprises: in response to a fifth operation, the Wi-Fi connection between the terminal device and the first camera device is disconnected; in response to a sixth operation, a fourth gallery interface of the gallery application is displayed, the fourth gallery interface comprises a third camera album icon corresponding to the first camera device, the second camera album icon is different from the first camera album icon, and the third camera album icon is the same as the first camera album icon.
8. The album display method of claim 1, wherein, The method further comprises: in response to a seventh operation, the Bluetooth connection between the terminal device and the first camera device is disconnected; in response to an eighth operation, a fifth gallery interface of the gallery application is displayed, the fifth gallery interface comprises a fourth camera album icon corresponding to the first camera device, the second camera album icon is different from the first camera album icon, the fourth camera album icon is the same as the first camera album icon, or The second camera album icon is different from the first camera album icon, and the fourth camera album icon is the same as the second camera album icon.
9. The album display method of claim 8, wherein, The method further comprises: In response to a ninth operation, the terminal device performs Bluetooth pairing with a second camera device; Before canceling the Bluetooth pairing between the terminal device and the first camera device, the fifth gallery interface includes a fourth camera album icon corresponding to the first camera device and a camera album icon corresponding to the second camera device; After canceling the Bluetooth pairing between the terminal device and the first camera device, the fifth gallery interface includes the camera album icon corresponding to the second camera device and does not include the fourth camera album icon corresponding to the first camera device.
10. The album display method of claim 1, wherein, The method further comprises: After the terminal device and the first camera device are paired via Bluetooth, and the terminal device and the first camera device do not establish a Bluetooth connection and do not establish a Wi-Fi connection, a second gallery interface of the gallery application is displayed, and the second gallery interface includes the first camera album icon; In response to an operation of clicking the first camera album icon, a Bluetooth and / or Wi-Fi start prompt box is displayed when the terminal device does not start Bluetooth and / or Wi-Fi.
11. The album display method according to any one of claims 1 to 10, wherein The method further comprises: In response to a tenth operation, the Bluetooth pairing between the terminal device and the first camera device is canceled; In response to an eleventh operation, a first gallery interface of the gallery application is displayed.
12. The album display method according to any one of claims 1 to 11, wherein The method further comprises: Obtaining first pairing information and second pairing information, the first pairing information being pairing information of a camera device that has completed Bluetooth pairing with the terminal device, and the second pairing information being pairing information of a camera device corresponding to a camera album icon displayed in a previous gallery interface; Based on the first pairing information and the second pairing information, updating a camera album icon in a gallery interface to be currently displayed; Based on the camera album icon in the gallery interface to be currently displayed, updating the second pairing information, the second pairing information being saved by the gallery application, and the first pairing information being saved by a settings application. The updating of the camera album icon in the gallery interface to be currently displayed based on the first pairing information and the second pairing information comprises:
13. The album display method of claim 12, wherein, If the first information is included in the first pairing information and the first information is not included in the second pairing information, creating a camera album icon corresponding to the first information; If the second information is included in the second pairing information and the second information is not included in the first pairing information, deleting a camera album icon corresponding to the second information; If the third information is included in the first pairing information and the third information is included in the second pairing information, retaining a camera album icon corresponding to the third information. The terminal device comprises a display screen, a memory, and a processor; 14. A terminal device, comprising: The display screen, the memory, and the processor are coupled; The memory is configured to store program instructions. The processor is configured to read the program instructions stored in the memory to implement the photo album display method according to any one of claims 1 to 13.
15. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer readable instructions, and the computer readable instructions are executed by the processor to implement the photo album display method according to any one of claims 1 to 13.
Citation Information
Patent Citations
A method of accessing data across devices and a first electronic device
CN109388620A
Data sharing method, electronic equipment and system
CN114329020A
Device recognition method and related apparatus
WO2022028537A1