CN110881132B - Method and related device for checking distance between live broadcast rooms - Google Patents

Method and related device for checking distance between live broadcast rooms Download PDF

Info

Publication number
CN110881132B
CN110881132B CN201811036779.7A CN201811036779A CN110881132B CN 110881132 B CN110881132 B CN 110881132B CN 201811036779 A CN201811036779 A CN 201811036779A CN 110881132 B CN110881132 B CN 110881132B
Authority
CN
China
Prior art keywords
user
information
client
live video
live
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.)
Active
Application number
CN201811036779.7A
Other languages
Chinese (zh)
Other versions
CN110881132A (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.)
Wuhan Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu Network Technology 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 Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201811036779.7A priority Critical patent/CN110881132B/en
Publication of CN110881132A publication Critical patent/CN110881132A/en
Application granted granted Critical
Publication of CN110881132B publication Critical patent/CN110881132B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention discloses a method for checking the distance between live broadcasting rooms and a related device thereof. The method provided by the embodiment of the invention comprises the following steps: acquiring a live broadcast request of a first client and first position information of a first user; then, acquiring a first live video of a first user according to the live request; inserting the first position information into the first live video to obtain a second live video; then, a watching request of a second client and second position information of a second user are obtained; determining distance information between the first user and the second user according to the first position information in the second live video and the second position information of the first user; generating a third live video according to the distance information and the second live video; and finally, the third live video is sent to the second client according to the watching request, and the user can intuitively acquire the distance between the live room and the user on the client interface, namely the user can select the live video according to the acquired distance between the live room and the user, so that the user experience is improved.

Description

