CN111147531A - Music sharing method and device - Google Patents

Music sharing method and device Download PDF

Info

Publication number
CN111147531A
CN111147531A CN201811298801.5A CN201811298801A CN111147531A CN 111147531 A CN111147531 A CN 111147531A CN 201811298801 A CN201811298801 A CN 201811298801A CN 111147531 A CN111147531 A CN 111147531A
Authority
CN
China
Prior art keywords
music
user terminal
information
corresponding relation
position information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811298801.5A
Other languages
Chinese (zh)
Other versions
CN111147531B (en
Inventor
丁笳元
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenyang Mxnavi Co Ltd
Original Assignee
Shenyang Mxnavi Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenyang Mxnavi Co Ltd filed Critical Shenyang Mxnavi Co Ltd
Priority to CN201811298801.5A priority Critical patent/CN111147531B/en
Publication of CN111147531A publication Critical patent/CN111147531A/en
Application granted granted Critical
Publication of CN111147531B publication Critical patent/CN111147531B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a music sharing method and a device, wherein the method comprises the following steps: acquiring current position information and current music listening information of a first user terminal; establishing a corresponding relation between the position information of the first user terminal and the music information, and uploading the corresponding relation to a cloud server; receiving current position information and a music sharing request of a second user terminal; acquiring a target corresponding relation of the cloud server within a preset distance range according to the current position information of the second user terminal; and providing the music information in the target corresponding relation to the second user terminal based on the music sharing request. The music information sharing method and the music sharing device have the advantages that the music information based on the geographic position is shared among the user terminals in real time, the geographic position information and the music are associated to establish a corresponding relation, the corresponding relation is uploaded to the cloud server, other user terminals can actively obtain the music information which is playing around the current position, and better music sharing experience is provided for users.

Description

Music sharing method and device
Technical Field
The present invention relates to the field of information sharing technologies, and in particular, to a music sharing method and apparatus.
Background
With the rapid development of the information age, information sharing is more and more appeared in various social activities, but in the prior art, after part of users actively provide shared information, other users can only passively receive the shared information provided by the users, the users cannot actively acquire the shared information of other users according to the actual needs of the users, the acquiring process lacks initiative right, the experience is not good, and in the process of providing and receiving the shared information, the users of both sides need to upload or download corresponding resource files to realize information sharing, so that both sides need to consume more flow and time in the sharing process, the shared information is not convenient and fast in use, and the use requirements of the users cannot be well met.
Therefore, it is desirable to provide a more suitable music sharing method and apparatus to solve the above problems.
Disclosure of Invention
In view of the above, the present invention provides a music sharing method and apparatus that overcomes or at least partially solves the above problems.
In a first aspect, an embodiment of the present invention provides a music sharing method, including:
acquiring current position information and current music listening information of a first user terminal;
establishing a corresponding relation between the position information of the first user terminal and the music information, and uploading the corresponding relation to a cloud server;
receiving current position information and a music sharing request of a second user terminal;
acquiring a target corresponding relation of the cloud server within a preset distance range according to the current position information of the second user terminal;
and providing the music information in the target corresponding relation to the second user terminal based on the music sharing request.
In one embodiment, when the establishing the corresponding relationship between the location information and the music information of the first user terminal and uploading the corresponding relationship to the cloud server, the method further includes:
and recording the uploading time point of the corresponding relation.
In an embodiment, when obtaining the target corresponding relationship of the cloud server within a preset distance range according to the current location information of the second user terminal, the method further includes:
and screening the corresponding relation according to a preset time range to obtain the target corresponding relation.
In an embodiment, after obtaining the target corresponding relationship of the cloud server within a preset distance range according to the current location information of the second user terminal, the method further includes:
and marking the music information in the target corresponding relation on a map display interface of the second user terminal according to the position information of the first user terminal in the target corresponding relation.
In one embodiment, the indicating music information in the target correspondence on the map display interface of the second user terminal includes:
drawing an icon on a map display interface of the second user terminal, and displaying music information in the target corresponding relation on the icon, wherein the music information comprises a song name and a singer name.
In one embodiment, when providing the music information in the target correspondence to the second user terminal based on the music sharing request, the method further includes:
and determining the uniform resource locator of the music information, and matching the uniform resource locator with the corresponding music resource through a network.
In one embodiment, the receiving the current location information of the second user terminal and the music sharing request includes:
when receiving a music sharing request of the second user terminal, recording the position information of the second user terminal when receiving the music sharing request;
acquiring current position information of the second user terminal;
and when the distance difference between the current position information of the second user terminal and the recorded position information of the second user terminal is greater than a preset distance threshold, updating and receiving the music sharing request of the second user terminal.
In one embodiment, the receiving the current location information of the second user terminal and the music sharing request includes:
recording a time point of receiving the music sharing request when receiving the music sharing request of the second user terminal;
acquiring a current time point;
and updating and receiving the current position information of the second user terminal and the music sharing request when the time interval between the current time point and the recorded time point of the music sharing request is greater than a preset time interval threshold.
In a second aspect, an embodiment of the present invention provides a music sharing apparatus, including:
the information acquisition module is used for acquiring the current position information and the current music listening information of the first user terminal;
a corresponding relation establishing module, configured to establish a corresponding relation between the location information and the music information of the first user terminal;
the corresponding relation uploading module is used for uploading the corresponding relation to a cloud server;
a receiving module, configured to receive current location information of the second user terminal and a music sharing request;
the target corresponding relation acquisition module is used for acquiring the target corresponding relation of the cloud server within a preset distance range according to the current position information of the second user terminal;
and the shared music obtaining module is used for providing the music information in the target corresponding relation to the second user terminal based on the music sharing request.
In one embodiment, the receiving module further comprises:
and the resource matching module is used for determining the uniform resource locator of the music information and matching the uniform resource locator with the corresponding music resource through a network.
One of the technical solutions provided by the embodiments of the present invention has the following advantages or beneficial effects:
in the embodiment of the invention, the current position information and the current music listening information of a first user terminal are firstly obtained; then, establishing a corresponding relation between the position information of the first user terminal and the music information, and uploading the corresponding relation to a cloud server; when receiving the current position information of the second user terminal and the music sharing request; acquiring a target corresponding relation of the cloud server within a preset distance range according to the current position information of the second user terminal; and based on the music sharing request, providing the music information in the target corresponding relation to the second user terminal. Compared with the prior art, in the embodiment, on the basis of the traditional sharing technology, the music information based on the geographic position is further shared between the user terminals in real time, the corresponding relation between the geographic position information and the music is established on the basis of the association between the geographic position information and the music, the corresponding relation is uploaded to the cloud server, other user terminals can actively obtain the music information which is being played around the current position and display the music information on a map, namely, when the music information is actually used, the user terminals can check what songs are being listened to by the user around the current position, and the user terminals can quickly play the songs by clicking icons corresponding to the geographic coordinate points on a navigation map interface of the user terminals, so that better music sharing experience is provided for the user.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a music sharing method according to an embodiment of the present invention;
fig. 2 is a flowchart of a music sharing method according to a second embodiment of the present invention;
fig. 3 is a flowchart of a music sharing method according to a third embodiment of the present invention;
fig. 4 is a flowchart of one embodiment of the cloud server receiving current location information of a second user terminal and a music sharing request according to the first embodiment of the present invention;
fig. 5 is a flowchart illustrating another embodiment of a method for a cloud server to receive current location information of a second user terminal and a music sharing request according to a first embodiment of the present invention;
fig. 6 is a block diagram of a music sharing apparatus according to a second embodiment of the present invention;
fig. 7 is a schematic view of an electronic device according to a third embodiment of the present invention.
Detailed description of the invention
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In accordance with a first aspect of the disclosed embodiments, there is provided a music sharing method, wherein the steps shown in the flowchart of the figure may be executed in a computer system, such as a set of computer executable instructions, and wherein, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in an order different from that shown.
As shown in fig. 1, the music sharing method according to the embodiment of the present invention includes the following steps S11-S15:
s11: acquiring current position information and current music listening information of a first user terminal;
in this embodiment, the current location of the first user terminal is obtained through the longitude and latitude of the location of the first user, and the current music listening information of the first user terminal is obtained, where the music information includes a song name, a singer name, and a uniform resource locator.
S12: establishing a corresponding relation between the position information of the first user terminal and the music information, and uploading the corresponding relation to a cloud server;
in this embodiment, the acquired longitude and latitude information and the music information are in one-to-one correspondence, and a corresponding correspondence is established, and the established correspondence is uploaded to the cloud server and stored in the cloud server.
S13: the cloud server receives current position information and a music sharing request of a second user terminal;
in this embodiment, latitude and longitude information of the current location of the second user terminal and a music sharing request triggered by the latitude and longitude information are received.
S14: acquiring a target corresponding relation of the cloud server within a preset distance range according to the current position information of the second user terminal;
in this embodiment, according to the longitude and latitude information of the second user terminal location, a target corresponding relationship within a preset distance range matching the longitude and latitude information of the second user terminal location is obtained in the cloud server.
S15: and providing the music information in the target corresponding relation to the second user terminal based on the music sharing request.
In this embodiment, based on a music sharing request triggered by a second user terminal, music information in the correspondence relationship acquired in the cloud server is provided to the second user terminal.
In the embodiment, the current position information and the current music listening information of the first user terminal are obtained; establishing a corresponding relation between the position information of the first user terminal and the music information, and uploading the corresponding relation to a cloud server; when the cloud server receives the current position information of the second user terminal and the music sharing request; acquiring a target corresponding relation of the cloud server within a preset distance range according to the current position information of the second user terminal; and based on the music sharing request, providing the music information in the target corresponding relation to the second user terminal. The music information based on the geographic position is shared between the user terminals in real time, the corresponding relation between the geographic position information and the music is established on the basis of the association between the geographic position information and the music, the corresponding relation is uploaded to the cloud server, and a user can actively obtain the corresponding relation around the current position, learn the music information played around the current position and selectively listen to the music information.
In another embodiment, when the establishing the corresponding relationship between the location information and the music information of the first user terminal and uploading the corresponding relationship to the cloud server, the method further includes:
and recording the uploading time point of the corresponding relation.
In this embodiment, the corresponding relationship is matched with the uploaded time points one by one, so that the user can select the corresponding relationship based on the time range when obtaining the corresponding relationship. And when the target corresponding relation of the cloud server within a preset distance range is acquired according to the current position information of the second user terminal, the method further comprises the following steps:
and screening the corresponding relation according to a preset time range to obtain the target corresponding relation.
That is, according to the first aspect of the embodiments of the present disclosure, the second embodiment of the present disclosure provides a music sharing method, it should be noted that the steps shown in the flowchart of the drawings may be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in an order different from that here.
As shown in fig. 2, the music sharing method according to the embodiment of the present invention includes the following steps S21-S25:
s21: acquiring current position information and current music listening information of a first user terminal;
in this embodiment, the current location of the first user terminal is obtained through the longitude and latitude of the location of the first user, and the current music listening information of the first user terminal is obtained, where the music information includes a song name, a singer name, and a uniform resource locator.
S22: establishing a corresponding relation between the position information of the first user terminal and the music information, uploading the corresponding relation to a cloud server, and recording the uploading time point of the corresponding relation;
in this embodiment, the acquired longitude and latitude information and the music information are in one-to-one correspondence, a corresponding correspondence is established, the established correspondence is uploaded to a cloud server and stored in the cloud server, and a time point of uploading the correspondence is recorded.
S23: the cloud server receives current position information and a music sharing request of a second user terminal;
in this embodiment, latitude and longitude information of the current location of the second user terminal and a music sharing request triggered by the latitude and longitude information are received.
S24: acquiring a target corresponding relation of the cloud server within a preset distance range and within a preset time range according to the current position information and the current time of the second user terminal;
in this embodiment, according to the longitude and latitude information of the second user terminal position, a corresponding relationship in a preset distance range matching the longitude and latitude information of the second user terminal position is obtained in the cloud server; and meanwhile, screening the corresponding relation according to a preset time range to obtain the target corresponding relation.
S25: and providing the music information in the target corresponding relation to the second user terminal based on the music sharing request.
In this embodiment, based on a music sharing request triggered by a second user terminal, music information in the correspondence relationship acquired in the cloud server is provided to the second user terminal.
In the embodiment, the current position information and the current music listening information of the first user terminal are obtained; establishing a corresponding relation between the position information of the first user terminal and the music information, uploading the corresponding relation to a cloud server, and recording the uploading time point of the corresponding relation; when the cloud server receives the current position information of the second user terminal and the music sharing request; acquiring a target corresponding relation of the cloud server within a preset time range within a preset distance range according to the current position information and the current time of the second user terminal; and based on the music sharing request, providing the music information in the target corresponding relation to the second user terminal. The method and the device have the advantages that the music information based on the geographic position is shared among the user terminals in real time, the corresponding relation between the geographic position information and the music is established on the basis of association of the geographic position information and the music, the corresponding relation is uploaded to the cloud server, the target corresponding relation meeting the preset distance range and the preset time range is obtained in the cloud server through screening on the basis of the geographic position information and the current time of the user terminals, and the user can actively obtain the music information which is played around the current position and selectively listen to the music.
According to a first aspect of the embodiments of the present disclosure, there is provided a music sharing method, it should be noted that the steps shown in the flowchart of the drawings may be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in an order different from that here.
As shown in fig. 3, the music sharing method according to the embodiment of the present invention includes the following steps S31-S36:
s31: acquiring current position information and current music listening information of a first user terminal;
in this embodiment, the current location of the first user terminal is obtained through the longitude and latitude of the location of the first user, and the current music listening information of the first user terminal is obtained, where the music information includes a song name, a singer name, and a uniform resource locator.
S32: establishing a corresponding relation between the position information of the first user terminal and the music information, uploading the corresponding relation to a cloud server, and recording the uploading time point of the corresponding relation;
in this embodiment, the acquired longitude and latitude information and the music information are in one-to-one correspondence, a corresponding correspondence is established, the established correspondence is uploaded to a cloud server and stored in the cloud server, and a time point of uploading the correspondence is recorded.
S33: the cloud server receives current position information and a music sharing request of a second user terminal;
in this embodiment, latitude and longitude information of the current location of the second user terminal and a music sharing request triggered by the latitude and longitude information are received.
S34: acquiring a target corresponding relation of the cloud server within a preset distance range according to the current position information of the second user terminal;
in this embodiment, according to the longitude and latitude information of the second user terminal position, a corresponding relationship in a preset distance range matching the longitude and latitude information of the second user terminal position is obtained in the cloud server; and meanwhile, screening the corresponding relation according to a preset time range to obtain the target corresponding relation.
S35: and marking the music information in the target corresponding relation on a map display interface of the second user terminal according to the position information of the first user terminal in the target corresponding relation.
In this embodiment, the marking the music information in the target corresponding relationship on the map display interface of the second user terminal includes: drawing an icon on a map display interface of the second user terminal, and displaying music information in the target corresponding relation on the icon, wherein the music information comprises a song name and a singer name.
S36: and providing the music information in the target corresponding relation to the second user terminal based on the music sharing request.
In this embodiment, based on a music sharing request triggered by a second user terminal, music information in the correspondence relationship acquired in the cloud server is provided to the second user terminal.
In the embodiment, the current position information and the current music listening information of the first user terminal are obtained; establishing a corresponding relation between the position information of the first user terminal and the music information, and uploading the corresponding relation to a cloud server; when the cloud server receives the current position information of the second user terminal and the music sharing request; acquiring a target corresponding relation of the cloud server within a preset distance range according to the current position information of the second user terminal; according to the position information of the first user terminal in the target corresponding relation, marking the music information in the target corresponding relation on a map display interface of the second user terminal; and based on the music sharing request, providing the music information in the target corresponding relation to the second user terminal. The method and the device have the advantages that the music information based on the geographic position is shared between the user terminals in real time, the corresponding relation between the geographic position information and the music is established on the basis of the association between the geographic position information and the music, the corresponding relation is uploaded to the cloud server, the user can actively obtain the corresponding relation around the current position, the music information in the corresponding relation is displayed on a map on the basis of the position information, namely, when the method and the device are actually used, the user terminal can be used for checking what songs are listened by the user around the current position, and the songs can be played quickly by clicking icons corresponding to all geographic coordinate points on a navigation map interface of the user terminal, so that better music sharing experience is provided for the user.
In this embodiment, when providing the music information in the target correspondence to the second user terminal based on the music sharing request, the method further includes:
and determining the uniform resource locator of the music information, and matching the uniform resource locator with the corresponding music resource through a network. The second user terminal can play music according to the uniform resource locator and the corresponding music resource without downloading the related music file resource, so that the transmission efficiency is high, and the traffic is effectively saved.
In this embodiment, the receiving the current location information of the second user terminal and the music sharing request, as shown in fig. 4, includes the following steps S131 to S134:
s131: when the cloud server receives a music sharing request of the second user terminal, recording the position information of the second user terminal when the cloud server receives the music sharing request;
s132: acquiring current position information of the second user terminal;
s133: determining whether a distance difference between the current position information of the second user terminal and the recorded position information of the second user terminal is greater than a preset distance threshold, if so, executing S134, otherwise, returning to executing S132;
s134: and the cloud server updates and receives the music sharing request of the second user terminal.
In this embodiment, when the position information of the second user terminal changes and the distance between the current position information of the second user terminal obtained in real time and the recorded position information of the second user terminal when the music sharing request is received is greater than a preset distance threshold, the cloud server updates and receives the music sharing request of the second user terminal.
In this embodiment, the receiving the current location information of the second user terminal and the music sharing request, as shown in fig. 5, further includes the following steps S135 to S138:
s135: when the cloud server receives the music sharing request of the second user terminal, recording the time point when the cloud server receives the music sharing request;
s136: acquiring a current time point;
s137: determining whether the time interval between the current time point and the recorded time point of the music sharing request is greater than a preset time interval threshold, if so, executing S138, otherwise, returning to execute S136;
s138: and the cloud server updates and receives the current position information of the second user terminal and the music sharing request.
According to a second aspect of the embodiments of the present disclosure, a second embodiment of the present disclosure provides a music sharing device, which can be implemented by referring to the implementation of the foregoing method since the principle of the problem solved by the device is similar to the method of the first embodiment, and as shown in fig. 6, the music sharing device 40 for guiding the opportunity includes:
an information obtaining module 41, configured to obtain current location information and current music listening information of the first user terminal;
a corresponding relationship establishing module 42, configured to establish a corresponding relationship between the location information of the first user terminal and the music information;
a correspondence relationship uploading module 43, configured to upload the correspondence relationship to a cloud server;
a receiving module 44, where the receiving module 44 is disposed in the cloud server, and is configured to receive current location information of the second user terminal and a music sharing request;
a target corresponding relationship obtaining module 45, configured to obtain a target corresponding relationship of the cloud server within a preset distance range according to the current position information of the second user terminal;
a shared music obtaining module 46, configured to provide the music information in the target correspondence to the second user terminal based on the music sharing request.
In one embodiment, the receiving module 44 further includes:
and the resource matching module 47 is configured to determine a uniform resource locator of the music information, and match the uniform resource locator with a corresponding music resource through a network.
According to a third aspect of the embodiments of the present disclosure, a third embodiment of the present disclosure further provides an electronic device, as shown in fig. 7, the electronic device including: the processor 50, the memory 51, the bus 52 and the communication interface 53, wherein the processor 50, the communication interface 53 and the memory 51 are connected through the bus 52; the processor 50 is arranged to execute executable modules, such as computer programs, stored in the memory 51. The processor, when executing the program or the program, performs the steps of the method as described in the method embodiments.
The Memory 51 may include a high-speed Random Access Memory (RAM) and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 53 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used.
The bus 52 may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 7, but this does not indicate only one bus or one type of bus.
The memory 51 is used for storing a program, and the processor 50 executes the program after receiving an execution instruction, and the method executed by the apparatus defined by the flow process disclosed in any of the foregoing embodiments of the present invention may be applied to the processor 50, or implemented by the processor 50.
The processor 50 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 50. The Processor 50 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 51, and the processor 50 reads the information in the memory 51 and completes the steps of the method in combination with the hardware thereof.
The computer program product of the method and the device for determining the driving range of the electric vehicle provided by the embodiment of the invention comprises a computer readable storage medium storing program codes, wherein instructions included in the program codes can be used for executing the method described in the foregoing method embodiment, and specific implementation can refer to the method embodiment, which is not described herein again.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In addition, in the description of the embodiments of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A method of music sharing, the method comprising:
acquiring current position information and current music listening information of a first user terminal;
establishing a corresponding relation between the position information of the first user terminal and the music information, and uploading the corresponding relation to a cloud server;
receiving current position information and a music sharing request of a second user terminal;
acquiring a target corresponding relation of the cloud server within a preset distance range according to the current position information of the second user terminal;
and providing the music information in the target corresponding relation to the second user terminal based on the music sharing request.
2. The method according to claim 1, wherein when the corresponding relationship between the location information of the first user terminal and the music information is established and uploaded to a cloud server, the method further comprises:
and recording the uploading time point of the corresponding relation.
3. The method according to claim 2, wherein when obtaining the target correspondence of the cloud server within a preset distance range according to the current location information of the second user terminal, the method further includes:
and screening the corresponding relation according to a preset time range to obtain the target corresponding relation.
4. The method according to claim 1, wherein after obtaining the target corresponding relationship of the cloud server within a preset distance range according to the current location information of the second user terminal, the method further comprises:
and marking the music information in the target corresponding relation on a map display interface of the second user terminal according to the position information of the first user terminal in the target corresponding relation.
5. The method according to claim 4, wherein the marking of the music information in the target correspondence on the map display interface of the second user terminal comprises:
drawing an icon on a map display interface of the second user terminal, and displaying music information in the target corresponding relation on the icon, wherein the music information comprises a song name and a singer name.
6. The method according to claim 1, wherein when providing the music information in the target correspondence to the second user terminal based on the music sharing request, further comprising:
and determining the uniform resource locator of the music information, and matching the uniform resource locator with the corresponding music resource through a network.
7. The method according to claim 1, wherein the receiving the current location information of the second user terminal and the music sharing request comprises:
when receiving a music sharing request of the second user terminal, recording the position information of the second user terminal when receiving the music sharing request;
acquiring current position information of the second user terminal;
and when the distance difference between the current position information of the second user terminal and the recorded position information of the second user terminal is greater than a preset distance threshold, updating and receiving the music sharing request of the second user terminal.
8. The method according to any one of claims 1-7, wherein the receiving the current location information of the second user terminal and the music sharing request comprises:
recording a time point of receiving the music sharing request when receiving the music sharing request of the second user terminal;
acquiring a current time point;
and updating and receiving the current position information of the second user terminal and the music sharing request when the time interval between the current time point and the recorded time point of the music sharing request is greater than a preset time interval threshold.
9. A music sharing apparatus, the apparatus comprising:
the information acquisition module is used for acquiring the current position information and the current music listening information of the first user terminal;
a corresponding relation establishing module, configured to establish a corresponding relation between the location information and the music information of the first user terminal;
the corresponding relation uploading module is used for uploading the corresponding relation to a cloud server;
a receiving module, configured to receive current location information of the second user terminal and a music sharing request;
the target corresponding relation acquisition module is used for acquiring the target corresponding relation of the cloud server within a preset distance range according to the current position information of the second user terminal;
and the shared music obtaining module is used for providing the music information in the target corresponding relation to the second user terminal based on the music sharing request.
10. The apparatus of claim 9, wherein the receiving module further comprises:
and the resource matching module is used for determining the uniform resource locator of the music information and matching the uniform resource locator with the corresponding music resource through a network.
CN201811298801.5A 2018-11-02 2018-11-02 Music sharing method and device Active CN111147531B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811298801.5A CN111147531B (en) 2018-11-02 2018-11-02 Music sharing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811298801.5A CN111147531B (en) 2018-11-02 2018-11-02 Music sharing method and device

Publications (2)

Publication Number Publication Date
CN111147531A true CN111147531A (en) 2020-05-12
CN111147531B CN111147531B (en) 2022-10-25

Family

ID=70515345

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811298801.5A Active CN111147531B (en) 2018-11-02 2018-11-02 Music sharing method and device

Country Status (1)

Country Link
CN (1) CN111147531B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101464881A (en) * 2007-12-21 2009-06-24 音乐会技术公司 Method and system for generating media recommendations in a distributed environment based on tagging play history information with location information
US20100077017A1 (en) * 2008-09-19 2010-03-25 Yahoo! Inc. System and method for distributing media related to a location
CN103532950A (en) * 2013-10-15 2014-01-22 北京奇虎科技有限公司 Method and device for loading and providing network multimedia resources
CN103544256A (en) * 2013-10-15 2014-01-29 北京奇虎科技有限公司 Method and device for providing network multimedia resources
CN104202396A (en) * 2014-09-02 2014-12-10 重庆邮电大学 Information sharing method, device, server, terminal device and system
US9160786B1 (en) * 2012-05-08 2015-10-13 Google Inc. Method for media sharing based on location proximity
CN105245956A (en) * 2015-09-30 2016-01-13 上海车音网络科技有限公司 Audio and video data recommendation method, device and system
CN105791334A (en) * 2014-12-17 2016-07-20 中兴通讯股份有限公司 Multimedia data processing method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101464881A (en) * 2007-12-21 2009-06-24 音乐会技术公司 Method and system for generating media recommendations in a distributed environment based on tagging play history information with location information
US20100077017A1 (en) * 2008-09-19 2010-03-25 Yahoo! Inc. System and method for distributing media related to a location
US9160786B1 (en) * 2012-05-08 2015-10-13 Google Inc. Method for media sharing based on location proximity
CN103532950A (en) * 2013-10-15 2014-01-22 北京奇虎科技有限公司 Method and device for loading and providing network multimedia resources
CN103544256A (en) * 2013-10-15 2014-01-29 北京奇虎科技有限公司 Method and device for providing network multimedia resources
CN104202396A (en) * 2014-09-02 2014-12-10 重庆邮电大学 Information sharing method, device, server, terminal device and system
CN105791334A (en) * 2014-12-17 2016-07-20 中兴通讯股份有限公司 Multimedia data processing method and device
CN105245956A (en) * 2015-09-30 2016-01-13 上海车音网络科技有限公司 Audio and video data recommendation method, device and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ZHE-YI ZHAO DEL: ""Music Sharing Platform Based on Sina App Engine"", 《2015 NINTH INTERNATIONAL CONFERENCE ON FRONTIER OF COMPUTER SCIENCE AND TECHNOLOGY》 *
肖大薇等: "基于位置服务的消息分享软件的设计", 《科技创新导报》 *

Also Published As

Publication number Publication date
CN111147531B (en) 2022-10-25

Similar Documents

Publication Publication Date Title
CN104202396B (en) A kind of information sharing method, device, server, terminal device and system
CN107431896B (en) Wireless coverage verification based on connection technology
JP6442081B2 (en) Application recommendation method, server, and computer-readable medium
CN107798557B (en) Electronic device, service place recommendation method based on LBS data and storage medium
CN108932331B (en) Map data updating method, device and system
CN108494799B (en) Data sharing method and system
CN104683458B (en) The method and server that a kind of wallpaper is recommended
WO2017076183A1 (en) Multimedia object recommendation method, device, system, terminal, and server
TW201616879A (en) Pushing information
CN108681459B (en) Firmware updating method, device and system for intelligent hardware equipment
CN107038589B (en) A kind of entity information verification method and device
CN103916435A (en) Method and device for judging authenticity of information
CN103024730B (en) A kind of application method for down loading, terminal and server
CN107864044A (en) A kind of information processing method and device, terminal and readable storage medium storing program for executing
US20150280979A1 (en) Application configuring
CN111147531B (en) Music sharing method and device
CN103813014B (en) A kind of information processing method and electronic equipment
CN110786028A (en) Application resource processing method and related product
CN109857295B (en) Focus control method and device and storage medium
CN108280199B (en) Map switching method and device
CN116661920A (en) Automatic switching method, device, equipment, system and medium for internet pages
CN107632772B (en) Song sharing method and user terminal
CN115988546A (en) Method and device for determining stay time of target object in target area
EP2924564A1 (en) Application configuring
CN112579956A (en) Website account management method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 110000 No. 861-6, shangshengou village, Hunnan District, Shenyang City, Liaoning Province

Applicant after: Shenyang Meihang Technology Co.,Ltd.

Address before: 110167 13th floor, Debao building, No. 1, Jinhui street, Hunnan New Area, Shenyang, Liaoning

Applicant before: SHENYANG MXNAVI Co.,Ltd.

GR01 Patent grant
GR01 Patent grant