Information display method, device, electronic device and storage medium

By displaying music pendants and display interfaces in non-music applications, and using functional controls to trigger operations to display music information, the problem of needing to download music applications in the existing technology is solved, and the efficiency of information display of music plug-ins in electronic devices is improved.

CN112433802BActive Publication Date: 2024-09-24GUANGZHOU KUGOU COMP TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011392380.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-01
Publication Date
2024-09-24
Estimated Expiration
2040-12-01

AI Technical Summary

Technical Problem

In the existing technology, users need to download the music application program corresponding to the music plug-in in order to view the music information played through the music plug-in, resulting in low efficiency for electronic devices to display music information through the music plug-in.

Method used

After initializing the music plug-in in the non-music application, the music widget is displayed, and in response to the trigger operation of the widget, the music display interface is displayed. The interface contains functional controls. Music information is displayed in the non-music application through the trigger operation of the functional controls to avoid to download the music app.

Benefits of technology

It simplifies the display process of music information, improves the efficiency of music plug-ins in electronic devices to display music information, and enhances user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112433802B
    Figure CN112433802B
Patent Text Reader

Abstract

The present application discloses an information display method, device, electronic device and storage medium, and belongs to the field of plug-in display technology. The method is executed by an electronic device, and the method includes: after initializing a music plug-in in a non-music application, displaying a music widget; the music widget is an icon displayed in a non-music application after the music plug-in is initialized; in response to a trigger operation on the music widget, displaying a music display interface; the music display interface includes at least one function control; in response to a trigger operation on a first function control, displaying music information in a non-music application, and the first function control is any one of at least one function control. The present application does not require downloading the music application corresponding to the music plug-in, simplifies the steps of displaying music information in the electronic device interface through the music plug-in, and improves the efficiency of displaying music information in the electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of plug-in display technology, and in particular to an information display method, device, electronic device and storage medium. Background Art

[0002] With the development of science and technology, more and more types of plug-ins can be displayed in electronic devices. By inserting these plug-ins, the electronic devices provide the functions corresponding to these plug-ins in the electronic devices.

[0003] For example, a music plug-in providing a music playing function may be inserted into an electronic device, and a user may play music through the music plug-in. Alternatively, a video plug-in providing a video playing function may be inserted into an electronic device, and a user may play a video through the video plug-in. In the related art, if a user wants to view the information of the music being played (such as lyrics, etc.) through the music plug-in displayed in the above electronic device, the user needs to download a music application corresponding to the music plug-in in the electronic device.

[0004] Regarding the above-mentioned method of displaying music information, since the user needs to download the music application corresponding to the music plug-in in the electronic device, the electronic device displays the music information through the music plug-in in a low efficiency. Summary of the invention

[0005] The embodiments of the present application provide an information display method, device, electronic device and storage medium, which can improve the efficiency of electronic devices in displaying music information through music plug-ins. The technical solution is as follows:

[0006] In one aspect, the present application provides an information display method, the method being performed by an electronic device, the method comprising:

[0007] After the music plug-in is initialized in the non-music application, a music widget is displayed; the music widget is an icon displayed in the non-music application after the music plug-in is initialized;

[0008] In response to a triggering operation on the music widget, a music display interface is displayed; the music display interface includes at least one functional control;

[0009] In response to a triggering operation on a first functional control, music information is displayed in the non-music application, wherein the first functional control is any one of the at least one functional control.

[0010] In one aspect, the present application provides an information display device, which is used in an electronic device, and includes:

[0011] A widget display module, used to display a music widget after the music plug-in is initialized in the non-music application; the music widget is an icon displayed in the non-music application after the music plug-in is initialized;

[0012] A page display module, for displaying a music display interface in response to a triggering operation on the music widget; the music display interface includes at least one functional control;

[0013] The information display module is used to display music information in the non-music application in response to a trigger operation on a first functional control, where the first functional control is any one of the at least one functional control.

[0014] In one aspect, the present application provides an electronic device, comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the information display method as described in one aspect above.

[0015] In one aspect, the present application provides a computer-readable storage medium, wherein the storage medium stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement the information display method as described in one aspect above.

[0016] In one aspect, an embodiment of the present application provides a computer program product, the computer program product includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes the information display method provided in the above aspect.

[0017] The beneficial effects brought by the technical solution provided by the embodiment of the present application include at least:

[0018] In the electronic device provided by the present application, upon receiving a trigger operation on a music widget displayed by the electronic device, a music display interface can be displayed in the application interface of a non-music application that displays the widget, and at least one functional control included in the music display interface can be used to display music information of a music plug-in in a non-music application. The present application can display music information in a non-music application by displaying at least one of the functional controls in the music display interface and responding to a trigger operation of any one of the functional controls, without the need to download the music application corresponding to the music plug-in, thereby simplifying the steps of displaying music information in the interface of an electronic device through a music plug-in and improving the efficiency of displaying music information in an electronic device. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0020] Figure 1 is a schematic diagram of an implementation environment architecture provided by an exemplary embodiment of the present application;

[0021] Figure 2 is a schematic diagram of an application interface provided by an exemplary embodiment of the present application;

[0022] Figure 3 is a method flow chart of an information display method involved in an exemplary embodiment of the present application;

[0023] Figure 4 is a schematic diagram of a music display interface involved in an exemplary embodiment of the present application;

[0024] Figure 5 is a schematic diagram of an application interface involved in an exemplary embodiment of the present application;

[0025] Figure 6 is a registration flow chart of a non-music application provided by an exemplary embodiment of the present application;