Method for checking distance between live broadcasting rooms and related device thereof
Technical Field
The invention relates to the field of live broadcasting, in particular to a method for viewing a distance between live broadcasting rooms and a related device thereof.
Background
With the development of smart devices (such as smart phones, tablet computers, smart televisions, and the like), more and more users use various functions of smart devices, where a video playing Application (App) or a live App that can watch live videos is one of applications that people commonly use. An existing video playing application program can receive live video uploaded by a user and other users can watch the live video.
In the process of implementing the invention, the inventor finds that in the prior art, the display interface of the live broadcast APP does not support the exposure of the anchor position information, and if the display interface does not support the exposure of the information near or in the same city, the user cannot judge the distance between live broadcasts and the user experience is poor.
Disclosure of Invention
The embodiment of the invention provides a method and a related device for checking the distance between live broadcast rooms, which are used for acquiring the distance information between the live broadcast rooms and users and improving the user experience.
In a first aspect, an embodiment of the present invention provides a method for viewing a distance between live broadcasts, which specifically includes:
acquiring a live broadcast request of a first client, wherein the first client corresponds to the live broadcast room;
acquiring first position information of a first user, wherein the first user is a user using the first client;
acquiring a first live video of the first user according to the live broadcast request, wherein the first live video does not contain the first position information;
inserting the first position information into the first live video to obtain a second live video, wherein the second live video comprises the first live video and the first position information;
obtaining a watching request of a second client, wherein the watching request is used for requesting to watch a live video;
acquiring second position information of a second user, wherein the second user is a user using the second client;
determining distance information between the first user and the second user according to the first position information in the second live video and the second position information of the first user;
generating a third live video according to the distance information and the second live video;
and sending the third live video to the second client according to the watching request, so that the second user can watch the distance information between the live room and the first user while acquiring the live video information.
In one possible design, the obtaining the first location information of the first user includes:
acquiring first longitude and latitude information of the first client, determining the position information of the first client according to the first longitude and latitude information, and determining the position information of the first client as the first position information.
In one possible design, the obtaining second location information of the second user includes:
and acquiring second longitude and latitude information of the second client, determining the position information of the second client according to the second longitude and latitude information, and determining the position information of the second client as the second position information.
In one possible design, before sending the third live video to the second client according to the viewing request, the method further includes:
obtaining threshold distance information sent by the second client;
and judging whether the distance contained in the distance information is smaller than the distance contained in the threshold distance information.
In one possible design, the sending the third live video to the second client according to the viewing request includes:
and if the distance contained in the distance information is smaller than the distance contained in the threshold distance information, sending the third live video to a nearby list in the second client according to the watching request.
In a second aspect, an embodiment of the present invention provides an apparatus for viewing a distance between live broadcasts, which specifically includes:
the first acquisition unit is used for acquiring a live broadcast request of a first client, and the first client corresponds to the live broadcast room;
a second obtaining unit, configured to obtain first location information of a first user, where the first user is a user using the first client;
a third obtaining unit, configured to obtain a first live video of the first user according to the live broadcast request, where the first live video does not include the first location information;
an inserting unit, configured to insert the first location information into the first live video to obtain a second live video, where the second live video includes the first live video and the first location information;
the fourth acquisition unit is used for acquiring a watching request of the second client, wherein the watching request is used for requesting to watch the live video;
a fifth obtaining unit, configured to obtain second location information of a second user, where the second user is a user using the second client;
a determining unit, configured to determine distance information between the first user and the second user according to the first location information in the second live video and the second location information of the first user;
the generating unit is used for generating a third live video according to the distance information and the second live video;
and the sending unit is used for sending the third live video to the second client according to the watching request, so that the second user can view the distance information between the live room and the first user while acquiring the live video information.
In one possible design, the apparatus further includes:
a sixth obtaining unit, configured to obtain threshold distance information sent by the second client;
a determination unit configured to determine whether the distance included in the distance information is smaller than the distance included in the threshold distance information.
In one possible design, the sending unit includes:
a sending subunit, configured to send the third live video to a vicinity list in the second client according to the viewing request when the distance included in the distance information is smaller than the distance included in the threshold distance information.
In one possible design, the second obtaining unit includes:
the first acquiring subunit is configured to acquire first longitude and latitude information of the first client, determine location information of the first client according to the first longitude and latitude information, and determine the location information of the first client as the first location information.
In one possible design, the fifth obtaining unit includes:
and the second acquiring subunit is configured to acquire second longitude and latitude information of the second client, determine the location information of the second client according to the second longitude and latitude information, and determine the location information of the second client as the second location information.
Yet another aspect of the present invention provides a computer-readable storage medium having stored therein instructions, which, when executed on a computer, cause the computer to perform the method of the above-described aspects.
Yet another aspect of the present invention provides a computer program product containing instructions which, when run on a computer, cause the computer to perform the method of the above aspects.
According to the technical scheme, the embodiment of the invention has the following advantages: acquiring a live broadcast request of a first client and first position information of a first user; then, acquiring a first live video of the first user according to the live request; inserting the first position information into the first live video to obtain a second live video; then, a watching request of a second client and second position information of a second user are obtained; determining distance information between the first user and the second user according to the first position information in the second live video and the second position information of the first user; generating a third live video according to the distance information and the second live video; and finally, the third live video is sent to the second client according to the watching request, so that the second user can watch the distance information between the second user and the live video while acquiring the live video information, and the user experience is improved.
Drawings
Fig. 1 is a schematic flowchart of a method for viewing a distance between live webcasts according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a display interface of a user terminal according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an apparatus for viewing a distance between live broadcast rooms according to an embodiment of the present invention;
fig. 4 is a schematic hardware structure diagram of an apparatus for viewing a distance between live broadcast rooms according to an embodiment of the present invention;
fig. 5 is a schematic diagram of an embodiment of an electronic device according to an embodiment of the present invention;
fig. 6 is a schematic diagram of an embodiment of a computer-readable storage medium according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a method and a related device for checking the distance between live broadcast rooms, which are used for acquiring the distance information between the live broadcast rooms and users and improving the user experience.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that, in the embodiment of the present invention, the device for viewing the distance between live broadcast rooms may be a server, may also be a service unit in the server, and may also be another device, which is not limited herein.
Referring to fig. 1, fig. 1 is a schematic diagram of an embodiment of a method for viewing a distance between live broadcast rooms, where the method includes:
101. and acquiring a live broadcast request of a first client.
In this embodiment, when a first user needs to perform live broadcasting, for example, the live broadcasting is performed through a fish spear APP on a mobile phone, a live broadcasting request needs to be sent to a device for checking a distance between live broadcasting rooms, the device can send a live broadcasting permission response instruction to a first client after receiving the live broadcasting request, and the first client performs live broadcasting after receiving the live broadcasting permission response, where the first user is a user using the first client, and the first client corresponds to the live broadcasting room of the first user.
It should be noted that the first client in the present invention may be a smart phone, a tablet computer, a smart television, and the like, and the specific device is not limited herein.
102. First position information of a first user is acquired.
In this embodiment, when the device for viewing the live broadcast distance receives a live broadcast request of the first user, first location information of the first user is further to be acquired, where the acquiring of the first location information of the first user may specifically be to acquire first longitude and latitude information of the first client, determine location information of the first client according to the first longitude and latitude information, and determine the location information of the first client as the first location information, where the location information may be city name information or other information, and is not limited herein.
103. And acquiring a first live video of the first user according to the live request.
In this embodiment, after the first client acquires the live broadcast permission response instruction sent by the device for viewing the distance between live broadcast rooms according to the live broadcast request, live broadcast is started to acquire the first live broadcast video, the first live broadcast video is sent to the device for viewing the distance between live broadcast rooms, and the device for viewing the distance between live broadcast rooms acquires and stores the first live broadcast video.
104. And inserting the first position information into the first live video to obtain a second live video.
In this embodiment, when the device for viewing the distance between live broadcasting rooms acquires the first position information and acquires the first live video, the first position information is inserted into the first live video to acquire the second live video, where the second live video includes the first live video and the first position information.
105. And acquiring a watching request of the second client.
In this embodiment, when the second user wants to watch the live video through the second client, a watching request needs to be sent to the device for checking the distance between the live rooms.
It should be noted that the second client in the present invention may be a smart phone, a tablet computer, a smart television, and the like, and the specific device is not limited herein.
106. Second location information of a second user is obtained.
In this embodiment, the second client sends the viewing request to the device for viewing the distance between live broadcast rooms, and at the same time, needs to send the second location information of the second user to the device for viewing the distance between live broadcast rooms, where the device for viewing the distance between live broadcast rooms obtains the second location information of the second user specifically: and acquiring second longitude and latitude information of the second client, determining the position information of the second client according to the second longitude and latitude information, and determining the position information of the second client as the second position information.
107. And determining distance information between the first user and the second user according to the first position information in the second live video and the second position information of the first user.
In this embodiment, after the device for viewing the distance between the live broadcast rooms acquires the first location information and the second location information, the distance information between the first user and the second user needs to be determined according to the first location information and the second location information, where the distance information is within 300km (including 300km) and is accurate to 0.01 km; the accuracy is 1km after more than 300km, and only information such as city place names and the like can be displayed without displaying the distance.
108. And generating a third live video according to the distance information and the second live video.
In this embodiment, after the device for viewing the distance between the live broadcast rooms acquires the distance information between the first user and the second user, a third live broadcast video is generated according to the distance information and the second live broadcast video, where the third live broadcast video carries the distance information between the first user and the second user in addition to the second live broadcast video.
109. And obtaining threshold distance information sent by the second client.
In the embodiment of the invention, when the second user only wants to acquire the live video within 30km from the second user, the threshold distance information (30km) is sent to the device for viewing the distance between the live rooms, and after the device for viewing the distance between the live rooms receives the threshold distance information, the live video with the distance between the live rooms of the live videos and the second user being less than 30km is screened out.
110. And judging whether the distance contained in the distance information is smaller than the distance contained in the threshold distance information, if so, executing step 111, and if not, executing step 112.
After the device for checking the live broadcast room distance acquires the threshold distance information and the distance information from the live broadcast room, whether the distance contained in the distance information is smaller than the distance contained in the threshold distance information is judged, and if the distance contained in the distance information is 10km and the distance contained in the threshold distance information is 30km, the distance contained in the distance information at this time is smaller than the distance contained in the threshold distance information.
111. And sending the third live video to a nearby list in the second client according to the watching request.
In this embodiment, when it is determined according to step 110 that the distance included in the distance information is smaller than the distance included in the threshold distance information, the third live video is sent to a vicinity list in the second client at this time, where the third live video is arranged in the vicinity list of the second client in order of decreasing distance from small to large, and at this time, the second user can visually check the distance between the live room and the second user, and can also check city information of the live room, that is, if the user only wants to see the live room within 30km of the second user, only the live room within 30km of the second user is displayed in the vicinity list of the second client.
Besides sending the third live video to the nearby list in the second client, other live videos meeting the condition (the distance between live videos is smaller than the threshold distance) are also sent to the nearby list of the second client, and the arrangement sequence of the live videos is arranged from near to far according to the distance with the second client. The acquisition manner of other live videos is similar to that of the third video, and details are not described here.
112. And sending the third live video to a common list in the second client.
In this embodiment, when it is determined that the distance included in the distance information is not smaller than the distance included in the threshold distance information according to step 110, the third live video is not sent to the vicinity list of the second client, but may be sent to a general list of the second client, where the general list is a list other than the vicinity list, for example, a live list.
It should be noted that the client involved in the present invention needs to add location information.
On the anchor side, if the current user allows to access the positioning information, the current city is automatically positioned (the positioning city information is consistent with the information acquired by 'i want to broadcast'); in addition, clicking on the currently located city can close the location information (display: location: off); click again on "locate: off, if the positioning city can be obtained (the positioning city is obtained from the positioning or is obtained from the cache), the positioning information (such as the city name) is displayed; if the acquisition fails, displaying 'positioning failure';
if the current user closes the positioning information (or forbids the positioning authority) and no positioning city cache exists, displaying: positioning failure (when a positioning city cache exists, displaying cached positioning city information);
when the positioning/acquisition fails, the city information cannot be exposed at the user side during the live broadcast;
when the positioning is abroad, if the positioning can be accurate to the city, the city information is exposed; if the city can not be accurately reached to a foreign city, only the name of the country needs to be exposed;
in the live broadcasting process, position information needs to be provided to a server (a device for viewing the distance between live broadcasting rooms) at regular time.
On the user side, in the voice live broadcast list, on the premise that the city information and the distance information of the live broadcast room can be obtained, the corresponding card can expose the positioned distance information and the city information of the live broadcast room, and a display interface can be shown as fig. 2, wherein in fig. 2, "22.2 km" at the upper right corner of a picture is the distance information, and "wuhan" at the lower right corner is the city information of the live broadcast room;
if the positioning information of the live broadcast room cannot be acquired, displaying the fishpond or other information, and the specific description is not limited herein.
City information and distance information are only displayed on a mobile station, and the city information and the distance information are not displayed temporarily on a Personal Computer (PC) end;
the city name shows four Chinese characters at most, and those with more than 4 Chinese characters show.
And displaying a nearby voice live broadcast room under a nearby label tab of the display interface:
1. the current positioning information of the user can be acquired: sequentially recommending live broadcast rooms which are nearest to the user and are carrying out voice live broadcast by taking the user as a center;
within 300km (including 300km), and the accuracy is 0.01 km; if the distance is not displayed, the distance is more than 300km, only city information is displayed, or the display distance is accurate to 1 km;
displaying the top 100 live broadcast rooms at most in the list, and displaying all live broadcast rooms under the condition that the total number of the live broadcast rooms is less than 100 (at the moment, sorting according to the distance);
if no voice live broadcast room can be displayed, the file prompts the user that 'the vicinity of you is not played for a while-' + 'becomes a vicinity playing first person' button, and the user is guided to play by clicking the button;
and when the live broadcast room fails to be acquired, prompting a user that the current network is unavailable, and guiding to set the network.
2. When the current positioning information of the user cannot be acquired: the case prompts "want to view nearby live broadcasts? Please authorize the fighting fish to obtain the position authority "+" go to set "button, click the" go to set "button, jump to the setting page of the system.
In summary, it can be seen that, in the embodiment of the present invention, a live broadcast request of a first client and first location information of a first user may be obtained; then, acquiring a first live video of the first user according to the live request; inserting the first position information into the first live video to obtain a second live video; then, a watching request of a second client and second position information of a second user are obtained; determining distance information between the first user and the second user according to the first position information in the second live video and the second position information of the first user; generating a third live video according to the distance information and the second live video; and finally, the third live video is sent to the second client according to the watching request, so that the second user can watch the distance information between the second user and the live video while acquiring the live video information, and the user experience is improved.
The method for viewing the distance between live broadcast rooms in the embodiment of the present invention is described above, and the apparatus for viewing the distance between live broadcast rooms in the embodiment of the present invention is described below.
Referring to fig. 3, an embodiment of an apparatus for viewing a distance between live channels according to an embodiment of the present invention includes:
a first obtaining unit 301, configured to obtain a live broadcast request of a first client, where the first client corresponds to the live broadcast room;
a second obtaining unit 302, configured to obtain first location information of a first user, where the first user is a user using the first client;
wherein, the second obtaining unit 302 includes:
a first obtaining subunit 3021, configured to obtain first longitude and latitude information of the first client, determine location information of the first client according to the first longitude and latitude information, and determine the location information of the first client as the first location information.
A third obtaining unit 303, configured to obtain a first live video of the first user according to the live broadcast request, where the first live video does not include the first location information;
an inserting unit 304, configured to insert the first location information into the first live video to obtain a second live video, where the second live video includes the first live video and the first location information;
a fourth obtaining unit 305, configured to obtain a viewing request of the second client, where the viewing request is used to request to view a live video;
a fifth obtaining unit 306, configured to obtain second location information of a second user, where the second user is a user using the second client;
wherein, the fifth obtaining unit 306 includes:
a second obtaining subunit 3061, configured to obtain second longitude and latitude information of the second client, determine the location information of the second client according to the second longitude and latitude information, and determine the location information of the second client as the second location information.
A determining unit 307, configured to determine distance information between the first user and the second user according to the first location information in the second live video and the second location information of the first user;
a generating unit 308, configured to generate a third live video according to the distance information and the second live video;
a sixth obtaining unit 309, configured to obtain threshold distance information sent by the second client;
a determining unit 310, configured to determine whether the distance included in the distance information is smaller than the distance included in the threshold distance information.
A sending unit 311, configured to send the third live video to the second client according to the viewing request, so that the second user views the distance information between the live room and the first user while acquiring live video information.
The sending unit 311 specifically includes:
a sending subunit 3111, configured to send the third live video to a vicinity list in the second client according to the viewing request when the distance included in the distance information is smaller than the distance included in the threshold distance information.
Fig. 3 above describes the apparatus for viewing a distance between live broadcasts in an embodiment of the present invention from the perspective of a modular functional entity, and the apparatus for viewing a distance between live broadcasts in an embodiment of the present invention is described in detail below from the perspective of hardware processing, referring to fig. 4, an embodiment of an apparatus 400 for viewing a distance between live broadcasts in an embodiment of the present invention includes:
an input device 401, an output device 402, a processor 403 and a memory 404 (wherein the number of the processor 403 may be one or more, and one processor 403 is taken as an example in fig. 4). In some embodiments of the present invention, the input device 401, the output device 402, the processor 403 and the memory 404 may be connected by a bus or other means, wherein the connection by the bus is exemplified in fig. 4.
Wherein, by calling the operation instruction stored in the memory 404, the processor 403 is configured to execute the following steps:
acquiring a live broadcast request of a first client, wherein the first client corresponds to the live broadcast room;
acquiring first position information of a first user, wherein the first user is a user using the first client;
acquiring a first live video of the first user according to the live broadcast request, wherein the first live video does not contain the first position information;
inserting the first position information into the first live video to obtain a second live video, wherein the second live video comprises the first live video and the first position information;
obtaining a watching request of a second client, wherein the watching request is used for requesting to watch a live video;
acquiring second position information of a second user, wherein the second user is a user using the second client;
determining distance information between the first user and the second user according to the first position information in the second live video and the second position information of the first user;
generating a third live video according to the distance information and the second live video;
and sending the third live video to the second client according to the watching request, so that the second user can watch the distance information between the live room and the first user while acquiring the live video information.
Referring to fig. 5, fig. 5 is a schematic view of an embodiment of an electronic device according to an embodiment of the invention.
As shown in fig. 5, an embodiment of the present invention provides an electronic device, which includes a memory 510, a processor 520, and a computer program 511 stored in the memory 520 and running on the processor 520, wherein the processor 520 executes the computer program 511 to implement the following steps:
acquiring a live broadcast request of a first client, wherein the first client corresponds to the live broadcast room;
acquiring first position information of a first user, wherein the first user is a user using the first client;
acquiring a first live video of the first user according to the live broadcast request, wherein the first live video does not contain the first position information;
inserting the first position information into the first live video to obtain a second live video, wherein the second live video comprises the first live video and the first position information;
acquiring a watching request of a second client, wherein the watching request is used for requesting to watch a live video;
acquiring second position information of a second user, wherein the second user is a user using the second client;
determining distance information between the first user and the second user according to the first position information in the second live video and the second position information of the first user;
generating a third live video according to the distance information and the second live video;
and sending the third live video to the second client according to the watching request, so that the second user can watch the distance information between the live room and the first user while acquiring the live video information.
Referring to fig. 6, fig. 6 is a schematic diagram illustrating an embodiment of a computer-readable storage medium according to the present invention.
As shown in fig. 6, the present embodiment provides a computer-readable storage medium 600 on which a computer program 611 is stored, the computer program 611 implementing the following steps when executed by a processor:
acquiring a live broadcast request of a first client, wherein the first client corresponds to the live broadcast room;
acquiring first position information of a first user, wherein the first user is a user using the first client;
acquiring a first live video of the first user according to the live broadcast request, wherein the first live video does not contain the first position information;
inserting the first position information into the first live video to obtain a second live video, wherein the second live video comprises the first live video and the first position information;
acquiring a watching request of a second client, wherein the watching request is used for requesting to watch a live video;
acquiring second position information of a second user, wherein the second user is a user using the second client;
determining distance information between the first user and the second user according to the first position information in the second live video and the second position information of the first user;
generating a third live video according to the distance information and the second live video;
and sending the third live video to the second client according to the watching request, so that the second user can watch the distance information between the live room and the first user while acquiring the live video information.
It should be noted that, in the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to relevant descriptions of other embodiments for parts that are not described in detail in a certain embodiment.
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, CD-ROM, 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 computer, 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.
Embodiments of the present invention further provide a computer program product, where the computer program product includes computer software instructions, and when the computer software instructions are executed on a processing device, the processing device executes a flow in the method for designing a wind farm digital platform in the embodiment corresponding to fig. 1.
The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can store or a data storage device, such as a server, a data center, etc., that is integrated with one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit 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: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (6)

