Digital photo frame picture display method based on local area network and related equipment

By establishing a local area network between the electronic photo frame and the user's mobile terminal, and dynamically managing electronic photo frame equipment, the problems of cumbersome connection methods and complex equipment management in the prior art are solved, and flexible equipment addition and picture display are achieved.

CN119603092APending Publication Date: 2025-03-11SHENZHEN CHUANGWEI ELECTRONICS APPLIANCE TECH
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411753309.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-02
Publication Date
2025-03-11

AI Technical Summary

Technical Problem

The remote control operation and connection methods of existing electronic photo frames are complicated, making it difficult for users to increase or decrease photo frame equipment at any time, especially when synchronizing content between multiple devices.

Method used

Using the local area network-based electronic photo frame picture display method, through the establishment of Socket communication server and client, a device list is dynamically generated and sent to the user's mobile terminal to realize centralized management and control of the electronic photo frame client.

Benefits of technology

Users do not need to manually configure, and the terminal can automatically identify and manage electronic photo frame devices, realizing dynamic additions and image display of the devices, improving operation ease and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119603092A_ABST
    Figure CN119603092A_ABST
Patent Text Reader

Abstract

The invention discloses an electronic photo frame picture display method based on a local area network. The method comprises the following steps: detecting whether the electronic photo frame is configured as a Socket communication server or not when executing a startup command; when the Socket communication server is configured as a Socket communication server, receiving a connection request of a Socket communication client and a user mobile terminal, and establishing communication with the client and the user mobile terminal; photo frame identification information sent by the client is received, and an equipment list of the client is generated according to the photo frame identification information; sending the equipment list to the user mobile terminal; and receiving a picture display request of the user mobile terminal, and determining a target client according to the picture display request to display the user picture. The invention further discloses electronic equipment and a storage medium. According to the invention, networking of a plurality of digital photo frames in a local area network can be carried out locally, a user can use a mobile phone terminal to display pictures in the local area network, photo frame equipment can be flexibly increased or decreased without complex registration and login, and different contents can be conveniently displayed in different photo frames.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of intelligent electronic photo frame data interaction, and in particular to an electronic photo frame picture display method based on a local area network, an electronic device and a non-transient computer-readable storage medium. Background Art

[0002] With the rapid development of smart homes, smart electronic photo frames have become an important device for displaying photos and video content in modern families. To display electronic pictures using an electronic photo frame, you only need to transfer the electronic pictures to the electronic photo frame and then open it, and the electronic pictures can be displayed on the display interface of the electronic photo frame.

[0003] At present, the operation modes of electronic photo frames include remote control operation and touch screen operation; wherein, remote control operation refers to sending operation instructions to the electronic photo frame through any one of Bluetooth communication technology, infrared communication technology, near field communication technology and network communication technology to realize the operation method of controlling the electronic photo frame; touch screen operation refers to the operation method of controlling the electronic photo frame directly through touch screen operations such as clicking and sliding on the display screen of the electronic photo frame.

[0004] However, the existing connection method for remote control operation of electronic photo frames is relatively cumbersome. Users need to manually configure the network connection for each device, and there is a lack of a flexible mechanism for adding or reducing devices between multiple devices. In particular, the operation is complicated when synchronizing content between multiple devices, and it is difficult to meet the needs of users to add or reduce photo frame devices at any time. Summary of the invention

[0005] The main purpose of the present invention is to provide a method for displaying pictures in an electronic photo frame based on a local area network, an electronic device and a non-transitory computer-readable storage medium, aiming to solve the problem that it is difficult for users to change the number of electronic photo frames used to display pictures at any time.

[0006] To achieve the above object, the present invention proposes a method for displaying pictures in an electronic photo frame based on a local area network, and the method for displaying pictures in an electronic photo frame based on a local area network comprises:

[0007] When executing the boot command, check whether it is configured as a Socket communication server;

[0008] When configured as a Socket communication server, it receives connection requests from a Socket communication client and a user mobile terminal, and establishes communication with the client and the user mobile terminal;

[0009] receiving the photo frame identification information sent by the client and generating a device list of the client according to the photo frame identification information;

[0010] Sending the device list to the user mobile terminal;

[0011] A picture display request from the user's mobile terminal is received, and a target client is determined according to the picture display request to display the user's picture.