[0026] Figure 7 It is a schematic diagram of an interface of an open webpage platform involved in an exemplary embodiment of the present application;

[0027] Figure 8 An exemplary embodiment of the present application relates to Figure 7 A schematic diagram of a registration interface;

[0028] Fig. 9is a sending flow chart of an information display method involved in an exemplary embodiment of the present application;

[0029] Fig.10 is a schematic diagram of a music display interface involved in an exemplary embodiment of the present application;

[0030] Fig.11 An exemplary embodiment of the present application relates to Fig.10 A schematic diagram of an interface for displaying search result information;

[0031] Fig.12 An exemplary embodiment of the present application relates to Fig.10 A schematic diagram of an interface of a music list;

[0032] Fig.13 An exemplary embodiment of the present application relates to Fig.10 A schematic diagram of an interface of a music display interface;

[0033] Fig.14 An exemplary embodiment of the present application relates to Fig.10 A schematic diagram of an interface of a music display interface;

[0034] Fig.15 An exemplary embodiment of the present application relates to Fig.10 A schematic diagram of the interface of a song details page;

[0035] Fig.16 is a sending flow chart of an information display method involved in an exemplary embodiment of the present application;

[0036] Fig.17 is a structural block diagram of an information display device provided by an exemplary embodiment of the present application;

[0037] Fig.18 It is a structural schematic diagram of an electronic device provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0038] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0039] The solution provided by the present application can be used in actual scenarios in daily life where users play music through music plug-ins introduced by electronic devices in non-music applications. For ease of understanding, the application scenarios involved in the embodiments of the present application are first briefly introduced below.

[0040] As people's demand for entertainment and leisure continues to increase, multimedia data products such as audio and video are becoming more and more abundant. Not only are there various APPs (Applications) that provide music playback functions, but APPs with more comprehensive functions such as music video recording and playback have also emerged and are sought after by music lovers. In order to facilitate users' easy use, developers can develop plug-ins corresponding to these APPs. Users can introduce plug-ins through non-music applications and use plug-ins to play music in non-music applications.

[0041] Please refer to Figure 1 , which shows a schematic diagram of an implementation environment architecture provided by an exemplary embodiment of the present application. Figure 1 As shown, the implementation environment may include an electronic device 110 and a server 120 .

[0042] The electronic device 110 may be a terminal device capable of playing audio data, for example, the terminal may be a mobile phone, a tablet computer, an e-book reader, smart glasses, a smart watch, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 (Moving Picture Experts Group Audio Layer IV), a notebook computer, a portable computer, a desktop computer, etc.

[0043] The server 120 is a server, or a plurality of servers, or a virtualization platform, or a cloud computing service center. In actual implementation, the server 120 can be a server that provides background services for music plug-ins (i.e., plug-ins with music playback functions) installed in non-music applications in the electronic device 110.

[0044] The electronic device 110 is connected to the server 120 via a communication network. Optionally, the communication network may be a wired network or a wireless network.

[0045] Optionally, the wireless network or wired network described above uses standard communication technology and / or protocol. The network is typically the Internet, but may also be any network, including but not limited to any combination of a local area network (LAN), a metropolitan area network (MAN), a wide area network (WAN), a mobile, wired or wireless network, a dedicated network or a virtual private network. In some embodiments, the data exchanged through the network is represented using technology and / or formats including Hyper Text Mark-up Language (HTML), Extensible Markup Language (XML), etc. In addition, conventional encryption technologies such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (VPN), Internet Protocol Security (IPsec) may be used to encrypt all or some links. In other embodiments, customized and / or dedicated data communication technologies may also be used to replace or supplement the above data communication technologies.

[0046] In a technical solution provided by the related art, the electronic device 110 can display the application interface of the non-music application, and the non-music application can also display the display icon (music widget) corresponding to the music plug-in in the application interface by initializing the music plug-in. Figure 2 , which shows a schematic diagram of an application interface provided by an exemplary embodiment of the present application. Figure 2 As shown, an application interface 201 of a non-music application is displayed in an electronic device 200, and a music widget 202 is displayed in the application interface 201. The music widget 202 is displayed in the application interface 201 after the non-music application that displays the application interface 201 introduces a music plug-in. The user can play and pause the music by clicking the music widget 202.

[0047] When the music plug-in is displayed in the above application interface and playing music, if the user wants to view the music information (e.g., music lyrics, related albums, music authors, etc.) of the music being played, the user can download the music application corresponding to the music plug-in and search for the music information. Alternatively, the user can open other music applications in the electronic device and search for the relevant information of the music.

[0048] In the above situation, when the user wants to view the music information of the music being played by the music plug-in, the electronic device needs to download the music application corresponding to the music plug-in or open other music applications to search, so as to display the music information of the music in the electronic device. Since the music information display process is relatively cumbersome, the problem of low efficiency of the electronic device in displaying the music information through the music plug-in is caused.

[0049] In order to simplify the steps for users to view the music information of the music being played by the music plug-in and improve the efficiency of electronic devices in displaying music information through the music plug-in, the present application provides a solution that can enable the electronic device to directly respond to the triggering operation of the music plug-in and display the music information in the application interface that displays the music widget.

[0050] Please refer to Figure 3 , which shows a method flow chart of an information display method involved in an exemplary embodiment of the present application, the information display method can be used as follows Figure 1 In the scenario architecture shown, Figure 1 The electronic equipment in the Figure 3 As shown, the information display method may include the following steps:

[0051] Step 301, after the music plug-in is initialized in the non-music application, the music widget is displayed.