1. A method of viewing live space distance, comprising:
acquiring a live broadcast request of a first client, wherein the first client corresponds to the live broadcast room;
acquiring first position information of a first user, wherein the first user is a user using the first client;
acquiring a first live video of the first user according to the live broadcast request, wherein the first live video does not contain the first position information;
inserting the first position information into the first live video to obtain a second live video, wherein the second live video comprises the first live video and the first position information;
acquiring a watching request of a second client, wherein the watching request is used for requesting to watch a live video;
acquiring second position information of a second user, wherein the second user is a user using the second client;
determining distance information between the first user and the second user according to the first position information in the second live video and the second position information of the first user;
generating a third live video according to the distance information and the second live video;
obtaining threshold distance information sent by the second client;
when the distance included in the distance information is smaller than the distance included in the threshold distance information, sending the third live video to a nearby list in the second client according to the watching request;
and when the distance contained in the distance information is greater than or equal to the distance contained in the threshold distance information, sending the third live video to a common list in the second client according to the watching request.
2. The method of claim 1, wherein obtaining the first location information of the first user comprises:
obtaining first longitude and latitude information of the first client, determining the position information of the first client according to the first longitude and latitude information, and determining the position information of the first client as the first position information.
3. The method of claim 1, wherein the obtaining the second location information of the second user comprises:
and acquiring second longitude and latitude information of the second client, determining the position information of the second client according to the second longitude and latitude information, and determining the position information of the second client as the second position information.
4. An apparatus for viewing live room distance, comprising:
the first acquisition unit is used for acquiring a live broadcast request of a first client, and the first client corresponds to the live broadcast room;
a second obtaining unit, configured to obtain first location information of a first user, where the first user is a user using the first client;
a third obtaining unit, configured to obtain a first live video of the first user according to the live broadcast request, where the first live video does not include the first location information;
an inserting unit, configured to insert the first location information into the first live video to obtain a second live video, where the second live video includes the first live video and the first location information;
a fourth obtaining unit, configured to obtain a viewing request of a second client, where the viewing request is used to request to view a live video;
a fifth obtaining unit, configured to obtain second location information of a second user, where the second user is a user using the second client;
a determining unit, configured to determine distance information between the first user and the second user according to the first location information in the second live video and the second location information of the first user;
the generating unit is used for generating a third live video according to the distance information and the second live video;
a sixth obtaining unit, configured to obtain threshold distance information sent by the second client;
a sending unit, configured to send the third live video to a vicinity list in the second client according to the viewing request when a distance included in the distance information is smaller than a distance included in the threshold distance information;
the sending unit further includes a sending subunit, configured to send the third live video to a general list in the second client according to the viewing request when the distance included in the distance information is greater than or equal to the distance included in the threshold distance information.
5. An electronic device comprising a memory, a processor, wherein the processor is configured to implement the steps of the method of viewing live-to-live distances of any one of claims 1 to 3 when executing a computer management-like program stored in the memory.
6. A computer-readable storage medium having stored thereon a computer management-like program, characterized in that: the computer management class program when executed by a processor implementing the steps of the method of viewing live-room distance of any of claims 1 to 3.
CN201811036779.7A 2018-09-06 2018-09-06 Method and related device for checking distance between live broadcast rooms Active CN110881132B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811036779.7A CN110881132B (en) 2018-09-06 2018-09-06 Method and related device for checking distance between live broadcast rooms

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811036779.7A CN110881132B (en) 2018-09-06 2018-09-06 Method and related device for checking distance between live broadcast rooms