[0012] Preferably, before the detecting whether the server is configured as a Socket communication server when executing the startup command, the following steps are included:

[0013] According to the detection result that the wireless network is configured as an access hotspot, the device configures itself as a server;

[0014] Other electronic photo frames configured to access the access hotspot are configured as clients, and the clients are configured to automatically access the server through the socket service.

[0015] Preferably, receiving a connection request from a Socket communication client and a user mobile terminal, and establishing communication with the client and the user mobile terminal comprises:

[0016] When the photo frame application software of the user's mobile terminal is started, it automatically connects to the server through the access hotspot;

[0017] Send a data packet containing user identity information to the server.

[0018] The receiving the photo frame identification information sent by the client and generating a device list of the client according to the photo frame identification information includes:

[0019] Receiving photo frame identification information and decrypting the photo frame identification information;

[0020] Determine the client device type and device ID according to the photo frame identification information, and generate association information between the client device type and the client device ID;

[0021] generating an identification list of the client based on the association information;

[0022] The photo frame identification information includes the client electronic photo frame identification, the SN address of the electronic photo frame and the MAC address of the electronic photo frame.

[0023] Preferably, before executing sending the device list to the user mobile terminal, the method includes:

[0024] Receive a connection request from the user's mobile terminal and establish communication through a socket service;

[0025] Receiving encrypted control data sent by the user mobile terminal, decrypting the control data, and determining the device type of the user mobile terminal;

[0026] Based on the device type of the user mobile terminal, the device list is sent to the user mobile terminal.

[0027] Preferably, the receiving the picture display request from the user mobile terminal and determining the target client according to the picture display request to display the user picture includes:

[0028] Receiving a global configuration instruction sent by the user mobile terminal;

[0029] According to the client tag information in the global configuration instruction, the client identifier presented on the user mobile terminal interface is configured to be the same as the client.

[0030] Preferably, configuring the client identifier presented on the user mobile terminal interface to be the same as the client according to the client tag information in the global configuration instruction comprises:

[0031] Sending the color configuration instruction in the global configuration instruction to the corresponding client and generating a color identification of the client;

[0032] The color identification of the client is sent to the user mobile terminal, and the client color identification of the user mobile terminal interface is configured to be the same as that of the client.

[0033] Preferably, the receiving a picture display request from the user mobile terminal and determining a target client according to the picture display request to display the user picture comprises:

[0034] Receiving a data packet sent by the user mobile terminal; the data packet contains an encrypted picture;

[0035] The data packet is identified and forwarded to a corresponding photo frame so that the photo frame can decrypt and display the picture.

[0036] The present invention also provides an electronic device, comprising:

[0037] a memory for storing program instructions; and

[0038] A processor is used to execute the program instructions to implement any of the methods described above.

[0039] The present invention also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, wherein the computer instructions are used to enable a computer to execute any of the above methods.

[0040] Any electronic photo frame in the technical solution of the present invention can be selected by the user as the server of the local area network. The user does not need to rely on a fixed device as the server, which can adapt to different usage scenarios and network environments. The server can generate a device list containing the information of each electronic photo frame client in the local area network, and send the device list to the user's mobile terminal connected to the local area network. The user does not need to perform manual configuration on the mobile terminal. The terminal can automatically identify and analyze the information of each electronic photo frame client in the device list and display it to the user for viewing, thereby realizing centralized management and control of the electronic photo frame client, and the user does not need to perform cumbersome settings on the terminal. The present invention establishes a local area network between the electronic photo frame and the user's mobile terminal, so that the electronic photo frame and the user's mobile terminal can be interconnected, and the dynamic increase and decrease of electronic photo frame devices in the local area network can be realized, and pictures can be displayed through the electronic photo frame. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 This is an application environment diagram of the electronic photo frame picture display method based on a local area network of the present invention;

[0042] Figure 2 It is a flow chart of the method for displaying pictures in an electronic photo frame based on a local area network of the present invention;

[0043] Figure 3 A schematic flow chart of the electronic photo frame configured as a server in the electronic photo frame picture display method based on a local area network of the present invention;

[0044] Figure 4 A schematic diagram of a process of establishing communication with a server of the electronic photo frame picture display method based on a local area network of the present invention;

[0045] Figure 5 It is a schematic diagram of the process of generating a device list of the electronic photo frame picture display method based on a local area network of the present invention;