[0052] The music widget is an icon displayed in the non-music application after the music plug-in is initialized. The non-music application may be an instant messaging application. For example, the non-music application may be a browser application, a text messaging application, a memo application, etc. Optionally, the non-music application may also be a child application (also called a mini-program) running on the parent application.

[0053] Optionally, in the present application, the server providing the music plug-in may provide music plug-ins of different service platforms, and the different service platforms may be a small program development platform, an Android development platform, an IOS development platform, or a web development platform (such as an H5 development platform). For example, if a non-music application in an electronic device is based on a small program development platform, then the music plug-in initialized in the non-music application is also a music plug-in corresponding to the small program development platform.

[0054] Initializing the music plug-in may refer to the process of loading the music plug-in by the non-music application when the non-music application is running in the electronic device. After the loading is completed, the electronic device may display the corresponding music widget in the application interface of the non-music application. Figure 2 The interface shown will not be described in detail here.

[0055] Step 302, in response to the triggering operation of the music widget, displaying a music display interface, the music display interface including at least one functional control.

[0056] For example, the functional controls may include: search controls, playlist controls, view controls, play controls, etc.

[0057] Optionally, the music widget provided in the embodiment of the present application can be triggered and display a corresponding music display interface. Optionally, the triggering operation of the music widget can be a click operation of a user's finger, or a click operation triggered by a physical device such as a mouse.

[0058] Please refer to Figure 4 , which shows a schematic diagram of a music display interface involved in an exemplary embodiment of the present application. Figure 4 As shown, in the application interface 400, a music widget 401 and a music display interface 402 are displayed. Among them, the electronic device can display the music display interface 402 below the music widget 401 in response to the triggering operation of the music widget 401. The music display interface 402 includes a function control 403, and the function control 403 can be used to display music information in a non-music application through a music plug-in. For example, one of the function controls can correspond to the function of displaying the music lyrics of the currently playing music. For example, the function control can be a view control or a search control.

[0059] Optionally, the above Figure 4 The music display interface shown in is superimposed on the application interface. In one possible implementation, the above-mentioned music display interface can also be an interface reopened by the electronic device, covering the application interface. This application does not limit this.

[0060] Step 303: Display music information in a non-music application in response to a triggering operation on a first function control, where the first function control is any one of the at least one function control.

[0061] Optionally, the above Figure 4At least one function control provided in the music display interface can also be triggered to display the corresponding music information in the electronic device. Optionally, the triggering operation of at least one function control can also be a click operation of the user's finger, or a click operation triggered by a physical device such as a mouse. For example, one of the above function controls can correspond to the function of displaying the music lyrics of the currently playing music. When the function control is triggered, the electronic device can respond to the triggering operation of the function control and display the music lyrics in a non-music application. Optionally, the music information can also be displayed in a superimposed manner on the application interface, or the music information can also be displayed in the interface when the electronic device reopens an interface. The present application does not limit this.

[0062] For example, music information is displayed in an interface when an electronic device is reopened. Figure 5 , which shows a schematic diagram of an application interface involved in an exemplary embodiment of the present application. Figure 5 As shown, in the application interface 500, music lyrics 501 are displayed. The application interface 500 may be an interface displayed by the electronic device in response to a triggering operation of the above-mentioned function control.

[0063] In summary, in the electronic device provided by the present application, upon receiving a trigger operation on a music widget displayed on the electronic device, a music display interface can be displayed in the application interface of a non-music application that displays the widget, and at least one functional control contained in the music display interface can be used to display the music information of the music plug-in in the non-music application. The present application can display music information in a non-music application by displaying at least one of the above functional controls in the music display interface and responding to a trigger operation of any one of the functional controls, without the need to download the music application corresponding to the music plug-in, thereby simplifying the steps of displaying music information in the electronic device interface through the music plug-in and improving the efficiency of displaying music information in the electronic device.

[0064] In one possible implementation, when a non-music application of the electronic device in the present application is opened, the non-music application can also actively call the music playing function in the music plug-in to automatically play the song preset by the user. Optionally, the preset song can be set by the user when the music plug-in was used last time.

[0065] In one possible implementation, the non-music application in which the music plug-in is inserted into the electronic device in the present application needs to be registered in advance in the server providing the music plug-in. Only when the server providing the music plug-in authorizes it can the music plug-in in the non-music application display music information.

[0066] Please refer to Figure 6, which shows a registration flow chart of a non-music application provided by an exemplary embodiment of the present application. Figure 6 As shown, the registration process includes the following steps:

[0067] Step 601: The registrant of the non-music application program registers the application information with the server through the web open platform.

[0068] The server is a server that provides a music plug-in in the above-mentioned embodiment of the present application, and the webpage open platform can be a webpage platform that the server opens to the outside. The registrant of the non-music application can open the webpage open platform through the terminal, and input the application information to be registered in the webpage open platform, wherein the application information can include the application name of the non-music application, the registrant ID (Identity Document), the service platform information of the non-music application, and other information.

[0069] For example, please refer to Figure 7 , which shows a schematic diagram of an interface of a webpage open platform involved in an exemplary embodiment of the present application, such as Figure 7 As shown, in the webpage open platform interface 700, a platform one plug-in 701, a platform two plug-in 702, a platform three plug-in 703, and a registration control 704 provided by the server are included. The registrant of the non-music application can enter the application information registration interface by clicking the registration control 704, and enter the application information of the non-music application in the application information registration interface. For example, please refer to Figure 8 , which shows that an exemplary embodiment of the present application involves Figure 7 A schematic diagram of a registration interface, such as Figure 8 As shown, the registration interface 800 includes an application name input box 801 for non-music applications, a registrant ID input box 802, a service platform input box 803, and a submit control 804. The registrant of the non-music application can enter the corresponding information in the registration interface and click the submit control 804 to send the information to the server and request the registration application information in the server.

