CN108449391A - A kind of calling method and calling system - Google Patents
A kind of calling method and calling system Download PDFInfo
- Publication number
- CN108449391A CN108449391A CN201810169185.7A CN201810169185A CN108449391A CN 108449391 A CN108449391 A CN 108449391A CN 201810169185 A CN201810169185 A CN 201810169185A CN 108449391 A CN108449391 A CN 108449391A
- Authority
- CN
- China
- Prior art keywords
- calling
- client
- information
- call
- notice
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 230000004044 response Effects 0.000 claims abstract description 7
- 230000006870 function Effects 0.000 claims description 43
- 238000012544 monitoring process Methods 0.000 claims description 13
- 230000005540 biological transmission Effects 0.000 claims description 4
- 238000004891 communication Methods 0.000 claims description 4
- 230000009191 jumping Effects 0.000 claims description 3
- 230000008569 process Effects 0.000 abstract description 7
- 230000000694 effects Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 5
- 235000010627 Phaseolus vulgaris Nutrition 0.000 description 3
- 244000046052 Phaseolus vulgaris Species 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/148—Migration or transfer of sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/75—Indicating network or usage conditions on the user display
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/258—Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
- H04N21/25808—Management of client data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/438—Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving encoded video stream packets from an IP network
- H04N21/4383—Accessing a communication channel
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4788—Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/65—Transmission of management data between client and server
- H04N21/654—Transmission by server directed to the client
- H04N21/6543—Transmission by server directed to the client for forcing some client operations, e.g. recording
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/858—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
- H04N21/8586—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- General Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Computer Graphics (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Telephonic Communication Services (AREA)
- Information Transfer Between Computers (AREA)
Abstract
An embodiment of the present invention provides a kind of calling method and calling system, which includes server-side and the first client communicated to connect with server-side and the second client, this method include:First client initiates calling request when detecting that the calling entrance pre-established is clicked, to server-side;For server-side after receiving calling request, the second client being directed toward to calling request sends calling information corresponding with calling request;Second client obtains corresponding calling after receiving calling information, according to calling information and notifies;Second client end response calling notice, and jump to the target direct broadcasting room that calling notice carries from currently playing interface.The calling scheme can automatically be called in direct broadcasting room, realize the process of an automation, and specific aim is stronger, and calling drainage effect is more preferably.
Description
Technical field
The present invention relates to Internet application and development technical fields, in particular to a kind of calling method and calling system.
Background technology
In net cast field, it will usually which there are certain users to be concerned journey in order to increase the main broadcaster oneself liked
Degree is liked to which the live information of the main broadcaster liked is shared circle of friends or QQ groups in a manner of manually advertising
Main broadcaster gathers bean vermicelli, to have the function that drainage.But this mode needs manual operation with sharing information, leads to complicated for operation and needle
It is not strong to property.
Invention content
In view of this, the object of the present invention is to provide a kind of calling methods and calling system to solve the above problems.
Presently preferred embodiments of the present invention provides a kind of calling method, is applied to calling system, which includes service
End, and the first client and the second client with server-side communication connection respectively, the method includes:
First client is initiated to call when detecting that the calling entrance pre-established is clicked, to the server-side
Request;
The server-side after receiving calling request, the second client for being directed toward to the calling request send with
Corresponding calling information is asked in the calling;
It is logical that second client obtains corresponding calling after receiving the calling information, according to the calling information
Know;
Notice is called described in second client end response, and is jumped to the calling notice from currently playing interface and carried
Target direct broadcasting room.
Further, the calling entrance is obtained by following steps:
First client is using the alloc functions in button class to create calling access information;
Using imageNamed functions it is that entrance picture is called in calling access information setting, and by the calling entrance
Picture is inserted into currently playing interface, to obtain corresponding calling entrance.
Further, described that the calling entrance picture is inserted into currently playing interface, to obtain corresponding calling
The step of entrance, including:
Call addsubView functions by the calling entrance picture be inserted into the specified level in currently playing interface it
On;Or
Call belowSubview functions that the calling entrance picture is inserted into the specified level in currently playing interface
Under.
Further, first client is when detecting that the calling entrance pre-established is clicked, to the service
End is initiated the step of calling request, including:
First client obtains on-call on-call letter when detecting that the calling entrance pre-established is clicked
Breath;
The on-call information is spliced to constitute a URL, and the URL is carried to server-side transmission
Calling request.
Further, the on-call information includes on-call ID and on-call group's title.
Further, second client is after receiving the calling information, is obtained pair according to the calling information
The step of calling notice answered, including:
Second client is after receiving the calling information, in currently playing interface display call button;
When the call button is clicked, the defaultCenter functions in the class of call notification center are logical to get
Know center;
Using the postNotificationName functions in the notice center by the calling information to call notice
Form dish out.
Further, notice is called described in second client end response, and jumps to described call together from currently playing interface
Before the step of calling out the target direct broadcasting room of information carrying, the method further includes:
DefaultCenter functions in the second client call notice center class are to get the pipe at notice center
Manage class;
It is used to monitor the monitoring of calling notice using the addObserver function setups in the management class at the notice center
Information.
Further, notice is called described in second client end response, and is jumped to the calling from current interface and led to
The step of knowing the target direct broadcasting room of carrying, including:
Second client enters listening mode after starting up according to the monitoring information, and is listening to calling
The calling is obtained after notice notifies corresponding calling information;
According to the calling information target direct broadcasting room that the calling information carries is jumped to from currently playing interface.
Further, the calling information includes target direct broadcasting room information, redirects type and redirect community information.
Another preferred embodiment of the present invention provides a kind of calling system, and the calling system includes server-side, Yi Jifen
The first client and the second client not communicated to connect with the server-side;
First client is used for when the calling entrance pre-established is clicked, and is initiated calling to the server-side and is asked
It asks;
The server-side is used for after receiving the calling request, the second client hair being directed toward to the calling request
Send calling information corresponding with the calling request;
Second client is used for after receiving the calling information, and corresponding call together is obtained according to the calling information
Call out notice;
Second client is additionally operable to respond the calling notice, and jumps to the calling from currently playing interface and lead to
Know the target direct broadcasting room of carrying.
Calling method and calling system provided in an embodiment of the present invention, by pre-establishing calling entrance, and call into
Calling request is initiated to server-side when mouth is clicked, the second client being directed toward to calling request using server-side sends corresponding
Information is called, the second client obtains corresponding calling according to calling information and notifies, and after itself responding calling notice, jumps
Go to the target direct broadcasting room that calling notice carries.The calling scheme can automatically be called in direct broadcasting room, realize one
The process of automation, and specific aim is stronger, calling drainage effect is more preferably.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment cited below particularly, and coordinate
Appended attached drawing, is described in detail below.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 is a kind of structure diagram of calling system provided in an embodiment of the present invention.
Fig. 2 is a kind of flow chart of calling method provided in an embodiment of the present invention.
Fig. 3 is the flow chart of the method provided in an embodiment of the present invention for creating and calling entrance.
Fig. 4 is the flow chart of the sub-step of step S101 in Fig. 2.
Fig. 5 is the flow chart of the sub-step of step S105 in Fig. 2.
Fig. 6 is another flow chart of calling method provided in an embodiment of the present invention.
Fig. 7 is the flow chart of the sub-step of step S107 in Fig. 2.
Icon:100- server-sides;The first clients of 200-;The second clients of 300-.
Specific implementation mode
With the fast development of net cast technology, in the client in order to improve the willingness to pay of user, especially for
Improve some height payments, high consumption user viscosity and privilege, devise one kind and giving these users and call other clients
User right, to allow these users that can be that the main broadcaster that oneself likes call some beans vermicelli to its direct broadcasting room, to increase this
The degree of a little main broadcasters being concerned.Therefore, special to develop a kind of calling function of clan, the collection that this calling function be quickly
Gather large batch of bean vermicelli, can have the function that drainage.These height payments, the payment of high consumption user meaning can be improved simultaneously
It is willing to.By traditional user be some main broadcaster drain using share circle of friends or QQ groups it is this manually advertise by the way of
It is changed into the automatic mode called in direct broadcasting room, realizes the process of an automation, in calling drainage flow
It is an innovation.
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete
Ground describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist
The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause
This, the detailed description of the embodiment of the present invention to providing in the accompanying drawings is not intended to limit claimed invention below
Range, but it is merely representative of the selected embodiment of the present invention.Based on the embodiment of the present invention, those skilled in the art are not doing
The every other embodiment obtained under the premise of going out creative work, shall fall within the protection scope of the present invention.
It should be noted that:Similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined, then it further need not be defined and explained in subsequent attached drawing in a attached drawing.Meanwhile the present invention's
In description unless specifically defined or limited otherwise, term " installation ", " setting ", " connection " shall be understood in a broad sense, for example, can
To be to be fixedly connected, may be a detachable connection, or be integrally connected;It can be mechanical connection, can also be electrical connection;It can
Can also can be indirectly connected through an intermediary the connection inside two elements to be to be connected directly.For this field
For those of ordinary skill, the concrete meaning of above-mentioned term in the present invention can be understood with concrete condition.
Present pre-ferred embodiments provide a kind of calling system, as shown in Figure 1, the calling system includes server-side
100, the first client 200 and the second client 300.First client, 200 and second client 300 passes through network and institute
The communication connection of server-side 100 is stated, with into row data communication or interaction.Wherein, first client, 200 and second client
300 can be but not limited to PC, tablet computer, smart mobile phone, mobile internet surfing equipment etc..First client 200
Net cast application software is installed in the second client 300, so that user carries out net cast.The server-side 100 is
Corresponding to the background server for the net cast application software installed in first client, 200 and second client 300, i.e.,
Net cast platform is provided.The server-side 100 can be network server, database server, can individually service
Device can also be server cluster etc..
In the present embodiment, first client 200 is used for when the calling entrance pre-established is clicked, to described
Server-side 100 initiates calling request.The server-side 100 is used for after receiving the calling request, is asked to the calling
The second client 300 being directed toward sends calling information corresponding with the calling request.Second client 300 is for connecing
After receiving the calling information, corresponding calling is obtained according to the calling information and is notified.Second client 300 is additionally operable to
The calling notice is responded, and the target direct broadcasting room that the calling notice carries is jumped to from currently playing interface.
Referring to Fig. 2, for a kind of flow of calling method applied to above-mentioned calling system provided in an embodiment of the present invention
Figure.It should be noted that method provided in an embodiment of the present invention is not limitation with Fig. 2 and particular order as described below.Below
Each step shown in Fig. 2 will be described in detail.
Step S101, first client 200 is when detecting that the calling entrance pre-established is clicked, to the clothes
Initiate calling request in business end 100.
Referring to Fig. 3, in the present embodiment, first client 200 can be created by following steps it is described call into
Mouthful:
Step S201, first client 200 is using the alloc functions in button class to create calling access information.
Calling entrance picture is arranged according to the calling access information using imageNamed functions in step S203, and will
The calling entrance picture is inserted into currently playing interface, to obtain corresponding calling entrance.
In the present embodiment, it can define a variable first, calling access information, such as the change can be preserved with the variable
Amount can be named as _ tribalEntrance.And it is called into message using the alloc functions in button class UIButton with creating
Breath can optionally initialize calling entrance, and the coordinate value of calling entrance is arranged, i.e. the displaying of setting calling entrance
Position.When implementing, call the position of entrance that can be configured according to specific requirements.The calling access information includes above-mentioned
Initialization information, coordinate value information etc..
According to the calling access information it is that the calling entrance added in advance is set using imageNamed functions in the present embodiment
Calling entrance picture is set, and calling entrance picture is inserted into obtain final calling entrance in currently playing interface, this is called together
Entrance is called out to be made of the specific calling access information of calling entrance picture and inside on external interface.In this implementation
In example, the calling entrance picture can be inserted into currently playing interface in the following manner:
Call addSubView functions by the calling entrance picture be inserted into the specified level in currently playing interface it
On.Or call belowSubView functions by the calling entrance picture be inserted into the specified level in currently playing interface it
Under.
By above-mentioned setting, it is added to a calling entrance, which is the base that user can independently be called
Plinth, and the calling entrance can also flexibly using above-mentioned addSubView functions or belowSubView functions will call into
Mouth picture is flexibly inserted into the different levels at currently playing interface.
Referring to Fig. 4, in the present embodiment, step S101 may include two sub-steps of step S1011 and step S1013
Suddenly.
Step S1011, first client 200 are waited for when detecting that the calling entrance pre-established is clicked
The on-call information of calling.
Step S1013 splices the on-call information to constitute a URL, and sent to the server-side 100
Carry the calling request of the URL.
In the present embodiment, when user needs to initiate calling, the calling entrance picture on broadcast interface can be clicked, and use
Family can input on-call on-call information, which may include on-call ID, on-call group's title etc..First visitor
Above-mentioned on-call information is spliced to constitute a URL (Uniform Resource Locator, unified money at family end 200
Source finger URL), optionally, such as the URL of a base class agreement can be constructed first, the URL of this base class agreement can be character
String type, such as douyuapp://DouyuMail.Using the URL of base class agreement as template, then above-mentioned on-call information spelled
It connects to be built into a new URL, when carrying out on-call information splicing, available characters & is by the different parameters in on-call information
It separates.After above- mentioned information to be spliced into a complete URL, using the URL turn function modules of system, jumped using the URL
Rotating function module sends the calling request for carrying the URL to the server-side 100, i.e., the described calling request carries above-mentioned
On-call information, such as on-call ID, on-call group's title.The calling is asked to send by first client 200
To server-side 100, to inform that server-side 100 carries out subsequently calling operation.
By above-mentioned setting, when user initiates to call, realize that redirect can be effective using the mode of the URL of agreement
The coupling of code is reduced, and URL can easily carry parameter and biography is facilitated to be worth.
Step S103, the server-side 100 is after receiving the calling request, to the second of the calling request direction
Client 300 sends calling information corresponding with the calling request.
In the present embodiment, after server-side 100 receives the calling request of the first client 200 transmission, it can obtain in URL
The on-call ID of carrying, on-call group's title, to obtain the information of the second on-call client 300.And it waits calling together to this
It calls out the second client 300 that request is directed toward and sends calling information corresponding with calling request.Wherein, which can be institute
It states the first client 200 and is sent to server-side 100, can also be the server-side 100 according to first client 200
Favorite direct broadcasting room information of 200 institute of the first client that logon information, concern information etc. are obtained and with this direct broadcasting room information
Corresponding jump information etc..Concrete mode the present embodiment is not restricted.In the present embodiment, the calling information obtained may include
Target direct broadcasting room information redirects type and redirects community information.Target direct broadcasting room information includes direct broadcasting room ID, direct broadcasting room broadcasting
Type etc., the target direct broadcasting room are that the user of the first client 200 is in advance the direct broadcasting room of its drainage.The type that redirects can be
Video chat live streaming redirects type or game live streaming redirects type.It is described that redirect community information i.e. include the first client 200
The information of the pointed on-call client of calling request of initiation, such as can be all clients in one QQ groups,
It can be all clients etc. in a chat group, not be restricted specifically.
Step S105, second client 300 obtain after receiving the calling information according to the calling information
Corresponding calling notice.
Referring to Fig. 5, in the present embodiment, step S105 may include step S1051, step S1053 and step
Tri- sub-steps of S1055.
Step S1051, second client 300 is after receiving the calling information, in currently playing interface display
Call button.
Step S1053, when the call button is clicked, the defaultCenter functions in the class of call notification center
To get notice center.
Step S1055, using the postNotificationName functions in the notice center by the calling information
It is dished out in the form of calling and notifying.
In the present embodiment, the calling information of the push of server-side 100 is received in the second client 300 that calling request is directed toward
Afterwards, can be in one bullet frame of its currently playing showing interface, which is an interface.A call button is shown on the surface.
If the user of the second client 300, which refuses calling request, can directly close the interface to terminate to call flow.If the second client
The calling request of user's pre-receiving at end 300 can click the call button to respond calling request.When detect the calling by
When button is clicked, a calling notification event can be triggered, and the calling can be notified to dish out by second client 300.
Optionally, second client 300 includes for receiving the calling information and by the calling information to call together
Call out the receiving module that the form of notice is dished out, and the respond module for responding the calling notice.Wherein, detecting
When stating call button and being clicked, the receiving module can be in the class NSNotificationCenter of call notification center
DefaultCenter functions are to get notice center.And by the above-mentioned calling information architecture received be a dictionary, utilize
PostNotificationName functions in the notice center dish out the dictionary of structure in the form of calling notice.
By above-mentioned setting, server-side 100 can push calling and ask after the calling request for receiving the first client 200
Ask corresponding calling information to the second client 300 called.When the second client 300 is receiving the transmission of server-side 100
Calling information after, can will calling information be dished out in the form of calling notice.Calling is completed in the form of calling notifies, can be protected
It demonstrate,proves and facilitates decoupling between different function modules, raising redirects efficiency.
Step S107, second client 300 respond calling notice, and jump to from currently playing interface described
The target direct broadcasting room that calling notice carries.
Referring to Fig. 6, in the present embodiment, before executing step S107, the calling method is further comprising the steps of:
Step S301, the defaultCenter functions in second client, 300 call notification center class are to get
The management class at notice center.
Step S303 is called using the addObserver function setups in the management class at the notice center for monitoring
The monitoring information of notice.
Whether in the present embodiment, the second client 300 can pre-establish monitoring event, have calling logical for monitoring subsequently
Know and dish out, wherein the monitor function can be implemented in the above-mentioned respond module of second client 300.It is monitored by building
Whether event, the second client 300 can enter listening mode after each starting up, be called together by other clients with monitoring to have
The request called out.
Referring to Fig. 7, in the present embodiment, step S107 may include two sub-steps of step S1071 and step S1073
Suddenly.
Step S1071, second client 300 enter listening mode after starting up according to the monitoring information,
And it obtains the calling after listening to calling notice and notifies corresponding calling information.
Step S1073 jumps to the target that the calling information carries according to the calling information from currently playing interface
Direct broadcasting room.
Second client 300 is after starting up, you can enters listening mode according to the monitoring information pre-established.It is described
Whether respond module can monitor above-mentioned reception pattern, which dishes out, is called notice, if it is logical to listen to the calling that receiving module is dished out
Know, you can obtain the calling and notify corresponding calling information.The calling information is above-mentioned dictionary format, and respond module can be from this
Obtain target direct broadcasting room information in dictionary, redirect type and redirect community information etc..After obtaining above-mentioned calling information
The target direct broadcasting room that the calling information includes is jumped to from currently playing interface.In this way, the user of the first client 200 can be real
The user of second client 300 is now drained to the purpose for the direct broadcasting room that it is liked.
Optionally, for the second client 300 before jumping to target direct broadcasting room from currently playing interface, needing will be currently playing
The close at interface, for example, can call window management class close methods by the close at currently playing interface.
By above-mentioned setting, the second client 300 can enter listening mode after starting up and be notified with monitoring calling,
The exhaustively monitoring to all calling notices can be so realized well.
In conclusion calling method provided in an embodiment of the present invention and calling system, by pre-establishing calling entrance, and
Calling request is initiated to server-side 100 when calling entrance to be clicked, the second visitor being directed toward to calling request using server-side 100
Family end 300 sends corresponding calling information, and the second client 300 obtains corresponding calling according to calling information and notifies, and certainly
After body responds calling notice, the target direct broadcasting room that calling notice carries is jumped to.The calling scheme can be in direct broadcasting room certainly
It is dynamic to be called, the process of an automation is realized, and specific aim is stronger, calling drainage effect is more preferably.
In embodiment provided herein, it should be understood that disclosed device and method, it can also be by other
Mode realize.The apparatus embodiments described above are merely exemplary, for example, the flow chart and block diagram in attached drawing are shown
Architectural framework in the cards, function and the behaviour of devices in accordance with embodiments of the present invention, method and computer program product
Make.In this regard, each box in flowchart or block diagram can represent a part for a module, section or code, institute
The part for stating module, section or code includes one or more executable instructions for implementing the specified logical function.
It should also be noted that at some as in the realization method replaced, the function of being marked in box can also be to be different from attached drawing
The sequence marked occurs.For example, two continuous boxes can essentially be basically executed in parallel, they sometimes can also be by
Opposite sequence executes, this is depended on the functions involved.It is also noted that each box in block diagram and or flow chart,
And the combination of the box in block diagram and or flow chart, function or the dedicated of action as defined in executing can be used to be based on hardware
System realize, or can realize using a combination of dedicated hardware and computer instructions.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or equipment including a series of elements includes not only those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or equipment institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including institute
State in the process, method, article or equipment of element that there is also other identical elements.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, any made by repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.It should be noted that:Similar label and letter exist
Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing
It is further defined and is explained.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (10)
1. a kind of calling method, which is characterized in that be applied to calling system, which includes server-side, and respectively with
The first client and the second client of the server-side communication connection, the method includes:
First client initiates calling when detecting that the calling entrance pre-established is clicked, to the server-side asks
It asks;
The server-side after receiving calling request, the second client for being directed toward to the calling request send with it is described
Corresponding calling information is asked in calling;
Second client obtains corresponding calling after receiving the calling information, according to the calling information and notifies;
Notice is called described in second client end response, and jumps to the mesh that the calling notice carries from currently playing interface
Mark direct broadcasting room.
2. calling method according to claim 1, which is characterized in that the calling entrance is obtained by following steps:
First client is using the alloc functions in button class to create calling access information;
Calling entrance picture is arranged according to the calling access information using imageNamed functions, and by the calling entrance figure
Piece is inserted into currently playing interface, to obtain corresponding calling entrance.
3. calling method according to claim 2, which is characterized in that described to be inserted into the calling entrance picture currently
In broadcast interface, the step of to obtain corresponding calling entrance, including:
Call addSubView functions that the calling entrance picture is inserted on the specified level in currently playing interface;Or
Person
Call belowSubView functions that the calling entrance picture is inserted under the specified level in currently playing interface.
4. calling method according to claim 1, which is characterized in that first client is pre-established detecting
When calling entrance is clicked, the step of calling is asked is initiated to the server-side, including:
First client obtains on-call on-call information when detecting that the calling entrance pre-established is clicked;
The on-call information is spliced to constitute a URL, and calling together for the URL is carried to server-side transmission
Call out request.
5. calling method according to claim 1, which is characterized in that the on-call information includes on-call ID and waits for
Call group's title.
6. calling method according to claim 1, which is characterized in that second client is receiving the calling letter
After breath, the step of corresponding calling notifies is obtained according to the calling information, including:
Second client is after receiving the calling information, in currently playing interface display call button;
When the call button is clicked, the defaultCenter functions in the class of call notification center are to get in notice
The heart;
Using the postNotificationName functions in the notice center by the calling information to call the shape of notice
Formula is dished out.
7. calling method according to claim 6, which is characterized in that notice is called described in second client end response,
And before the step of jumping to the target direct broadcasting room of the calling information carrying from currently playing interface, the method further includes:
DefaultCenter functions in the second client call notice center class are to get the management at notice center
Class;
The monitoring for being used to monitor calling notice using the addObserver function setups in the management class at the notice center is believed
Breath.
8. calling method according to claim 7, which is characterized in that notice is called described in second client end response,
And the step of jumping to the target direct broadcasting room that the calling notice carries from current interface, including:
Second client enters listening mode after starting up according to the monitoring information, and is listening to calling notice
After obtain the calling and notify corresponding calling information;
According to the calling information target direct broadcasting room that the calling information carries is jumped to from currently playing interface.
9. calling method according to claim 1, which is characterized in that the calling information include target direct broadcasting room information,
It redirects type and redirects community information.
10. a kind of calling system, which is characterized in that the calling system includes server-side, and logical with the server-side respectively
Believe the first client and the second client of connection;
First client is used for when the calling entrance pre-established is clicked, and calling request is initiated to the server-side;
The server-side is used for after receiving calling request, the second client being directed toward to the calling request send and
Corresponding calling information is asked in the calling;
Second client is used for after receiving the calling information, and it is logical to obtain corresponding calling according to the calling information
Know;
Second client is additionally operable to respond the calling notice, and jumps to the calling notice from currently playing interface and take
The target direct broadcasting room of band.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810169185.7A CN108449391A (en) | 2018-02-28 | 2018-02-28 | A kind of calling method and calling system |
PCT/CN2018/082855 WO2019165683A1 (en) | 2018-02-28 | 2018-04-12 | Summoning method and summoning system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810169185.7A CN108449391A (en) | 2018-02-28 | 2018-02-28 | A kind of calling method and calling system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108449391A true CN108449391A (en) | 2018-08-24 |
Family
ID=63193184
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810169185.7A Pending CN108449391A (en) | 2018-02-28 | 2018-02-28 | A kind of calling method and calling system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108449391A (en) |
WO (1) | WO2019165683A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111343469A (en) * | 2020-02-19 | 2020-06-26 | 腾讯科技(深圳)有限公司 | Data processing method and device, electronic equipment and storage medium |
CN111385666A (en) * | 2020-03-04 | 2020-07-07 | 北京字节跳动网络技术有限公司 | Communication link establishing method, device, equipment and storage medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112738539A (en) * | 2020-12-25 | 2021-04-30 | 广州博冠信息科技有限公司 | Live broadcast room switching method and device, computer readable storage medium and electronic equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101867576A (en) * | 2010-06-01 | 2010-10-20 | 中兴通讯股份有限公司 | Method, device and system for realizing recommendation of programs by IPTV service users on the basis of IMS |
CN104618785A (en) * | 2014-04-16 | 2015-05-13 | 腾讯科技(北京)有限公司 | Audio and video playing method, device and system |
CN105847988A (en) * | 2016-03-25 | 2016-08-10 | 合网络技术(北京)有限公司 | Video sharing method and apparatus |
CN105959207A (en) * | 2016-05-17 | 2016-09-21 | 广州酷狗计算机科技有限公司 | Audio and video sharing method and device |
WO2016202128A1 (en) * | 2015-06-16 | 2016-12-22 | 腾讯科技(深圳)有限公司 | Message sharing method, client, and computer storage medium |
CN106385603A (en) * | 2016-09-12 | 2017-02-08 | 腾讯科技(深圳)有限公司 | Message transmission method and device for media file |
CN106658200A (en) * | 2016-12-30 | 2017-05-10 | 乐蜜科技有限公司 | Live video sharing and obtaining methods and devices, and terminal equipment thereof |
-
2018
- 2018-02-28 CN CN201810169185.7A patent/CN108449391A/en active Pending
- 2018-04-12 WO PCT/CN2018/082855 patent/WO2019165683A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101867576A (en) * | 2010-06-01 | 2010-10-20 | 中兴通讯股份有限公司 | Method, device and system for realizing recommendation of programs by IPTV service users on the basis of IMS |
CN104618785A (en) * | 2014-04-16 | 2015-05-13 | 腾讯科技(北京)有限公司 | Audio and video playing method, device and system |
WO2016202128A1 (en) * | 2015-06-16 | 2016-12-22 | 腾讯科技(深圳)有限公司 | Message sharing method, client, and computer storage medium |
CN105847988A (en) * | 2016-03-25 | 2016-08-10 | 合网络技术(北京)有限公司 | Video sharing method and apparatus |
CN105959207A (en) * | 2016-05-17 | 2016-09-21 | 广州酷狗计算机科技有限公司 | Audio and video sharing method and device |
CN106385603A (en) * | 2016-09-12 | 2017-02-08 | 腾讯科技(深圳)有限公司 | Message transmission method and device for media file |
CN106658200A (en) * | 2016-12-30 | 2017-05-10 | 乐蜜科技有限公司 | Live video sharing and obtaining methods and devices, and terminal equipment thereof |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111343469A (en) * | 2020-02-19 | 2020-06-26 | 腾讯科技(深圳)有限公司 | Data processing method and device, electronic equipment and storage medium |
CN111343469B (en) * | 2020-02-19 | 2021-09-28 | 腾讯科技(深圳)有限公司 | Data processing method and device, electronic equipment and storage medium |
CN111385666A (en) * | 2020-03-04 | 2020-07-07 | 北京字节跳动网络技术有限公司 | Communication link establishing method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2019165683A1 (en) | 2019-09-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104488275B (en) | For customizing the method and system of television content | |
CN104301436B (en) | Content to be displayed push, subscription, update method and its corresponding device | |
US20110281568A1 (en) | Management of incoming telephony communications in a local media network | |
CN104704485A (en) | Integrating co-browsing with other forms of information sharing | |
CN108449391A (en) | A kind of calling method and calling system | |
JP6258475B2 (en) | Method for providing media assets to client devices | |
CN110351226A (en) | Information interacting method, device, user terminal and readable storage medium storing program for executing | |
CN107168675A (en) | It is long-range with screen method, apparatus and system based on browser Web | |
CN104965778A (en) | Method and device for game test | |
CN107659850A (en) | Media information processing method and device | |
CN111083147A (en) | Session establishment method and related equipment | |
CN106231436A (en) | Message treatment method and processing means | |
CN110166624A (en) | Message disturbance-free method, device, equipment and computer readable storage medium | |
CN107666406A (en) | Intelligent cards display methods and device | |
KR101633901B1 (en) | Live broadcasting service method by using social network | |
CN115174512A (en) | Message pushing method and device, storage medium and electronic device | |
CN108494573A (en) | Group chat method, apparatus and information terminal | |
JP5949049B2 (en) | Server apparatus, program, and communication system | |
JP2002329116A (en) | Information display portable terminal system | |
US20150032816A1 (en) | Information processing apparatus, information processing method, and recording medium | |
WO2023005508A1 (en) | Questionnaire delivery method, system and device, medium and product | |
JP2016197822A (en) | Visitor notification device, control method of the same, terminal device, interphone master unit, control program, and visitor notification system | |
CN107911717A (en) | Screen control method, apparatus and system | |
CN107170399B (en) | The application method of the self-service guide system of mobile phone | |
CN107133291B (en) | A kind of method and apparatus that content of pages is shown |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180824 |