[0046] Figure 6 It is a flow chart of sending a device list of the electronic photo frame picture display method based on a local area network of the present invention;

[0047] Figure 7 It is a schematic diagram of the global configuration process of the electronic photo frame picture display method based on a local area network of the present invention;

[0048] Figure 8 It is a schematic diagram of the color configuration process of the electronic photo frame picture display method based on the local area network of the present invention;

[0049] Fig. 9 It is a schematic diagram of the process of processing encrypted data packets in the electronic photo frame picture display method based on a local area network of the present invention;

[0050] Fig.10 The figure is a schematic structural diagram of an electronic device of the present invention. DETAILED DESCRIPTION

[0051] The scheme in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is only a part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0052] It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0053] It should also be noted that when an element is referred to as being "fixed on" or "disposed on" another element, it may be directly on the other element or there may be an intermediate element at the same time. When an element is referred to as being "connected to" another element, it may be directly connected to the other element or there may be an intermediate element at the same time.

[0054] In addition, the descriptions of "first", "second", etc. in the present invention are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

[0055] Figure 1 This is an application environment diagram of a local area network-based electronic photo frame picture display method provided in one embodiment of the present application. Figure 1 As shown, in the application environment, an electronic photo frame server 10 , an electronic photo frame client 20 and a user mobile terminal 30 are included.

[0056] In this embodiment, the user selects any electronic photo frame as the server 10 and sets a local area network hotspot on the server 10. Other electronic photo frames are respectively connected to the electronic photo frame server 10 as clients 20. The user mobile terminal 30 can be a smart phone, a tablet computer, a laptop computer, a smart watch, etc., but is not limited thereto. The terminal 30 can be connected to the electronic photo frame server 10 through a network and join the local area network of the server 10, thereby controlling the picture display of each electronic photo frame client 20.

[0057] Reference Figure 2 As shown, in one embodiment, a method for displaying pictures in an electronic photo frame based on a local area network is proposed, which specifically includes the following steps.

[0058] Step S102, when executing the boot command, detecting whether the device is configured as a Socket communication server.

[0059] The middle photo part of the electronic photo frame is an LCD screen, which is also equipped with power supply, communication module, storage medium and other components, and can directly display digital photos. Electronic photo frames are usually equipped with a certain capacity of local storage space or support cloud storage services to display photos. The server receives and sends communication requests between the user's mobile terminal and the electronic photo frame client, and serves as a bridge for information transmission. The electronic photo frame client is a picture display device. After connecting to the local area network, it can display pictures according to the user's selection of an electronic photo frame client. After the electronic photo frame is turned on, a startup wizard is provided to guide the user to choose to be a server or client. During the next startup process, it automatically detects whether it is configured as a Socket communication server. The electronic photo frame provides different operations based on the user's selection to prompt the user to proceed to the next step.

[0060] Step S104, when configured as a Socket communication server, receiving connection requests from a Socket communication client and a user mobile terminal, and establishing communication with the client and the user mobile terminal.

[0061] The electronic photo frame device configured as the server receives the connection request sent by the electronic photo frame client device, and continuously monitors the data of the electronic photo frame client, and dynamically adjusts the number of clients connected to the server in real time. The server receives the connection request from the user's mobile terminal (such as a smart phone) and establishes communication. Ensure the stability of data exchange. The communication between the electronic photo frame and the user's mobile terminal can be carried out through the TCP / IP protocol. The communication between the electronic photo frame and the user's mobile terminal in the local area network is based on the socket service.

[0062] Step S106: receiving the photo frame identification information sent by the client and generating a device list of the client according to the photo frame identification information.

[0063] After the client device successfully connects to the server, it will send the photo frame identification information, and the server will receive the photo frame identification information sent by the connected client. The photo frame identification information may include the device name of the client (such as "electronic photo frame"), unique identifier (such as MAC address or device ID) and current device status, etc. After receiving the photo frame identification information, the server records the device information of each client and dynamically generates a device list containing all connected clients in the local area network based on the received photo frame identification information.

[0064] Step S108: sending the device list to the user's mobile terminal.

[0065] After the server generates the device list, it sends it to the connected user mobile terminal (including the control APP). The device list contains the device IDs and basic information of all electronic photo frame clients in the current local area network. Users can view and select the target electronic photo frame client for operation through the APP.

[0066] Step S110, receiving a picture display request from a user's mobile terminal, and determining a target client according to the picture display request to display the user's picture.