[0070] Step 602: The server assigns a target number and a target key to the non-music application program based on the application information.

[0071] The target number is used by the server to identify the non-music application, and the target key is used to encrypt the transmitted data when the non-music application transmits data through the music plug-in.

[0072] Optionally, the server can review the received application information to confirm whether the application information is authentic and valid, and after the review is passed, the corresponding target number and target key can be assigned to the non-music application. That is, the non-music application with the target number and target key is equivalent to being registered in the server.

[0073] After the registrant of the above-mentioned non-music application completes the registration of the application information in the server providing the music plug-in, and the server assigns the corresponding target number and target key to the non-music application, the installation package of the non-music application can carry the music plug-in SDK (Software Development Kit) of the corresponding platform, or the user can download the music plug-in of the corresponding platform into the non-music application in the electronic device, and insert the music plug-in into the non-music application. Taking the music plug-in of the corresponding platform in the installation package of the non-music application as an example, for the above-mentioned Figure 3 The illustrated embodiments are presented by way of example.

[0074] Please refer to Fig. 9 , which shows a sending flow chart of an information display method involved in an exemplary embodiment of the present application, the information display method can be used as follows Figure 1 In the scenario architecture shown, Figure 1 The electronic equipment in the Fig. 9 As shown, the information display method may include the following steps:

[0075] Step 901, after the music plug-in is initialized in the non-music application, a music widget is displayed. The music widget is an icon displayed in the non-music application after the music plug-in is initialized.

[0076] After installing or opening a non-music application in an electronic device, the non-music application can initialize the music plug-in SDK carried therein, and input and output the target number and target key assigned by the server to the non-music application to the electronic device. After the music plug-in is initialized, when the user opens the non-music application in the electronic device, a music widget can be displayed in some application interfaces of the non-music application. For example, Figure 2 The music widget is displayed in the application interface and will not be described in detail here.

[0077] Step 902, in response to the triggering operation of the music widget, displaying a music display interface, wherein the music display interface includes at least one functional control.

[0078] In one possible implementation, the music widget displayed on the application interface of the non-music application can be triggered, and after the electronic device receives the triggering operation of the music widget, it superimposes and displays the music display interface on the application interface. Figure 4 The styles shown are not described in detail here.

[0079] Optionally, in the embodiment of the present application, at least one functional control in the music display interface may include a search control, a playlist control, a view control, etc. Fig.10 , which shows a schematic diagram of a music display interface involved in an exemplary embodiment of the present application. Fig.10 As shown, in the application interface 1000, a music widget 1001 and a music display interface 1002 are displayed. Among them, the electronic device can display the music display interface 1002 below the music widget 1001 in response to the trigger operation of the music widget 1001. The music display interface 1002 includes a search control 1003, a playlist control 1004, a play mode control 1005, a play control 1006, and a view control 1007. Among them, at least one functional control in the present application can be any one or more of the search control, the playlist control, and the view control. Among them, at least one functional control included in the music display interface 1002 can respond to the trigger operations received by each, and display the corresponding music information in the non-music application through the music plug-in.

[0080] Step 903: In response to the triggering operation on the first function control, an information acquisition request is sent to a server providing services for the music plug-in, where the information acquisition request is used to acquire music information.

[0081] The electronic device can receive a trigger operation of any functional control in the above-mentioned music display interface, generate a corresponding information acquisition request, and send the information acquisition request to the server of the music plug-in, and obtain the corresponding music information from the server.

[0082] In a possible implementation, the electronic device can, in response to the triggering operation of the first function control, obtain the target allocation information of the non-music application from the local file of the electronic device where the music plug-in is located, the target allocation information being allocated to the non-music application when the non-music application requests the target permission from the server; carry the target allocation information of the non-music application in the information acquisition request, and send the information acquisition request to the server. That is, the above Figure 6 In the illustrated embodiment, after the non-music application completes registration in the server, the server assigns a target number and a target key to it, thereby indicating that the non-music application has the authority to obtain music information through the music plug-in.

[0083] Optionally, the time when the non-music application requests the target permission from the server may be as described above. Figure 6 In the illustrated embodiment, the non-music application is registered in the server.

[0084] Optionally, the target allocation information may be a target number and a target key. That is, the electronic device may obtain the target number and target key that are passed into the electronic device when the music plug-in is initialized, carry the target number of the non-music application in the information acquisition request, and send the information acquisition request to the server. For example, the electronic device encrypts the information acquisition request using the obtained target key, carries the target number of the non-music application in the encrypted information acquisition request, and sends the information acquisition request to the server.

[0085] Step 904, receiving the music information returned by the server.

[0086] Optionally, after receiving the information acquisition request sent by the electronic device, the server can query whether the non-music application exists from the pre-stored filing list according to the target number carried in the information acquisition request. If it exists, the corresponding target key is obtained from the filing list according to the target number, and the information acquisition request is decrypted, thereby parsing the information acquisition request, knowing the music information that the electronic device needs to obtain, and returning the corresponding music information in the server to the electronic device. Please refer to Table 1, which shows a filing list involved in an exemplary embodiment of the present application.