Publications (2)

Publication Number Publication Date
CN110881132A CN110881132A (en) 2020-03-13
CN110881132B true CN110881132B (en) 2022-06-21

Family

ID=69727473

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811036779.7A Active CN110881132B (en) 2018-09-06 2018-09-06 Method and related device for checking distance between live broadcast rooms

Country Status (1)

Country Link
CN (1) CN110881132B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114268803B (en) * 2021-12-21 2023-10-17 北京字跳网络技术有限公司 Live video display method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4966436B1 (en) * 2011-10-07 2012-07-04 庸美 徳原 Billing electronic advertising system
CN106341693A (en) * 2016-08-19 2017-01-18 天脉聚源(北京)传媒科技有限公司 Live broadcasting prompting method and device
CN106604049A (en) * 2016-12-19 2017-04-26 天脉聚源(北京)传媒科技有限公司 Direct broadcast video obtaining method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105472414A (en) * 2015-11-20 2016-04-06 珠海多玩信息技术有限公司 On-line-direct-broadcasting-interaction-based method and client
CN106303603B (en) * 2016-08-16 2019-04-23 武汉斗鱼网络科技有限公司 A kind of system and method for realizing main broadcaster's search nearby based on Map Services

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4966436B1 (en) * 2011-10-07 2012-07-04 庸美 徳原 Billing electronic advertising system
CN106341693A (en) * 2016-08-19 2017-01-18 天脉聚源(北京)传媒科技有限公司 Live broadcasting prompting method and device
CN106604049A (en) * 2016-12-19 2017-04-26 天脉聚源(北京)传媒科技有限公司 Direct broadcast video obtaining method and device