[0067] The user selects the target electronic photo frame client through the control APP in the mobile terminal and sends a picture display request to the server. The request contains the target electronic photo frame client ID and relevant information about the picture content to be displayed. After receiving the request, the server parses the target client device ID in the request and transmits the corresponding picture data to the target electronic photo frame client. After the target electronic photo frame client receives the picture data transmitted by the server, it immediately displays the picture content on the device screen to complete the user's picture display operation. Among them, the electronic photo frame server can also be selected as the object of picture display.

[0068] In this embodiment, the user does not need to pre-configure the server role for a certain photo frame. Any device can be selected as the server when the network is initialized, which reduces the complexity of device configuration. The server manages the client connection and data transmission uniformly, ensuring the stability and synchronization of communication between devices. The server dynamically generates a device list based on the photo frame identification information sent by the client, and synchronizes it with the control APP in the user's mobile terminal. The user can intuitively manage and select the target electronic photo frame client. The user can centrally control multiple electronic photo frame clients through the control APP, without having to operate each electronic photo frame client separately, which significantly improves the user experience. For example, in a home scenario, the user has multiple electronic photo frames and a smart phone. When the user starts an electronic photo frame and configures it as a server, other electronic photo frames connect to the server as clients and join the local area network. The mobile phone also connects to the server and starts the control APP. The user can see the device list of all electronic photo frame clients on the APP, select a specific device, and send a picture display request. The selected electronic photo frame client displays the picture immediately after receiving it, and other photo frames keep updating synchronously or display independently.

[0069] Reference Figure 3 As shown, before detecting whether the computer is configured as a Socket communication server when executing the startup command, the following steps are included:

[0070] Step S202: According to the detection result that the wireless network is configured as an access hotspot, the device configures itself as a server.

[0071] When the electronic photo frame is started for the first time or the network configuration is reset, it will determine whether to start the socket service and act as a server based on its own network status (Wi-Fi configuration). If the network status of the electronic photo frame is AP (access hotspot) mode, the electronic photo frame starts the socket service and automatically sets itself as a server, responsible for processing connection requests from other devices in the local area network.

[0072] Step S204: other electronic photo frames configured to access the access hotspot are configured as clients, and the clients are configured to automatically access the server through the socket service.

[0073] If the electronic photo frame is connected to the access hotspot of the electronic photo frame on the server side, the electronic photo frame is configured as a client and is connected to the server side through the Socket service.

[0074] In this embodiment, at least one electronic photo frame is configured as a server; the server receives the photo frame identification information sent by at least one client. At least one server and client are required in the local area network. When a new electronic photo frame is added, it only needs to be determined as a client, or the user mobile terminal only needs to connect to the corresponding WiFi hotspot to automatically join the local area network. Similarly, when a new user mobile terminal needs to join the local area network, it only needs to connect the new user mobile terminal to the corresponding local area network hotspot to join the local area network.

[0075] Reference Figure 4 As shown, in one embodiment, receiving a connection request between a Socket communication client and a user mobile terminal, and establishing communication with the client and the user mobile terminal includes:

[0076] Step S302, when the photo frame application software of the user's mobile terminal is started, it automatically connects to the server by accessing the hotspot.

[0077] When the user's mobile terminal is connected to the corresponding hotspot and the photo frame application software (control APP) configured with the photo frame is started, the control APP will also actively connect to the server in the local area network.

[0078] Step S304: Send a data packet containing user identity information to the server.

[0079] After the user's mobile terminal is successfully connected, it will send a data packet to the server to tell the server that it is the control APP.

[0080] In this embodiment, the control APP automatically generates a data packet containing user identity information while initiating a connection request. The data packet includes the user device type (such as "mobile terminal"), user ID (such as mobile phone number or device identification) and verification token, etc. The data packet is sent to the server through the socket service. After receiving the data packet, the server decrypts and verifies the user identity information. After the verification is passed, the server formally establishes a communication channel with the user's mobile terminal to provide support for subsequent operations. Exemplarily, the user's smartphone accesses the server access hotspot, the user starts the control APP, the APP automatically scans the local area network, finds the server, and the APP sends a connection request to the server through the socket service, and at the same time sends a data packet containing user identity information (such as: user type "mobile terminal", user ID "U12345", verification token "abcde12345"). Through the transmission and verification of the data packet of user identity information, it is ensured that the server only establishes communication with authorized mobile terminals, thereby improving the security of the system. The server can simultaneously process connection requests from multiple clients and mobile terminals, providing users with the ability to centrally manage devices in the local area network.