[0087] Non-Music Applications Target Number Target Key Non-Music Applications Target No. 1 Target Key 1 Non-Music Applications 2 Target number two Target Key 2 Non-Music Applications 3 Target Number Three Target Key Three

[0088] Table 1

[0089] As shown in Table 1, the server can establish the above-mentioned filing list for registered non-music applications. When an information acquisition request sent by an electronic device is received, it is queried whether it is in the above-mentioned filing list based on the target number carried in the information acquisition request. If it is, the corresponding target key is obtained, and the information acquisition request is decrypted according to the target key to obtain the music information that the electronic device wants to obtain. After querying the corresponding music information from the server, the music information is returned to the electronic device.

[0090] Step 905: Display music information in a non-music application.

[0091] That is, the electronic device can display the music information in a non-music application based on the music information returned by the server.

[0092] In one possible implementation, when the server returns music information, the returned music information can also be encrypted according to the target key. After the electronic device receives the music information, it decrypts the music information according to its own target key, thereby displaying the corresponding music information in a non-music application.

[0093] Below, based on the above Fig.10 Taking the music display interface shown in the figure as an example, after the function control contained therein is triggered, step 903 and step 904 of the embodiment of the present application are introduced by way of example. Fig.10 In the music display interface shown, the search control is used to search for music, that is, when at least one of the above-mentioned function controls includes a search control for searching for music, the electronic device can display search result information in a non-music application in response to a trigger operation on the search control. For example, the user can click on the search control 1003 in the above-mentioned music display interface 1002. After the electronic device receives the trigger operation of the search control 1003, it can wait for the user to enter the music content to be searched in the search box, and in response to the user starting to search, the electronic device can generate an information acquisition request, and carry the music content entered by the user in the search box in the information acquisition request, and send the information acquisition request to the server through the music plug-in. At this time, the information acquisition request is used to obtain search result information. That is, after receiving the information acquisition request, the server performs a search according to the music content entered by the user, and returns the search result information to the electronic device.

[0094] Please refer to Fig.11 , which shows that an exemplary embodiment of the present application involves Fig.10 A schematic diagram of an interface for displaying search result information. Fig.11 As shown, the application interface 1100 includes a search control 1101, an information display interface 1102, and music information 1103. After the user enters "I love you" in the search box, the music information finally obtained by the electronic device from the server is shown in the information display interface 1102.

[0095] In one possible implementation, in the electronic device, a first account may be logged in to the non-music application. The first account is an account registered by the user through the non-music application. The user can log in to the first account to display the above application interface in the electronic device. Optionally, the above displayed search result information can also be selected. In response to the selection operation of the first music information in the search result information, the electronic device can obtain an identifier uniquely corresponding to the first music information. The first music information is any music information in the search result information. For example, the user selects the above Fig.11In the music information "I love you - Haitianyi", the electronic device can respond to the selection operation and obtain the unique identifier corresponding to the music information. The unique identifier corresponding to the music information can be any one of the music number and the music name. Taking the music number as an example, the electronic device may obtain the number "123456".

[0096] The electronic device may also send the unique identifier corresponding to the first music information to the server of the non-music application, so that the server of the non-music application establishes a corresponding relationship between the unique identifier corresponding to the first music information and the first published information, and the first published information is any one of text information, image information, and video information published by the first account in the server of the non-music application. That is, after the user logs in to the first account in the non-music application, he can publish text information, image information, video information, etc., and insert music through the music widget in the application interface. Fig.11 After selecting a first music information, the electronic device can send the unique identifier of the first music information to the server of the non-music application, and the server will establish a corresponding relationship between the first release information that the user wants to publish and the first music information. When other users view the first release information published by the user, they can play the music corresponding to the first music information through the music widget.

[0097] Optionally, in the above Fig.10 In the music display interface shown, the playlist control is used to display the playlist; that is, when the at least one function control includes a playlist control for displaying the playlist, the electronic device can display the playlist in the non-music application in response to the triggering operation of the playlist control, and the playlist is a music list played by the first account through the music plug-in. Please refer to Fig.12 , which shows that an exemplary embodiment of the present application involves Fig.10 A schematic diagram of the interface of a music list. Fig.12 As shown, in the application interface 1200, a playlist control 1201 and a music list 1202 are included. After the user clicks the playlist control 1201, the electronic device sends an information acquisition request for acquiring the playlist to the server of the music plug-in in the above manner. The information acquisition request may also include a first account. The electronic device acquires the playlist of the first account through the first account and returns it to the electronic device. The electronic device finally receives the playlist from the server in the manner described above. Fig.12 The music list 1202 is displayed in the application interface.

[0098] Optionally, when at least one functional control includes a search control and a playlist control, the electronic device can also add the first music information to the playlist in response to a selection operation on the first music information in the search result information. Fig.11 After the first music information is selected, the electronic device can add the first music information to the playlist in response to the selection operation of the first music information in the search result information. For example, the electronic device sends an add request to the server of the music plug-in to request that the first music information selected by the user be added to the playlist, and the server adds the first music information to the playlist accordingly according to the add request.

[0099] In a possible implementation, the above-mentioned music display interface also includes a play mode control, and the play mode control is used to change the play order of the music in the play list; the electronic device can change the display mode of the play mode control in the non-music application in response to the triggering operation of the play mode control. Among them, in the embodiment of the present application, the music plug-in inserted by the non-music application can also play multiple music according to the above-mentioned music list. Correspondingly, the music display interface displayed by the electronic device uses the play mode control to change the play order, wherein the play order may include sequential play, list loop, random play, single loop, etc. Among them, sequential play refers to play in the order of the current music list. List loop refers to loop play in the order of the current music list. Random play refers to randomly selecting a music from the current music list for play. Single loop refers to selecting a music from the current music list for loop play.