Also Published As

Publication number Publication date
CN110881132A (en) 2020-03-13

Similar Documents

Publication Publication Date Title
US10065119B2 (en) Game accessing method and processing method, server, terminal, and system
US20120036218A1 (en) Apparatus and method for sharing application with a portable terminal
CN106375860B (en) Video playing method, device, terminal and server
CN103314384A (en) Methods and systems for managing device specific content
US20170171329A1 (en) Video recommendaton method and system, and server
CN110740088B (en) Method, device, terminal and medium for recommending and adding social resources
CN104867097A (en) Method and device for generating watermark picture
CN111259241B (en) Information processing method and device and storage medium
CN111432274A (en) Video processing method and device
CN110881132B (en) Method and related device for checking distance between live broadcast rooms
CN112788090B (en) Network resource transmission method, device and system
CN106911559B (en) Method and device for establishing voice connection
CN106095822B (en) Software recommendation method and device and server
CN103874014A (en) Terminal location information-based business service method, service provision device and terminal
KR20140016714A (en) Apparatus and method for providing religion live broadcast contents
CN104079697A (en) Contact avatar setting method and mobile terminal
CN111885139B (en) Content sharing method, device and system, mobile terminal and server
CN112291602B (en) Video playing method, electronic equipment and storage medium
CN114125044A (en) Message pushing method and device based on object characteristics and storage medium
CN106254955A (en) A kind of method and device showing review information
CN106653070B (en) Audio node insertion method and device and terminal equipment
CN109561050B (en) Method and device for identifying batch account numbers
CN107241437B (en) Data processing method and device
CN106162540A (en) Location-based information push method and device
US20190087468A1 (en) Status streaming pop-up map

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
GR01 Patent grant
GR01 Patent grant