[0081] Reference Figure 5 As shown, in one embodiment, receiving the photo frame identification information sent by the client and generating a device list of the client according to the photo frame identification information includes:

[0082] S402: Receive photo frame identification information and decrypt the photo frame identification information.

[0083] The electronic photo frame client will send a locally encrypted photo frame identification information to the electronic photo frame server. After receiving the photo frame identification information, the electronic photo frame server will first decrypt it. The encryption algorithm uses a private symmetric encryption algorithm, uses the hotspot password set by the user as the original encryption key, and processes the password into the actual encryption key using the same algorithm on the server and client. The key is used for data processing during encryption and decryption.

[0084] S404: Determine the client device type and device ID according to the photo frame identification information, and generate association information between the client device type and the client device ID.

[0085] After decryption, the electronic photo frame server can obtain the complete electronic photo frame client information, including the client identifier, SN address and MAC address, so as to determine the client device type and device ID. Based on the device type and device ID determined by the server, the server generates an associated information record of the client device. The associated information record includes: the type of client device (such as "electronic photo frame"); device ID (such as SN address, MAC address); and other possible extended information (such as device name).

[0086] S406: Generate an identification list of the client based on the associated information.

[0087] The server integrates the generated association information into a client identification list. The client identification list contains the type, device ID and associated information of all connected client devices in the current local area network. Exemplarily, the structure of the identification list is as follows:

[0088]

[0089] In this embodiment, the transmission and decryption process of the photo frame identification information adopts a private encryption algorithm to ensure data security and prevent the photo frame identification information from being intercepted or tampered with. By generating the association between the device type and the device ID, the server can quickly and accurately identify all client devices in the local area network. The identification list can be dynamically updated to adapt to the access and disconnection operations of the device, ensuring the real-time and accuracy of device management. The identification list can be further expanded to facilitate the addition of more device information or attributes to support complex multi-device management scenarios.

[0090] Reference Figure 6 In one embodiment, before executing sending the device list to the user mobile terminal, the method includes:

[0091] Step S502: receiving a connection request from a user's mobile terminal and establishing communication through a socket service.

[0092] The user's mobile terminal (such as a smart phone) accesses the LAN hotspot created by the electronic photo frame server; the user starts the control APP in the mobile terminal, and the APP automatically sends a connection request to the electronic photo frame server through the socket service. After the electronic photo frame server monitors the connection request from the user's mobile terminal, it establishes a communication channel to ensure real-time interaction between the user's mobile terminal and the electronic photo frame server.

[0093] Step S504: receiving the encrypted control data sent by the user's mobile terminal, decrypting the control data, and determining the device type of the user's mobile terminal.

[0094] After the user's mobile terminal successfully establishes communication, the user's mobile terminal sends a data packet containing encrypted control data to the electronic photo frame server through the control APP in the terminal; the electronic photo frame server receives the encrypted control data and decrypts it through a preset decryption algorithm or key; the decrypted control data contains the device type information of the user's mobile terminal (for example, "control terminal"). The electronic photo frame server extracts the device type information of the user's mobile terminal based on the decryption result; if the device type information is "control terminal" (i.e., control APP), the electronic photo frame server determines that the terminal has the authority to manage and operate the electronic photo frame device in the local area network.

[0095] Step S506: Based on the device type of the user's mobile terminal, the device list is sent to the user's mobile terminal.

[0096] The electronic photo frame server selects to transmit a device list to the user's mobile terminal according to the device type of the user's mobile terminal. The device list contains the frame identification information of all electronic photo frame clients connected to the server, such as device type, device ID (SN address or MAC address) and its associated information; the server packages the device list and sends it to the user's mobile terminal through Socket communication, and controls the APP to parse and display the device list for the user to select and operate.

[0097] In this embodiment, the electronic photo frame server and the user's mobile terminal establish a reliable communication channel through the socket service to ensure the real-time and stability of information transmission between the two. Control data is transmitted and decrypted through encryption to prevent unauthorized terminals from accessing and operating LAN devices. The device list is presented in the form of a human-computer interactive interface, which is convenient for users to view and select target devices for operation, thereby improving ease of use.