[0100] Please refer to Fig.13 , which shows that an exemplary embodiment of the present application involves Fig.10 A schematic diagram of a music display interface. Fig.13 As shown, the music display interface 1300 includes a play mode control 1301. Fig.10 The playback mode is single loop. After the user clicks the playback mode control, it can be changed to Fig.13 The style shown, Fig.13 The playback mode is list loop.

[0101] Optionally, the at least one functional control further includes a play control, and the play control is used to play or pause the music played in the music plug-in; that is, when the at least one functional control includes a play control for playing or pausing music, the electronic device changes the display mode of the music widget in the non-music application in response to the triggering operation of the play control. In one possible implementation, the electronic device obtains the state change information of the current music in response to the triggering operation of the play control, and the state change information is used to indicate that the current music changes from playing to pausing or from pausing to playing; according to the state change information, the display mode of the music widget is changed in the non-music application. Among them, the display mode of the music widget includes a rotating mode and a static mode.

[0102] In one possible implementation, the electronic device changes the music pendant from a rotating mode to a stationary mode in response to the state change information indicating that the current music has changed from being played to being paused. In one possible implementation, the electronic device changes the music pendant from a stationary mode to a rotating mode in response to the state change information indicating that the current music has changed from being paused to being played. Fig.14 , which shows that an exemplary embodiment of the present application involves Fig.10 A schematic diagram of a music display interface. Fig.14 As shown, the music display interface 1400 includes a widget image 1401 and a play control 1402. Before the music plug-in plays music, the widget image 1401 may be in a static mode. In response to the user's triggering operation on the play control, the music plug-in is triggered to play music, and the widget image 1401 may change from a static mode to a rotating mode, that is, as the music plays, the widget image 1401 rotates clockwise or counterclockwise. When the user stops playing the music by clicking the play control 1402, the widget image 1401 may change from a rotating mode to a static mode.

[0103] Optionally, at least one of the above-mentioned functional controls includes a viewing control, and the viewing control is used to view the song information of the current music, and the song information is any one or more of the music lyrics, music author, and music name of the current music; that is, when at least one of the above-mentioned functional controls includes a viewing control for viewing the song information of the music, the electronic device can display the song information of the current music in a non-music application in response to a triggering operation on the viewing control. For example, the viewing control is equivalent to entering the song details page, and the song information of the currently playing music can be viewed. Please refer to Fig.15 , which shows that an exemplary embodiment of the present application involves Fig.10 A schematic diagram of the interface of a song details page. Fig.15 As shown, the song interface 1500 includes music lyrics 1501, music author 1502, and music name 1503. The electronic device responds to the user triggering the above Fig.10 View controls in the display can be displayed on electronic devices Fig.15 The page shown.

[0104] In summary, in the electronic device provided by the present application, upon receiving a trigger operation on a music widget displayed on the electronic device, a music display interface can be displayed in the application interface of a non-music application that displays the widget, and at least one functional control contained in the music display interface can be used to display the music information of the music plug-in in the non-music application. The present application can display music information in a non-music application by displaying at least one of the above functional controls in the music display interface and responding to a trigger operation of any one of the functional controls, without the need to download the music application corresponding to the music plug-in, thereby simplifying the steps of displaying music information in the electronic device interface through the music plug-in and improving the efficiency of displaying music information in the electronic device.

[0105] In addition, the present application can also improve the security of information transmission by encrypting the information acquisition request sent by the target key assigned to the non-music application.

[0106] In the following, the electronic device is a mobile phone, and a first client is installed in the mobile phone. The user can publish his / her own articles, pictures, videos and other information on the first client, and provide background music through a music plug-in. Figure 3 and Fig. 9 The embodiments of the present invention are introduced by way of example.

[0107] Please refer to Fig.16 , which shows a sending flow chart of an information display method involved in an exemplary embodiment of the present application, the information display method can be used as follows Figure 1 In the scenario architecture shown, Figure 1 The electronic equipment in the Fig.16 As shown, the information display method may include the following steps:

[0108] Step 1601: The first client initializes the music plug-in and displays the music widget in the interface of the first client.

[0109] Optionally, the first client in the mobile phone can publish articles. During the article publishing process, the user can select background music for the article, that is, the music plug-in in the first client is used to provide a music playback function. When the user wants to find a certain music, the music display interface can be displayed by triggering the music widget, and the search control in the music display interface can be used to search.

[0110] Step 1602, in response to a triggering operation on the music widget, a music display interface is displayed, the music display interface includes at least one function control, and the at least one function control is used to display music information in the first client through the music plug-in.

[0111] Among them, the display of at least one functional control can refer to the above Fig. 9 The description in the embodiments will not be repeated here.

[0112] Step 1603: In response to the triggering operation on the first function control, an information acquisition request is sent to a server providing services for the music plug-in, where the information acquisition request is used to acquire music information.

[0113] The first functional control is any one of the at least one functional control.

[0114] Step 1604: The first client displays the music information returned by the server.

[0115] Optionally, taking the function control as the above-mentioned search control as an example, the user can search for music. After searching for music, the first client can display the corresponding search results. After the user selects a song, the first client can send the unique identifier of the song to its own server based on the unique identifier of the song selected by the user, and bind it to the article the user wants to publish. When other users or the user opens it, the bound music can be played through the music plug-in.