[0098] Reference Figure 7 As shown, in one embodiment, receiving a picture display request from a user mobile terminal, and determining a target client according to the picture display request to display the user picture, includes:

[0099] Step S602: receiving a global configuration instruction sent by a user mobile terminal.

[0100] The user can set the global configuration in the control APP in the mobile terminal, and the control APP will send a global configuration instruction to the electronic photo frame server.

[0101] Step S604: According to the client tag information in the global configuration instruction, the client identifier presented on the user mobile terminal interface is configured to be the same as the client.

[0102] In this embodiment, the global configuration instruction may include a client photo display instruction, a photo hiding instruction, a client photo frame identification information content change instruction, etc. After modification, the client photo frame identification information is also updated synchronously, and the changed content is synchronously presented on the user mobile terminal interface through the device list. It is convenient for users to change the client used to present photos. Exemplarily, the user can add "living room" information to the photo frame identification information of the electronic photo frame client in the living room through the global configuration instruction. The client automatically sends the changed photo frame identification information to the server, and the server updates the device list. The device list is synchronously displayed on the user's mobile terminal, which is convenient for users to configure the displayed pictures or adjust the pictures to improve the user experience.

[0103] Reference Figure 8As shown, in one embodiment, according to the client tag information in the global configuration instruction, configuring the client identifier presented on the user mobile terminal interface to be the same as the client includes:

[0104] Step S702, sending the color configuration instruction in the global configuration instruction to the corresponding client, and generating a color identification of the client;

[0105] Step S704: sending the color identification of the client to the user's mobile terminal, and configuring the client's color identification on the user's mobile terminal interface to be the same as that of the client.

[0106] In this embodiment, the electronic photo frame server adds the color displayed by each electronic photo frame client to the frame identification information of each electronic photo frame client and updates it in the device list. At this time, the user mobile terminal synchronously updates the device list. Different electronic photo frame clients in the device list present different colors, so that the user can intuitively select the corresponding electronic photo frame client by color. The user can also select a single electronic photo frame client to modify the color.

[0107] Reference Fig. 9 As shown, in one embodiment, receiving a picture display request from a user mobile terminal, and determining a target client according to the picture display request to display the user picture includes:

[0108] Step S802, receiving a data packet sent by a user's mobile terminal; the data packet includes an encrypted image;

[0109] Step S804, identifying the data packet and forwarding the data packet to the corresponding photo frame, so that the photo frame can decrypt and display the picture.

[0110] In this embodiment, illustratively, when a user sends a picture to the electronic photo frame client A on a mobile phone, the mobile phone control APP will first encrypt the picture data when loading the picture, and then encapsulate the encrypted content into a data packet and send it to the electronic photo frame server. The electronic photo frame server recognizes that the data packet is an encrypted and packaged picture, and requires it to be handed over to the electronic photo frame client A for display. The electronic photo frame server directly forwards it to the electronic photo frame server A. After receiving the data packet, the electronic photo frame server A determines that this is the content that needs to be displayed, and then starts to decrypt the encrypted data packet using the key. After the decryption is completed, the picture is displayed on the screen, and the encrypted content is saved locally. The electronic photo frame server is responsible for identifying the user operation type and forwarding it, but is not responsible for decrypting the data content that needs to be forwarded. Only when the control app requires the electronic photo frame server to display the content, the electronic photo frame server determines that the data needs to be decrypted and displayed by itself will it perform the decryption and display operation.

[0111] Based on the same technical concept as the above method embodiment, refer to Fig.10 As shown, an embodiment of the present invention further provides an electronic device, which can be applied to the above method embodiment, and can include: a memory 1010 and a processor 1020. The memory 1010 is used to store program instructions; the processor 1020 is used to execute the program instructions to implement the method in the above embodiment.

[0112] The processor 1020 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0113] The memory 1010 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1010 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1010 and are called and executed by the processor 1020.

[0114] It should be noted that, although the above device only shows the processor 1020 and the memory 1010. However, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of this specification, and does not necessarily include all the components shown in the figure.

[0115] The electronic device of the above embodiment is used to implement the corresponding method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.

[0116] Based on the same technical concept as the above method embodiments, corresponding to any of the above method embodiments, an embodiment of the present invention further provides a non-transitory computer-readable storage medium, which stores computer instructions, and the computer instructions are used to enable a computer to execute the method described in any of the above embodiments.