[0116] To summarize, the present application displays at least one of the above-mentioned function controls in the music display interface and can display music information in non-music applications by responding to the triggering operation of any one of the function controls. There is no need to download the music application corresponding to the music plug-in, which simplifies the steps of displaying music information in the computer interface through the music plug-in and improves the efficiency of displaying music information in electronic devices.

[0117] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0118] Please refer to Fig.17 , which shows a structural block diagram of an information display device provided by an exemplary embodiment of the present application. The information display device can be used for Figure 1 In the scenario architecture shown, the execution Figure 3 , Fig. 9 or Fig.16 All or part of the steps in the method provided by the illustrated embodiment are performed by the electronic device. Fig.17 As shown, the device mainly includes:

[0119] The widget display module 1701 is used to display the music widget after the music plug-in is initialized in the non-music application; the music widget is an icon displayed in the non-music application after the music plug-in is initialized;

[0120] The page display module 1702 is used to display a music display interface in response to a trigger operation on the music widget; the music display interface includes at least one functional control;

[0121] The information display module 1703 is used to display music information in a non-music application in response to a trigger operation on a first function control, where the first function control is any one of the at least one function control.

[0122] Optionally, the information display module 1703 includes: a first sending unit, an information receiving unit and an information display unit;

[0123] A first sending unit, configured to send an information acquisition request to a server in response to a triggering operation on a first function control, wherein the server is a server providing a music plug-in, and the information acquisition request is used to acquire music information;

[0124] An information receiving unit, used for receiving music information returned by the server;

[0125] The information display unit is used to display music information in non-music applications.

[0126] Optionally, the first sending unit includes: an acquiring subunit and a sending subunit;

[0127] an acquisition subunit, configured to acquire target allocation information of the non-music application from a local file of the electronic device where the music plug-in is located in response to a trigger operation on the first function control, wherein the target allocation information is allocated to the non-music application when the non-music application requests a target permission from the server;

[0128] The sending subunit is used to carry the target allocation information of the non-music application program in the information acquisition request and send the information acquisition request to the server.

[0129] Optionally, the target allocation information includes a target number and a target key, the target number is used to identify the non-music application, and the target key is used to encrypt the information acquisition request.

[0130] Optionally, at least one functional control includes a search control, and the search control is used to search for music;

[0131] An information display module 1703, configured to display search result information in a non-music application in response to a triggering operation on the search control when at least one function control includes a search control for searching for music;

[0132] When the at least one function control includes a playlist control for displaying a playlist, in response to a triggering operation on the playlist control, displaying the playlist in the non-music application, the playlist being a music list of music played by the first account through the music plug-in;

[0133] When at least one functional control includes a song information viewing control for viewing music, in response to a triggering operation on the viewing control, displaying the song information of the music in the non-music application;

[0134] When at least one functional control includes a play control for playing or pausing music, in response to a triggering operation on the play control, the display mode of the music widget is changed in the non-music application.

[0135] Optionally, a first account is logged in to the non-music application, and the device further includes:

[0136] an identification acquisition module, for acquiring an identification uniquely corresponding to the first music information in response to a selection operation on the first music information in the search result information, wherein the first music information is any music information in the search result information;

[0137] An identification sending module is used to send an identification uniquely corresponding to the first music information to a server of a non-music application, so that the server of the non-music application can establish a corresponding relationship between the identification uniquely corresponding to the first music information and the first published information, and the first published information is any one of text information, image information, and video information published by the first account in the server of the non-music application.

[0138] Optionally, the device further comprises:

[0139] The information adding module is used to add the first music information to the playlist in response to a selection operation on the first music information in the search result information when at least one function control includes a search control and a playlist control.

[0140] The sequence changing module is used to change the playback order of the music in the playlist in response to a triggering operation on the playback mode control when the music display interface also includes a playback mode control for changing the playback order of the music in the playlist.

[0141] In summary, in the electronic device provided by the present application, upon receiving a trigger operation on a music widget displayed on the electronic device, a music display interface can be displayed in the application interface of a non-music application that displays the widget, and at least one functional control contained in the music display interface can be used to display the music information of the music plug-in in the non-music application. The present application can display music information in a non-music application by displaying at least one of the above functional controls in the music display interface and responding to a trigger operation of any one of the functional controls, without the need to download the music application corresponding to the music plug-in, thereby simplifying the steps of displaying music information in the electronic device interface through the music plug-in and improving the efficiency of displaying music information in the electronic device.

[0142] Please refer to Fig.18 , which shows a schematic diagram of the structure of an electronic device provided by an exemplary embodiment of the present application. The electronic device 1800 may include: a processor 1801, a receiver 1802, a transmitter 1803, a memory 1804 and a bus 1805.

[0143] The processor 1801 includes one or more processing cores. The processor 1801 executes various functional applications and information processing by running software programs and modules.

[0144] The receiver 1802 and the transmitter 1803 may be implemented as a communication component, which may be a communication chip, which may also be called a transceiver.

[0145] The memory 1804 is connected to the processor 1801 via a bus 1805 .

[0146] The memory 1804 may be used to store a computer program, and the processor 1801 may be used to execute the computer program to implement each step performed by the electronic device in the above method embodiment.

[0147] In addition, the memory 1804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof. The volatile or non-volatile storage device includes but is not limited to: a magnetic disk or an optical disk, an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a static random access memory (SRAM), a read-only memory (ROM), a magnetic memory, a flash memory, and a programmable read-only memory (PROM).

[0148] In an exemplary embodiment, a non-temporary computer-readable storage medium including instructions is also provided, such as a memory including a computer program (instructions), and the above program (instructions) can be executed by a processor of an electronic device to complete all or part of the steps of the method shown in each embodiment of the present application. For example, the non-temporary computer-readable storage medium can be a ROM, a random access memory (Random Access Memory, RAM), a CD-ROM (Compact Disc Read-Only Memory, read-only optical disk) drive, a magnetic tape, a floppy disk, and an optical data storage device. Optionally, the storage medium stores at least one instruction, at least one program, a code set, or an instruction set, and at least one instruction, at least one program, a code set, or an instruction set is loaded and executed by a processor to implement the information display method involved in the above embodiment.

[0149] The embodiment of the present application also provides a computer program product, which includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes the information display method provided in various optional implementations of the above-mentioned embodiments.

[0150] It should be noted that: the device provided in the above embodiment only uses the division of the above functional modules as an example when performing music playback and music information display. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0151] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0152] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. An information display method, characterized in that: The method is performed by an electronic device, and includes: After the music plug-in is initialized in the non-music application, a music widget is displayed; the music widget is an icon displayed in the non-music application after the music plug-in is initialized; In response to a triggering operation on the music widget, a music display interface is displayed; the music display interface includes at least one functional control; In response to a triggering operation on a first functional control, target allocation information of the non-music application is obtained from a local file of the electronic device, the target allocation information is allocated to the non-music application by the server when the non-music application requests a target permission from the server, the moment when the non-music application requests the target permission from the server is the moment when the non-music application is registered in the server, and the first functional control is any one of the at least one functional control; Carrying the target allocation information in an information acquisition request, sending the information acquisition request to the server, wherein the information acquisition request is used to acquire music information, and the server is used to provide services for music plug-ins of different service platforms, the target allocation information includes a target number and a target key, the target number is used to identify the non-music application, and the target key is used to encrypt the information acquisition request; receiving the music information returned by the server, wherein the music information is determined according to the parsed information acquisition request by obtaining the target key corresponding to the target number through the record list when the server finds the target number carried by the information acquisition request in a pre-stored record list to decrypt the information acquisition request, wherein the record list stores the target numbers and target keys corresponding to different non-music programs registered in the server, respectively, and the target key is used by the server to encrypt the music information and by the electronic device to decrypt the music information; The music information is presented in the non-music application.

2. The method according to claim 1, characterized in that: The displaying of the music information in the non-music application comprises: When the first function control includes a search control for searching for music, displaying search result information in the non-music application; When the first function control includes a playlist control for displaying a playlist, displaying the playlist in the non-music application, the playlist is a music list of music played by the first account through the music plug-in; When the first function control includes a viewing control for viewing song information of music, displaying the song information of the music in the non-music application; When the first functional control includes a play control for playing or pausing music, the display mode of the music widget is changed in the non-music application.

3. The method according to claim 2, characterized in that The first account is logged in the non-music application, and after the search result information is displayed in the non-music application, the method further includes: In response to a selection operation of a first music information in the search result information, acquiring an identifier uniquely corresponding to the first music information, wherein the first music information is any music information in the search result information; The identifier uniquely corresponding to the first music information is sent to the server of the non-music application, so that the server of the non-music application establishes a corresponding relationship between the identifier uniquely corresponding to the first music information and the first publishing information, and the first publishing information is any one of text information, image information, and video information published by the first account in the server of the non-music application.

4. The method according to claim 2, characterized in that: When the at least one functional control includes the search control and the playlist control, after displaying the music information in the non-music application, the method further includes: In response to a selection operation of first music information in the search result information, adding the first music information to the playlist; When the music display interface further includes a play mode control for changing the play order of the music in the play list, after displaying the play list in the non-music application, the method further includes: In response to a triggering operation on the play mode control, the play order of the music in the playlist is changed.

5. An information display device, characterized in that: The device is used in an electronic device, and comprises: A widget display module, used to display a music widget after the music plug-in is initialized in the non-music application; the music widget is an icon displayed in the non-music application after the music plug-in is initialized; A page display module, for displaying a music display interface in response to a triggering operation on the music widget; the music display interface includes at least one functional control; an acquisition subunit, configured to acquire, in response to a trigger operation on a first functional control, target allocation information of the non-music application from a local file of the electronic device, the target allocation information being allocated to the non-music application by the server when the non-music application requests a target permission from the server, the moment when the non-music application requests the target permission from the server is the moment when the non-music application is registered in the server, and the first functional control is any one of the at least one functional control; a sending subunit, configured to carry the target allocation information in an information acquisition request, and send the information acquisition request to the server, wherein the information acquisition request is used to acquire music information, and the server is used to provide services for music plug-ins of different service platforms, wherein the target allocation information includes a target number and a target key, wherein the target number is used to identify the non-music application, and the target key is used to encrypt the information acquisition request; an information receiving unit, for receiving the music information returned by the server, wherein the music information is determined according to the parsed information acquisition request by obtaining the target key corresponding to the target number through the record list when the server finds the existence of the target number carried by the information acquisition request in a pre-stored record list, wherein the record list stores the target numbers and target keys corresponding to different non-music programs registered in the server, respectively, and the target key is used by the server to encrypt the music information and by the electronic device to decrypt the music information; The information display unit is used to display the music information in the non-music application.

6. An electronic device, characterized in that: The electronic device includes a processor and a memory, wherein the memory stores at least one program, and the at least one program is loaded and executed by the processor to implement the information display method according to any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that: The storage medium stores at least one program, and the at least one program is loaded and executed by the processor to implement the information display method according to any one of claims 1 to 4.