[0117] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.

[0118] The computer instructions stored in the storage medium of the above embodiments are used to enable the computer to execute the method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0119] The above description is only a partial or preferred embodiment of the present invention. Neither the text nor the drawings can limit the scope of protection of the present invention. All equivalent structural changes made by using the contents of the present invention specification and drawings under the overall concept of the present invention, or direct / indirect application in other related technical fields are included in the scope of protection of the present invention.

Claims

1. A method for displaying pictures in an electronic photo frame based on a local area network, characterized in that: include: When executing the boot command, check whether it is configured as a Socket communication server; When configured as a Socket communication server, it receives connection requests from a Socket communication client and a user mobile terminal, and establishes communication with the client and the user mobile terminal; receiving the photo frame identification information sent by the client and generating a device list of the client according to the photo frame identification information; Sending the device list to the user mobile terminal; A picture display request from the user's mobile terminal is received, and a target client is determined according to the picture display request to display the user's picture.

2. The method for displaying pictures in an electronic photo frame based on a local area network according to claim 1, characterized in that: Before the detection of whether the server is configured as a Socket communication server when executing the startup command, the following steps are included: According to the detection result that the wireless network is configured as an access hotspot, the device configures itself as a server; Other electronic photo frames configured to access the access hotspot are configured as clients, and the clients are configured to automatically access the server through the socket service.

3. The method for displaying pictures in an electronic photo frame based on a local area network according to claim 2, characterized in that: The receiving of a connection request between a Socket communication client and a user mobile terminal, and establishing communication with the client and the user mobile terminal comprises: When the photo frame application software of the user's mobile terminal is started, it automatically connects to the server through the access hotspot; Send a data packet containing user identity information to the server.

4. The method for displaying pictures in an electronic photo frame based on a local area network according to claim 1, characterized in that: The receiving the photo frame identification information sent by the client and generating a device list of the client according to the photo frame identification information includes: Receiving photo frame identification information and decrypting the photo frame identification information; Determine the client device type and device ID according to the photo frame identification information, and generate association information between the client device type and the client device ID; generating an identification list of the client based on the association information; The photo frame identification information includes the client electronic photo frame identification, the SN address of the electronic photo frame and the MAC address of the electronic photo frame.

5. The method for displaying pictures in an electronic photo frame based on a local area network according to claim 1, characterized in that: Before executing sending the device list to the user mobile terminal, the method includes: Receive a connection request from the user's mobile terminal and establish communication through a socket service; Receiving encrypted control data sent by the user mobile terminal, decrypting the control data, and determining the device type of the user mobile terminal; Based on the device type of the user mobile terminal, the device list is sent to the user mobile terminal.

6. The method for displaying pictures in an electronic photo frame based on a local area network according to claim 1, characterized in that: The receiving the picture display request from the user mobile terminal and determining the target client according to the picture display request to display the user picture includes: Receiving a global configuration instruction sent by the user mobile terminal; According to the client tag information in the global configuration instruction, the client identifier presented on the user mobile terminal interface is configured to be the same as the client.

7. The method for displaying pictures in an electronic photo frame based on a local area network according to claim 6, characterized in that: The configuring, according to the client tag information in the global configuration instruction, the client identifier presented on the user mobile terminal interface to be the same as the client comprises: Sending the color configuration instruction in the global configuration instruction to the corresponding client and generating a color identification of the client; The color identification of the client is sent to the user mobile terminal, and the client color identification of the user mobile terminal interface is configured to be the same as that of the client.

8. The method for displaying pictures in an electronic photo frame based on a local area network according to claim 1, characterized in that: The receiving the picture display request from the user mobile terminal and determining the target client according to the picture display request to display the user picture includes: Receiving a data packet sent by the user mobile terminal; the data packet contains an encrypted picture; The data packet is identified and forwarded to a corresponding photo frame so that the photo frame can decrypt and display the picture.

9. An electronic device, characterized in that: include: A memory for storing program instructions; as well as A processor, configured to execute the program instructions to implement the method according to any one of claims 1 to 8.

10. A non-transitory computer-readable storage medium, characterized in that: The non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to cause a computer to execute the method according to any one of claims 1 to 8.

Citation Information

Cited By

  • Digital photo frame interaction method and system, computer equipment and storage medium

    CN121547210A