WO2015101340A1 - Procédé et dispositif d'activation de fonction - Google Patents
Procédé et dispositif d'activation de fonction Download PDFInfo
- Publication number
- WO2015101340A1 WO2015101340A1 PCT/CN2014/096010 CN2014096010W WO2015101340A1 WO 2015101340 A1 WO2015101340 A1 WO 2015101340A1 CN 2014096010 W CN2014096010 W CN 2014096010W WO 2015101340 A1 WO2015101340 A1 WO 2015101340A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- function
- startup
- link
- client
- program
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/07—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
- H04L51/18—Commands or executable codes
Definitions
- the present invention relates to the field of computer technologies, and in particular, to a function starting method and apparatus.
- Team Voice Tools is a web tool that supports multiplayer online voice communication as well as video communication.
- the Team Voice tool provides a variety of subroutines, each of which, when invoked by the client of the Team Voice tool, launches a feature provided by the Team Voice tool.
- the subroutine is a game subroutine
- the game subroutine can be called by the client of the team voice tool to start the game
- the subroutine is a channel subroutine
- the channel subroutine can be called by the client of the team voice tool to start. Channel.
- the related art provides a function starting method, including: a user viewing a communication message sent by another user, the communication message carrying a name of a function recommended by another user, the user inputting the name in a search box provided by the client, triggering the client
- the function searches the function according to the name. If the startup option of the function is retrieved, the startup option is displayed, and the user clicks the function option displayed by the client to start the function.
- the client needs to retrieve the corresponding function according to the name of the function input by the user, and the function is started after the user clicks the startup option of the function, which causes the startup process of the function to be more complicated, and reduces the efficiency of the user using the function.
- the function is started after the user clicks the startup option of the function, which causes the function startup process to be more complicated.
- the embodiment of the invention provides a function starting method and device. The technical solution is as follows:
- an embodiment of the present invention provides a function starting method, where the method includes:
- the function indicated by the startup link is started.
- an embodiment of the present invention provides a function starting method, where the method includes:
- the launch link is sent to other clients for the other client to initiate the function indicated by the launch link, the launch link being used to initiate the functionality provided by the other client.
- a function starting method for a terminal, where the terminal includes a client and a startup program corresponding to the client, and the startup program is configured to process a customization corresponding to a predetermined protocol header.
- a program for the Uniform Resource Locator URL protocol the method comprising:
- the predetermined protocol header in the startup link is extracted by the operating system
- the client startup function is triggered by the launcher.
- an embodiment of the present invention provides a function starting device, where the method includes:
- a message receiving module configured to receive a communication message sent by another client
- a message detecting module configured to detect whether the communication message received by the message receiving module includes a startup link, where the startup link is used to start a function provided by the client;
- a function startup module configured to: when the message detection module detects that the communication message includes the startup link, initiate a function indicated by the startup link.
- an embodiment of the present invention provides a function starting device, where the method includes:
- a link obtaining module configured to obtain a startup link from an input box of the client
- a link sending module configured to send the startup link acquired by the link obtaining module to another client, so that the other client starts a function indicated by the startup link, and the startup link is used to start the Features provided by other clients.
- an embodiment of the present invention provides a function starting apparatus, where the terminal includes a client and a startup program corresponding to the client, where the startup program is used to process a predetermined protocol header.
- the device includes:
- a parameter extraction module configured to extract, by the operating system, a predetermined protocol header in the startup link after the startup link is triggered;
- a program search module configured to search, by the operating system, the startup program according to the predetermined protocol header
- a function startup module configured to trigger the client startup function by the startup program found by the program search module.
- an embodiment of the present invention provides a function starting device, where the device includes:
- One or more processors are One or more processors.
- the memory stores one or more programs, the one or more programs being configured to be executed by the one or more processors, the one or more programs including instructions for:
- the function indicated by the startup link is started.
- an embodiment of the present invention provides a function starting device, where the device includes:
- One or more processors are One or more processors.
- the memory stores one or more programs, the one or more programs being configured to be executed by the one or more processors, the one or more programs including instructions for:
- the launch link is sent to other clients for the other client to initiate the function indicated by the launch link, the launch link being used to initiate the functionality provided by the other client.
- an embodiment of the present invention provides a function starting apparatus, where the terminal includes a client and a startup program corresponding to the client, where the startup program is used to process a predetermined protocol header.
- the device includes:
- One or more processors are One or more processors.
- the memory stores one or more programs, the one or more programs being configured to be Executed by one or more processors, the one or more programs including instructions for:
- the predetermined protocol header in the startup link is extracted by the operating system
- the client startup function is triggered by the launcher.
- the startup link is directly obtained from the received communication message, and the function is directly activated according to the startup link, which solves the problem that the client needs to retrieve the corresponding function according to the name of the function input by the user, and starts the function after the user clicks the startup option of the function.
- the problem that affects the startup efficiency of the function is achieved, and the effect of improving the startup efficiency of the function is achieved.
- FIG. 1 is a schematic structural diagram of a team voice tool according to an embodiment of the present invention.
- FIG. 2 is a flowchart of a method for a function starting method according to an embodiment of the present invention
- FIG. 3 is a flowchart of a method for starting a function according to another embodiment of the present invention.
- FIG. 3B is a schematic diagram of application of an activation link display manner according to an embodiment of the present invention.
- 3C is a schematic diagram of application of a first channel starting method according to an embodiment of the present invention.
- FIG. 3D is a schematic diagram of application of a second channel starting method according to an embodiment of the present invention.
- FIG. 3E is a schematic diagram of application of a first game starting method according to an embodiment of the present invention.
- FIG. 3F is a schematic diagram of application of a second game starting method according to an embodiment of the present invention.
- FIG. 3G is a schematic diagram of application of a method for adding a group member according to an embodiment of the present disclosure
- FIG. 3H is a schematic diagram of application of a second group member adding method according to an embodiment of the present invention.
- FIG. 4 is a flowchart of a method for a function starting method according to an embodiment of the present invention.
- FIG. 5A is a flowchart of a method for a function starting method according to another embodiment of the present invention.
- FIG. 5B is a schematic diagram of generating a startup link according to an embodiment of the present invention.
- FIG. 6 is a flowchart of a method for a function starting method according to an embodiment of the present invention.
- FIG. 7A is a flowchart of a method for a function starting method according to another embodiment of the present invention.
- FIG. 7B is a schematic diagram of application of a channel starting method according to another embodiment of the present invention.
- FIG. 7C is a schematic diagram of an application of a game launching method according to another embodiment of the present invention.
- 7D is a schematic diagram of application of a group member adding method according to another embodiment of the present invention.
- FIG. 8 is a schematic structural diagram of a function starting device according to an embodiment of the present invention.
- FIG. 9 is a schematic structural diagram of a function starting device according to still another embodiment of the present invention.
- FIG. 10 is a schematic structural diagram of a function starting device according to an embodiment of the present invention.
- FIG. 11 is a schematic structural diagram of a function starting device according to still another embodiment of the present invention.
- FIG. 12 is a schematic structural diagram of a function starting device according to an embodiment of the present invention.
- FIG. 13 is a schematic structural diagram of a function starting device according to still another embodiment of the present invention.
- FIG. 14 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
- FIG. 1 is a schematic structural diagram of a team voice tool according to an embodiment of the present invention.
- the team voice tool includes a client 110, a server 120, and a client 130.
- the client 110 can be installed in a terminal such as a computer, a smart phone, a tablet, and an e-book reader.
- the terminal can be installed with an application client of the team voice tool, or a web browser with a browser installed and then accessing the team voice tool through a browser.
- the client 110 has the ability to send and receive communication messages. The embodiment is described by the client 110 receiving the communication message.
- the communication message is a message that the server 120 forwards to the client 110 after the client 130 sends the message to the server 120.
- Server 120 can be coupled to client 110 via a wireless or wired network.
- the server 120 can be one or more servers or a cloud computing center.
- the server 120 can be implemented by one server; it can also be implemented by a combination of multiple servers, each of which assumes the same or different functions, such as a server for registration and login, a server for saving user avatars, and The server for saving channel information and configuration information, the server for saving pictures or videos, and the like; the server 120 can also be implemented by a cloud computing center, which is a virtual computing platform formed by a whole service cluster.
- the client 130 can be installed in, for example, a computer, a smart phone, a tablet, and an e-book reader. In the terminal of the class.
- the terminal can be installed with an application client of the team voice tool, or a web browser with a browser installed and then accessing the team voice tool through a browser.
- the client 130 has the ability to send and receive communication messages. The embodiment is described by the client 130 sending a communication message.
- the communication message is a message that the server 120 forwards to the client 110 after the client 130 sends the message to the server 120.
- the team voice tool includes a client 110 and a launcher corresponding to the client 110.
- the client 110 and the launcher can be installed in terminals such as computers, smart phones, tablets, and e-book readers.
- the terminal can be installed with an application client of the team voice tool, or a web browser with a browser installed and then accessing the team voice tool through a browser.
- the client 110 has the ability to receive a boot parameter sent by the launcher and initiate a function corresponding to the boot parameter.
- FIG. 2 is a flowchart of a method for starting a function according to an embodiment of the present invention.
- the function starting method can be applied to the client 110 shown in FIG.
- the client 110 is referred to as a local client in order to distinguish it from other clients.
- the function startup method includes:
- Step 201 Receive a communication message sent by another client.
- the communication message is a message sent by the other client to the local client, and may include a text message, a picture message, an audio message, a video message, etc., and the communication message is not limited in this embodiment.
- Step 202 Detect whether the communication message includes a startup link, and the startup link is used to start the function provided by the client.
- the local client Since the local client does not determine whether the communication message includes the startup link, the local client needs to detect the communication message. If the communication message includes the startup link, the local client can directly start the function according to the startup link, that is, step 203 is performed. If the communication message does not include a launch link, the local client can present the communication message. The launch link is used to launch the functionality provided by the local client.
- Step 203 If the detection result is that the communication message includes a startup link, the function indicated by the startup link is started.
- the function starting method receives a communication message sent by another client, detects whether the communication message includes a startup link, and starts a link for starting a function provided by the client; if the detection result is a communication message Including the launch link, launch the work indicated by the launch link Yes, the startup link can be obtained directly from the communication message, and the function is directly activated according to the startup link, which solves the problem that the client needs to retrieve the corresponding function according to the name of the function input by the user, and activates the function after the user clicks the startup option of the function.
- the problem that affects the startup efficiency of the function is achieved, and the effect of improving the startup efficiency of the function is achieved.
- FIG. 3A is a flowchart of a method for starting a function according to another embodiment of the present invention.
- the function starting method can be applied to the client 110 shown in FIG. 1.
- the client 110 is referred to as a local client in order to distinguish it from other clients.
- the function startup method includes:
- Step 301 Receive a communication message sent by another client.
- the communication message is a message sent by the other client to the local client, and may include a text message, a picture message, an audio message, a video message, etc., and the communication message is not limited in this embodiment.
- a local client can receive communication messages sent by other clients through a chat panel, or a local client can receive communications sent by other clients through a channel it enters.
- the message is not limited in this embodiment.
- Step 302 Detect whether the communication message includes a startup link, and the startup link is used to start the function provided by the client.
- the launch link is used to launch the functionality provided by the local client.
- the function to be activated may be a function recommended by other clients to the local client.
- the function may be a certain channel that other clients enter, or a certain game that other clients are playing, etc. The example does not limit the function.
- the local client does not determine whether the communication message includes the startup link, the local client needs to detect the communication message. If the communication message includes the startup link, the local client can directly start the function according to the startup link, that is, step 303 is performed. If the communication message does not include a launch link, the local client can present the communication message.
- detecting whether the communication message includes a startup link includes:
- the local client can detect whether the communication message is The predetermined protocol header is included, and it is determined according to the detection result whether the communication message includes a startup link. For example, if the communication message is "Please try y://pd", the local client determines that "y://" is the predetermined protocol header by the regular expression, thereby determining that "y://pd" in the communication message is Start the link.
- Step 303 If the detection result is that the communication message includes the start link, the start link is displayed; if the trigger signal is received, the step 304 is triggered, and the trigger signal is used to trigger the start link.
- the local client may automatically start the function indicated by the startup link after detecting that the communication message includes the startup link, or may display the startup link after detecting that the communication message includes the startup link, and When the user triggers the launch link, the function indicated by the launch link is launched.
- the local client can display all the startup links as hyperlinks.
- the startup link is displayed as “ y://pd ”, and when the pointer is moved to the hyperlink, the pointer becomes a finger.
- the startup link is displayed, including:
- startup link includes a program identification field
- program identification field is obtained, and the program identification field is used to identify the subroutine
- the program identification field is used to identify the subroutine, and the subroutine is called by the local client to start the function.
- the startup link may not include the program identification field; when the local client includes at least two subprograms, in order to clarify Which subroutine is called to start the function, and the startup link needs to include the program identification field.
- the program identification field is equivalent to the module identification field in the Chinese patent application with the application number 201310754562.0, and the subroutine is equivalent to the functional module in the Chinese patent application with the application number 201310754562.0.
- the program identification field may include a module identifier of the subroutine.
- the program identification field may include a pinyin abbreviation pd of "channel”; if the subroutine is a game subroutine, the program identification field may include a pinyin abbreviation yxdt of "game lobby".
- the local client can also set different presentation templates for different subroutines, and after obtaining the program identification field, according to the corresponding relationship and the startup link
- the program identification field determines the presentation template and displays the launch link through the presentation template.
- the subroutine is a channel subroutine
- the local client can display the ticket including the "room”
- the subroutine is a game subroutine
- the local client can display the ticket including the "gamepad” and the like.
- FIG. 3B (2) is described by taking a ticket including "room” as an example.
- the startup link only needs to include the program identification field, and the local client can determine the function according to the subroutine; if the subprogram has the ability to start at least two functions, the startup link needs to be activated.
- Including the program identification field it is also necessary to include a function identification field, and the local client determines the function to be activated according to the function identification field.
- the function identification field includes a function identifier of the function.
- the function identifier may be the identifier "123" of the channel 123; if the subroutine is a game subroutine, the function identifier may be the identifier "10" of the game 10. or,
- the launch link may also include a function description field that is used to describe the function.
- the function description field may include at least one of a text introduction of a function, a picture introduction, an audio introduction, and a video introduction. Text descriptions can include names and popularity.
- the local client may also add at least one of the function identification field and the function description field to the presentation template for presentation.
- the presentation template is displayed, including:
- the function identification field is added to the presentation template for display, the function identification field is used to identify the function;
- the launch link further includes a function description field
- the function description field is added to the presentation template for presentation, and the function description field is used to describe the function.
- the function description field includes the function name and popularity as an example. Then, after the function identification field, “semi-smoke and semi-rain (134)” is displayed, that is, the name of the identification function is “semi-smoke and semi-rain”, and the popularity is 134.
- function description field is added to the presentation template for display, including:
- the local client may obtain an image in the installation package of the network or the local client according to the image address, and add the image to the display template for exhibition. Show.
- the image address is obtained after the other client converts the image.
- Step 304 start the function indicated by the startup link.
- launching the function indicated by the launch link includes:
- startup link only includes the program identification field, determine the subroutine indicated by the program identification field, and activate the function through the subroutine;
- startup link only includes the function identification field, determine the function indicated by the function identification field, and activate the function
- the startup link includes a program identification field and a function identification field, determining a subroutine indicated by the program identification field, and determining a function indicated by the function identification field, and starting the function by the subroutine;
- the program identification field is used to identify a subroutine, and the function identification field is used to identify a function.
- the local client may only provide one function. At this time, the local client may first determine the subroutine, and then start the unique function through the subroutine. Or, the local client may provide a function uniquely corresponding to the program identification field. At this time, the local client may first determine the subroutine, and then determine the function corresponding to the subprogram, and the function is started by the subroutine. .
- the local client can directly start the function, or the local client needs to start the function through the subroutine. If the local client needs to start the function through a subroutine, the local client may only call one subroutine. At this time, the local client may first determine the function, and then start the function through a unique subroutine. Alternatively, the local client provides a subroutine that uniquely corresponds to the function identification field. At this time, the local client can determine the function first, and then determine the subroutine corresponding to the function, and then start the function through the subroutine.
- the local client can first determine the subroutine and function, and then activate the function through the subroutine.
- the subroutine can include a built-in subroutine and an external subroutine, and the method of starting the function by the built-in subroutine and the external subroutine is different, the function is started by the subroutine, including:
- the local client can call the function identified by the built-in subroutine startup function identification field.
- the local client can pass the interface. Triggering the external subroutine startup function; when the startup link includes a program identification field and a function identification field, the local client may send the function identification field to the external subroutine through the interface, after the external subroutine receives the function identification field, Start the function identified by the feature identification field.
- the function starting method receives a communication message sent by another client, detects whether the communication message includes a startup link, and starts a link for starting a function provided by the client; if the detection result is a communication message Including the startup link, the function indicated by the startup link is started, the startup link can be directly obtained from the received communication message, and the function is directly activated according to the startup link, and the client needs to retrieve the corresponding function according to the name of the function input by the user.
- the function starts the function after the user clicks the function's startup option, which affects the function startup efficiency and achieves the effect of improving the function startup efficiency.
- the image can be converted into text for transmission, which saves the traffic of the client and saves the transmission resource.
- user A and user B are chatting.
- user A wants to recommend "game 10" to user B
- user A can send a communication message to the B client through the A client.
- the B client will detect y://yxdt-[10] in the communication message after it is a startup link.
- ://yxdt-[10] is displayed in the form of a hyperlink or a ticket. If user B clicks on the launch link, the B client directly launches "game 10" by launching the "game subroutine" identified by "yxdt” in the link.
- the subroutine may be a channel subroutine, or the subroutine may be a game subroutine, or the subroutine may be a group member adding subroutine, and the following steps are respectively explained according to the above three subroutines, specifically as follows:
- the local client needs to determine the frequency that needs to be activated by the channel identifier. Road.
- the function is started by the subroutine, including: generating a channel start request carrying the channel identifier, and sending the channel start request to the server through the channel subroutine, and the channel start request is used to request to activate the channel identified by the channel identifier.
- the local client may generate a channel start request carrying the channel identifier 123 and send the channel start request to the server.
- the server determines that the channel subroutine requests to start the channel 123, triggering the process of starting the channel 123. Specifically, the server may obtain the channel data included in the channel 123, the channel name, the information of the currently listening audience, the live broadcast screen of the anchor, the interaction data between the live broadcast and the viewer, and send the channel data to the channel subroutine, the channel.
- the subroutine displays the channel data.
- the following is an example of the process of the user A recommending the channel to the user B.
- the user A is in the chat interface of the client A.
- Enter a communication message including "Hi, User B, join y://pd-[123] together, as shown in Figure 3C (1);
- Client B used by User B receives the communication message Thereafter, the communication message is converted into a ticket for display, the ticket includes "Room 123" as shown in FIG. 3C (2); if User B clicks on the ticket, enters Channel 123, as shown in FIG. 3C (3).
- the application diagram of the second channel activation method shown in FIG. 3D Please refer to the application diagram of the second channel activation method shown in FIG. 3D.
- the client A uses the invitation interface of “invite friends to enter the channel”, as shown in FIG. 3D (1); user A is in the friend's User B is input/selected in the input box, and channel 123 is input/selected in the input box of the channel, and client A generates a communication message according to the above operation, and the communication message includes "Hi, user B, and joins y://pd together. -[123] ⁇ ", as shown in Fig. 3D(2); after receiving the communication message, the client B used by the user B converts the communication message into a ticket for display, the ticket containing "room 123", as shown in Fig. 3D (3); if user B clicks on the ticket, enters channel 123, as shown in FIG. 3D(4).
- the local client needs to determine the game that needs to be launched through the game identification.
- the function is started by the subroutine, including: generating a game start request carrying the game identifier, and transmitting the game start request to the server through the game subroutine, the game start request for requesting to start the game identified by the game identifier.
- the game subroutine may be an external game subroutine provided by a third party and communicate with the client through an interface.
- the local client reads the game identifier from the function identification field is 10
- the local client may generate a game launch request carrying the game identifier 10
- the The game start request is sent to the server, and the server determines that the game subroutine requests to start the game 10, triggering the process of starting the game 10.
- the server may acquire the game identifier included in the game 10, the game name, the information of the player currently participating in the game, the interaction data between the players, the game progress, the game equipment, and the like, and send the game data to the game subroutine.
- the game subroutine displays the game data.
- the following is an example of the process in which the user A recommends the game to the user B.
- the user A is in the chat interface of the client A.
- Enter a communication message including "Hi, User B, play y://yxdt-[10] together, as shown in Figure 3E(1);
- Client B used by User B receives the communication message Thereafter, the communication message is converted into a ticket for display, the ticket containing "gamepad 10" as shown in FIG. 3E(2); if user B clicks on the ticket, enters game 10, as shown in FIG. 3E(3).
- the application diagram of the second game startup method shown in FIG. 3F Please refer to the application diagram of the second game startup method shown in FIG. 3F.
- the client A uses the invitation interface of “invite friends to play games together”, as shown in FIG. 3F (1); user A is in the friend.
- User B is input/selected in the input box, and game 10 is input/selected in the input box of the game, and client A generates a communication message according to the above operation, the communication message includes "Hi, user B, play y:// together" Yxdt-[10], as shown in Fig. 3F(2); after receiving the communication message, the client B used by the user B converts the communication message into a ticket for display, the ticket containing the "gamepad 10", such as Figure 3F (3); if user B clicks on the ticket, enters game 10, as shown in Figure 3F (4).
- the function is a group member adding function
- the local client needs to identify the group that needs to add the user account through the group identity.
- the function is started by the subroutine, including: obtaining an account identifier of the user account registered in the client, generating a group member adding request carrying the account identifier and the group identifier, and adding the subroutine to the server through the group member
- the group member add request is sent, and the group member add request is used to request that the user account be added to the group.
- the account may be generated.
- the group member of the identifier 100 and the group identifier 123456 adds a request and sends the group member addition request to the server, and the server triggers the step of adding the user account 100 to the group of the group identifier 123456.
- the server may directly add the user account 100 to the group 123456, adding a subroutine feedback adding success message to the group member; when the group 123456 Add rules When any user account is forbidden, the server cannot add the user account 100 to the group 123456, and adds a subroutine feedback adding failure message to the group member; when the group 123456 adding rule is waiting for the group owner to make a decision, the server may Adding a subroutine feedback to the group member waits for the message of the group owner decision; when the adding rule of the group 123456 is to correctly answer the question, the server may add a subroutine feedback question to the group member.
- the process of the user A is recommended to be added to the group 123456 by the user A.
- FIG. 3G refer to the application diagram of the first group member adding method shown in FIG. 3G, where the user A is at the client.
- a communication message is input in the chat interface of A, and the communication message includes “Hi, user B, join y://qz-[123456] together, as shown in FIG. 3G(1); client B used by user B is
- the communication message is converted into a ticket for display, the ticket includes "team 123456", as shown in FIG. 3G (2); if user B clicks on the ticket, user B's account B is added to group 123456 , as shown in Figure 3G (3).
- the client A uses the invitation interface of “invite friends to join the group”, as shown in FIG. 3H(1); A enters/selects user B in the input box of the friend, enters/selects group 123456 in the input box of the group, and client A generates a communication message according to the above operation, the communication message includes “Hi, user B, together Add y://qz-[123456], as shown in Figure 3H(2); after receiving the communication message, client B used by user B converts the communication message into a ticket for display. 123456", as shown in Fig. 3H (3); if user B clicks on the ticket, user B's account B is added to group 123456, as shown in Fig. 3H (4).
- FIG. 4 is a flowchart of a method for starting a function according to an embodiment of the present invention.
- the function starting method can be applied to the client 130 shown in FIG.
- the client 130 is referred to as a local client in order to distinguish it from other clients.
- the function startup method includes:
- step 401 a startup link is obtained from the input box of the client.
- Step 402 Send the startup link to other clients, so that the other client starts the function indicated by the startup link, and the startup link is used to start the functions provided by other clients.
- the local client can send the startup link as a communication message directly to other clients, or add the startup link to the communication message, and add other text messages, picture messages, audio messages, and video messages to the communication message, which will be added.
- the subsequent communication message is sent to other clients, and after receiving the communication message, the other client can start the function according to the startup link in the communication message.
- the function starting method obtained by the embodiment of the present invention obtains a startup link from the input box of the client; sends the startup link to other clients, and the startup link is used to start the functions provided by other clients, so that other clients
- the startup link can be directly received, and the function is directly activated according to the startup link, and the other client needs to retrieve the corresponding function according to the name of the function input by the user, and the function is activated after the user clicks the startup option of the function, which affects the function.
- the problem of starting efficiency has the effect of improving the startup efficiency of the function.
- the function starting method may be applied to the client 130 shown in FIG. 1.
- the client 130 is referred to as a local client in order to distinguish it from other clients.
- the function startup method includes:
- Step 501 Obtain a startup link from an input box of the client, and the startup link is obtained by an input operation or a paste operation.
- the launch link is used to indicate local client startup features.
- the function to be started may be a function recommended by the local client to other clients, for example, the function may be a certain channel that the local client enters, or a certain game that the local client is playing, etc., this embodiment No restrictions are placed on the function.
- the local client may obtain an activation link in the input box, and the input box may be an input box in a chat panel with a friend, or may be an input box of a channel entered by the local client, etc., this embodiment Not limited.
- the startup link may be obtained by at least one of a user's input operation and a paste operation.
- the startup link is obtained from the input box of the client, including:
- the at least one keyword matches a predetermined protocol header, where the predetermined protocol header is a header of a custom URL protocol corresponding to the startup link;
- the at least one keyword is complemented to obtain a startup link, where the startup link includes a predetermined protocol header.
- the local client can compare the entered at least one keyword with a predetermined protocol header. If the at least one keyword matches the predetermined protocol header, the local client may directly use the at least one keyword as the startup link, or the local client may complete the at least one keyword to prevent the user from starting the input. Enter an error when linking, making it His client can't start the function according to the startup link, and can avoid the problem of inputting the startup link for a long time, which reduces the efficiency of function startup.
- the at least one keyword is complemented to obtain a startup link, including:
- the local client may pre-configure the field template, and each field template is used to input a program identification field or a function identification field, and determine the user when the local client detects that at least one keyword input in the input box matches the predetermined protocol header. You need to enter the startup link. At this time, the local client can display the pre-configured field templates so that the user selects a field template in each field template displayed. The local client complements the keyword according to the field template selected by the user. All, generate a startup link.
- the program identification field includes a program identifier of the subroutine.
- the program identification field may include a pinyin abbreviation pd of “channel”; if the subroutine is a game subroutine, the program identification field may include “game”.
- the function identification field includes a function identifier of the function. For example, if the subroutine is a channel subroutine, the function identifier may be the identifier "123" of the channel 123; if the subroutine is a game subroutine, the function identifier may be the identifier of the game 10 "10" ".
- the local client may also generate a launch link according to at least one of a program identification field, a function identification field, and a function description field.
- the function description field may include at least one of a text introduction, a picture introduction, an audio introduction, and a video introduction of the function, and the text introduction may include a name and popularity.
- the method further includes:
- the field template includes a template for inputting a program identification field, acquiring a program identifier of the subprogram, adding the program identifier to the program identification field, the program identification field is used to identify the subroutine; and/or,
- the field template includes a field template for inputting the function identification field, obtaining a function identifier of the function, adding the function identifier to the function identifier field, the function identifier field is used to identify the function; and/or,
- the local client can pre- First configure the program identification field whose content is not empty. For example, refer to the generation diagram of the startup link shown in FIG. 5B.
- the local client pre-configured field template includes a “pd” template and a “yxdt” template, and assumes that the keyword entered by the user in the input box is “y://”.
- the local client detects that the input keyword matches the predetermined protocol header "y://”, and displays the field template "pd" template and the "yxdt” template in the drop-down list. If the user selects the "pd" template, The local client generates a launch link for "y://pd”.
- the function description field is used as an example for the function name and popularity.
- the local client can add “semi-smoke and semi-rain (134)” after the function identification field, that is, the name of the identification function is “semi-smoke and semi-rain”.
- Popularity is 134.
- generating a function description field including:
- the local client may obtain a picture address of the picture in the network or the installation package of the local client, and add the picture address to the function description field. Since the image traffic is much larger than the text traffic, the local client converts the image into a picture address and sends it to other clients, which can save traffic of the local client and save transmission resources.
- the launch link is obtained by a paste operation in the input box, which is triggered by triggering a pre-displayed shortcut key.
- the local client may also display a shortcut key of the startup function. If the user triggers the shortcut key, the local client obtains the startup link corresponding to the function, and pastes the startup link into the input box through a paste operation. . Since the user only needs to perform a simple copying operation and a pasting operation, the time for the user to input the startup link can be saved, and the efficiency of function startup is further improved.
- Step 502 Send the startup link to other clients, so that the other client starts the function indicated by the startup link, and the startup link is used to start the functions provided by other clients.
- the local client can send the startup link as a communication message directly to other clients, or add the startup link to the communication message, and add other text messages, picture messages, audio messages, and video messages to the communication message, which will be added.
- the subsequent communication message is sent to other clients, and after receiving the communication message, the other client can start the function according to the startup link in the communication message.
- the function starting method obtained by the embodiment of the present invention obtains a startup link from the input box of the client; sends the startup link to other clients, and the startup link is used to start the functions provided by other clients, so that other clients
- the startup link can be directly received, and the function is directly activated according to the startup link, and the other client needs to retrieve the corresponding function according to the name of the function input by the user, and the function is activated after the user clicks the startup option of the function, which affects the function.
- the problem of starting efficiency has the effect of improving the startup efficiency of the function.
- by obtaining the picture address of the picture; adding the picture address to the function description field the picture can be converted into text for transmission, which saves the traffic of the client and saves the transmission resource.
- user A and user B are chatting, and if user A wants to recommend "game 10" to user B, "game 10" can be recommended to user B by an input operation or a paste operation.
- the user A may input at least one keyword in the input box of the A client, and the A client detects the at least one keyword and the predetermined protocol header "y: //"
- the user A can open “game 10” and click the button of "start link shortcut key” displayed in "game 10", and the client A receives the user. After the click operation of A, copy the start link “y://yxdt-[10]" of "Game 10", and display the prompt message "One-click copy start link”, after user A sees the prompt message, Paste the copied "y://yxdt-[10]” into the input box and get the startup link.
- the A client sends the launch link to the B client.
- the "launch link shortcut” can be displayed in the form of an airline ticket to characterize the efficient start of the function.
- the above embodiments use the startup link startup function in the communication message as an example to describe the function startup method.
- the client can start the function through the startup link in the communication message, and can also input through the user. Or the startup link startup function in the webpage.
- the following embodiments are described by taking the example of the startup link activation function by the client.
- the start-up connection in this embodiment is equivalent to the predetermined link in the Chinese patent application with the application number 201310754304.2.
- FIG. 6 is a flowchart of a method for starting a function according to an embodiment of the present invention.
- the function startup method may be applied to a terminal, where the terminal includes a client and a startup program corresponding to the client, and the startup program is started. It is a program for processing a custom URL protocol corresponding to a predetermined protocol header.
- the function startup method includes:
- Step 601 After the startup link is triggered, the predetermined protocol header in the startup link is extracted by the operating system.
- the startup link includes a predetermined protocol header, wherein the predetermined protocol header is used to indicate a startup procedure for processing a custom URL protocol corresponding to the predetermined protocol header, and the custom URL protocol is a user-defined URL protocol.
- the terminal may trigger the launch link when the user input is completed; if the launch link is a link pre-edited in the web page, the terminal may trigger the launch link when the user clicks on the link.
- the launch link is a link entered by the user
- the terminal may trigger the launch link when the user input is completed; if the launch link is a link pre-edited in the web page, the terminal may trigger the launch link when the user clicks on the link.
- this embodiment does not limit the manner in which the link is triggered.
- Step 602 The startup program is searched by the operating system according to a predetermined protocol header.
- step 603 the client startup function is triggered by the startup program.
- the function starting method extracts a predetermined protocol header in the startup link through the operating system after the startup link is triggered; searches for the startup program according to the predetermined protocol header by the operating system; triggers the client by starting the program.
- the terminal startup function can directly start the function according to the startup link, and solves the problem that the user needs to jump more interfaces when the function is started according to the function introduction information, thereby reducing the function startup efficiency and achieving the effect of improving the function startup efficiency.
- FIG. 7A is a flowchart of a method for starting a function according to another embodiment of the present invention.
- the function starting method may be applied to a terminal, where the terminal includes a client and a startup program corresponding to the client, and is started.
- the program is a program for processing a custom URL protocol corresponding to a predetermined protocol header.
- the application is applied to an application installed in the terminal by using a function startup method, and the application includes a client and an activation program corresponding to the client as an example for description. This feature starts Methods, including:
- Step 701 Register a predetermined protocol header in the operating system; register the startup program as a program for processing the custom URL protocol corresponding to the predetermined protocol header in the operating system.
- the terminal needs to register a predetermined protocol header and a startup program for processing a custom URL protocol corresponding to the predetermined protocol header in the operating system.
- the predetermined protocol header is a header of a custom URL protocol corresponding to the startup link
- the custom URL protocol is a user-defined URL protocol. Assuming that the custom URL protocol is the y protocol, the predetermined protocol header corresponding to the protocol may be y://.
- the installer can call the startup program, and the startup program can first register the predetermined protocol header in the registry of the operating system, and then register the startup program as the use program.
- a program for processing a custom URL protocol corresponding to the predetermined protocol header may include: registering a path of the startup program in the registry.
- the custom URL protocol is used as an example for the y protocol.
- the startup program can be registered by the following steps:
- DWORD cbData (DWORD)_tcsclen(pStrAction)*sizeof(TCHAR);
- cbData (DWORD)oss.str().size()*sizeof(TCHAR);
- Step 702 After the startup link is triggered, the predetermined protocol header in the startup link is extracted by the operating system.
- the launch link before the launch link is triggered, it also includes:
- the terminal may trigger the launch link when the user determines that the input is completed; if the launch link is a link pre-edited in the web page, the terminal may trigger the launch link when the user clicks on the link.
- the launch link may trigger the launch link when the user clicks on the link.
- Step 703 The startup program is searched by the operating system according to a predetermined protocol header.
- the operating system After the startup link is triggered, the operating system reads the predetermined protocol header included in the startup link, and searches the registry for a custom URL protocol corresponding to the predetermined protocol header, and if the customization corresponding to the predetermined protocol header is found, The URL protocol, the operating system then determines the launcher for processing the custom URL protocol. Specifically, the operating system may look up a path of the startup program corresponding to the predetermined protocol header in the registry, and then determine the startup program according to the path.
- Step 704 Receive, by the startup program, a startup parameter sent by the operating system, where the startup parameter is extracted by the operating system from the startup link.
- the startup parameters are used to identify the features that the client is to launch.
- the startup link may not include the startup parameter; when the client provides at least two functions, the startup link also needs to include the startup parameter, and at this time, the startup link includes the predetermined protocol.
- Step 705 Pass the startup parameter to the client by starting the program.
- the launcher can first determine the client and pass the received startup parameters to the client.
- the method before the startup parameter is transmitted to the client by the startup program, the method further includes: if the client is in the closed state, the client is started by starting the program.
- the client determined by the startup program may be in the startup state, and may also be in the shutdown state. If the client determined by the startup program is in the startup state, the startup program can directly pass the startup parameter to the client; if the client determined by the startup program is in the shutdown state, the startup program needs to be started before the startup parameter is passed. Client.
- the startup program can also start the client with the startup parameter, that is, the startup parameter is carried in the command for starting the client, thereby saving the signaling caused by the command to send the startup client, and then sending the startup parameter to the client. waste.
- the client since the client has a one-to-one correspondence with the logged-in user account, if the user logs in at least two user accounts in the terminal, there are at least two clients. If there are at least two clients, before the startup parameters are passed to the client through the launcher, it also includes:
- the startup parameter includes the identification information
- the client indicated by the identification information is determined.
- the initiator needs to determine the client that needs to start the function from the at least two clients.
- the startup program may determine a preset default client as a client that needs to start the function; or, the terminal may display each client in the terminal, so that the user selects one client from each client displayed.
- the startup program determines the client that needs to start the function according to the selection signal triggered when the user selects the client, wherein the displayed client can be in the closed state or in the startup state.
- the startup parameter may carry the identifier information of the client, and the startup program may determine, according to the identifier information, the client that needs to start the function.
- the startup parameter is used to indicate that the channel whose channel number is 123 is initiated by the client that has logged in the user account 123456.
- the startup program can directly send the startup parameter to the client; if the client cannot identify the startup parameter, the startup program also needs to convert the startup parameter to be recognized by the client.
- Startup parameters are passed to the client through the launcher, including:
- Step 706 Start a function corresponding to the startup parameter by using a client.
- the client can recognize the received startup parameter, the function indicated by the startup parameter is determined in at least one function, and the function is started. If the client does not recognize the received startup parameter, that is, the startup program does not convert the startup parameter, the client also needs to convert the startup parameter into a startup parameter recognized by the client, and then determine the predetermined format in at least one function. Start the function indicated by the parameter, and Start this feature.
- the conversion method is described in detail in step 705, and details are not described herein.
- the uninstaller can call the startup program when the uninstaller is uninstalled to run the uninstall program, and the startup program can be started.
- the predetermined protocol header is written off in the registry of the operating system, and the registration startup program is an operation for processing the program of the custom URL protocol corresponding to the predetermined protocol header, that is, the path of the predetermined protocol header and the startup program registered in the registry is deleted.
- the method further includes:
- the startup program included in the recently installed application may be registered as a processing protocol header.
- the corresponding custom URL protocol program If the launcher fails, you can also replace the launcher registered in the registry with another valid launcher.
- each startup program can identify each client belonging to the same application as the startup program, and each client belonging to a different application from the startup program, regardless of the operating system will start parameters Which startup program is sent to the startup program, which can pass the startup parameters to any client.
- the function starting method extracts a predetermined protocol header and a startup parameter in the startup link through the operating system after the startup link is triggered; and the startup program is started by the operating system according to the predetermined protocol header.
- the parameter is sent to the startup program; the startup parameter is transmitted to the client through the startup program; the function corresponding to the startup parameter and the startup parameter can directly start the function according to the startup parameter included in the startup link, and solve the function of the user according to the function introduction information. It is necessary to jump more interfaces to reduce the function startup efficiency, and achieve the effect of improving the function startup efficiency.
- the effect of saving the storage space of the operating system can be achieved by unregistering the predetermined protocol header in the operating system; revoking the operation of registering the startup program as a program for processing the custom URL protocol corresponding to the predetermined protocol header in the operating system.
- the startup parameter may include a channel identifier, or the startup parameter may include a game identifier, or the startup parameter may include a group identifier, and the following steps are respectively performed according to the foregoing three startup parameters. 704 for explanation, as follows:
- the startup parameter includes a channel identifier, the function corresponding to the startup parameter is a channel;
- the client needs to identify the channel that needs to be activated by the channel identification.
- the function corresponding to the startup parameter is initiated by the client, including: generating, by the client, a channel initiation request carrying the channel identifier, and sending the channel initiation request to the server, where the channel initiation request is used to request the startup channel identifier The identified channel.
- the client may generate a channel activation request carrying the channel identifier 123, and send the channel startup request to the server, and the server determines The client requests to start channel 123, triggering the process of starting channel 123.
- the server may obtain channel data included in the channel 123, the channel name, the information of the current audience, the live broadcast screen of the anchor, and the interaction data between the live broadcast and the viewer, and send the channel data to the client, the client.
- the channel data is displayed.
- the embodiment also exemplifies the startup link in the user-triggered webpage.
- the webpage browsed by the user includes the startup of “Customer Service Channel: 123”.
- the link is as shown in Fig. 7B (1); if the user B clicks "123", the channel 123 is entered, as shown in Fig. 7B (2).
- the startup parameter includes a game identifier
- the function corresponding to the startup parameter is a game
- the client needs to determine the game that needs to be launched through the game identification.
- the function corresponding to the startup parameter is initiated by the client, including: generating, by the client, a channel startup request carrying the game identifier, and sending the game startup request to the server, where the game startup request is used to request to start the game identifier.
- logo game When there are multiple games, the client needs to determine the game that needs to be launched through the game identification.
- the function corresponding to the startup parameter is initiated by the client, including: generating, by the client, a channel startup request carrying the game identifier, and sending the game startup request to the server, where the game startup request is used to request to start the game identifier.
- logo game is used to request to start the game identifier.
- the client may generate a game activation request carrying the game identification 10, and send the game startup request to the server, and the server determines The client requests to launch game 10, triggering the process of launching game 10.
- the server may acquire the game identifier included in the game 10, the game name, the information of the player currently participating in the game, the interaction data between the players, the game progress, the game equipment, and the like, and send the game data to the client.
- the client displays the game data.
- the embodiment also exemplifies the startup link in the user trigger webpage.
- the webpage browsed by the user includes the startup link of “game 10”. As shown in Fig. 7C (1); if the user B clicks "game 10", the game 10 is entered, as shown in Fig. 7C (2).
- the function corresponding to the startup parameter is a group member adding function
- the client needs to identify the group that needs to add the user account through the group identity.
- the function corresponding to the startup parameter is started by the client, including: obtaining, by the client, an account identifier of the user account logged in the client, and generating a group member adding request carrying the account identifier and the group identifier, A group member addition request is sent to the server, the group member addition request is used to request that the user account be added to the group.
- the account identifier 100 and the group may be generated.
- the group member of the group identifier 123456 adds a request and sends the group member addition request to the server, and the server triggers a process of adding the user account 100 to the group of the group identifier 123456.
- the server may directly add the user account 100 to the group 123456, and feed back a successful message to the client; when the adding rule of the group 123456 is prohibited When any user account is added, the server cannot add the user account 100 to the group 123456, and adds a failure message to the client; when the group 123456 is added to wait for the group owner to make a decision, the server can feed the client to the waiting group. The message of the main decision; when the adding rule of the group 123456 is to correctly answer the question, the server can feed back the question of the question to the client.
- the embodiment also uses the startup link in the user-triggered webpage as an example for description.
- the webpage browsed by the user includes “group 123456”.
- the link is activated, as shown in FIG. 7D(1); if user B clicks “group 123456”, the user account A logged in by the user in the client is added to the group 123456, as shown in FIG. 7D(2).
- FIG. 8 is a schematic structural diagram of a function starting device according to an embodiment of the present invention.
- the function starting device can be applied to the client 110 shown in FIG. 1 .
- the function activation device includes:
- the message receiving module 801 is configured to receive a communication message sent by another client.
- the message detection module 802 is configured to detect whether the communication message received by the message receiving module 801 includes a startup link, and the startup link is used to start a function provided by the client;
- the function startup module 803, configured to detect, by the message detection module 802, the communication message includes When the link is launched, the function indicated by the startup parameters is started.
- the function starting device receives a communication message sent by another client, detects whether the communication message includes a startup link, and starts a link for starting a function provided by the client; if the detection result is a communication message Including the startup link, the function indicated by the startup link is started, the startup link can be directly obtained from the received communication message, and the function is directly activated according to the startup link, and the client needs to retrieve the corresponding function according to the name of the function input by the user.
- the function starts the function after the user clicks the function's startup option, which affects the function startup efficiency and achieves the effect of improving the function startup efficiency.
- FIG. 9 is a schematic structural diagram of a function starting device according to another embodiment of the present invention.
- the function starting device can be applied to the client 110 shown in FIG. 1 .
- the function starting device comprises: a message receiving module 901, a message detecting module 902 and a function starting module 903.
- the message receiving module 901 is configured to receive a communication message sent by another client.
- the message detection module 902 is configured to detect whether the communication message received by the message receiving module 901 includes a startup link, and the startup link is used to start a function provided by the client;
- the function startup module 903 is configured to start the function indicated by the startup link when the result detected by the message detection module 902 is that the communication message includes a startup link.
- the function startup module 903 is specifically configured to:
- the subroutine indicated by the program identification field is determined to be activated by the subroutine
- startup link only includes the function identification field, determine the function indicated by the function identification field, and activate the function
- startup link includes a program identification field and a function identification field, determining a subroutine indicated by the program identification field, and determining a function indicated by the function identification field, and starting the function by using the subroutine;
- the program identification field is used to identify a subroutine, and the function identification field is used to identify a function.
- the function startup module 903 is further configured to:
- the subroutine is a built-in subroutine or an external subroutine
- the built-in subroutine is a subroutine within the client
- the external subroutine is a subroutine outside the client
- the function is started by the built-in subroutine
- the interface provided by the external subroutine is acquired, the external subroutine start function is triggered by the interface, or the external subroutine is started to trigger the function identification word through the interface.
- the function indicated by the segment is the result of the judgment.
- the device further includes:
- the link display module 904 is configured to display the startup link before the function startup module 903 starts the function indicated by the startup link;
- the operation triggering module 905 is configured to trigger an operation of performing a function indicated by the start-up link if the trigger signal is received, and the trigger signal is used to trigger the startup link displayed by the link display module 904.
- the link display module 904 includes:
- the field obtaining unit 9041 is configured to acquire a program identification field, where the program identification field is used to identify a subroutine if the startup link includes a program identification field;
- the template determining unit 9042 is configured to determine, according to the program identifier field acquired by the corresponding relationship and the field obtaining unit 9041, a display template for initiating a link, where the correspondence relationship is a correspondence between different program identification fields and different display templates.
- the template display unit 9043 is configured to display the launch link by the display template determined by the template determining unit 9042.
- the template display unit 9043 includes:
- the first display sub-unit 90431 is configured to: if the activation link further includes a function identification field, add the function identification field to the presentation template for display, and the function identification field is used to identify the function; and/or,
- the second display sub-unit 90432 is configured to add a function description field to the presentation template for displaying the function if the startup link further includes a function description field, where the function description field is used to describe the function.
- the second display subunit 90432 is specifically configured to: if the function description field includes a picture address, obtain a picture according to the picture address; add the picture to the display template for display.
- the message detection module 902 includes:
- the protocol detecting unit 9021 is configured to detect whether the communication message includes a predetermined protocol header, where the predetermined protocol header is a header of a custom URL protocol corresponding to the startup link;
- the link determining unit 9022 when the result of the detection by the protocol detecting unit 9021 is that the communication message includes a predetermined protocol header, determines that the communication message includes a startup link, and the startup link includes a predetermined protocol header.
- the function startup module 903 is specifically configured to generate a channel start request carrying the channel identifier, and send a channel start to the server by using the channel subroutine.
- the request, channel initiation request is used to request the channel identified by the activation channel identifier.
- the function is a game
- the function identification field includes a game mark
- the function activation module 903 is specifically configured to generate a game start request carrying the game identifier, and send a game start request to the server through the game subroutine, and the game start request is used to request to start the game identified by the game identifier.
- the function starting module 903 is specifically configured to obtain an account of the user account registered in the client. Identifying, generating a group member adding request carrying an account identifier and a group identifier, sending a group member adding request to the server by using a group member adding subroutine, and the group member adding request is used to request to add the user account to the group .
- the function starting device receives a communication message sent by another client, detects whether the communication message includes a startup link, and starts a link for starting a function provided by the client; if the detection result is a communication message Including the startup link, the function indicated by the startup link is started, the startup link can be directly obtained from the received communication message, and the function is directly activated according to the startup link, and the client needs to retrieve the corresponding function according to the name of the function input by the user.
- the function starts the function after the user clicks the function's startup option, which affects the function startup efficiency and achieves the effect of improving the function startup efficiency.
- the image can be converted into text for transmission, which saves the traffic of the client and saves the transmission resource.
- FIG. 10 is a schematic structural diagram of a function starting device according to an embodiment of the present invention.
- the function starting device can be applied to the client 130 shown in FIG.
- the function activation device includes:
- a link obtaining module 1001 configured to obtain a startup link from an input box of the client
- the link sending module 1002 is configured to send the startup link acquired by the link obtaining module 1001 to other clients, so that other clients initiate the function indicated by the startup link, and the startup link is used to start the functions provided by other clients.
- the function starting device obtained by the embodiment of the present invention obtains the startup link from the input box of the client; sends the startup link to other clients, and the startup link is used to start the functions provided by other clients, so that other clients
- the startup link can be directly received, and the function is directly activated according to the startup link, and the other client needs to retrieve the corresponding function according to the name of the function input by the user, and the function is activated after the user clicks the startup option of the function, which affects the function.
- the problem of starting efficiency has the effect of improving the startup efficiency of the function.
- FIG. 11 is a schematic structural diagram of a function starting device according to another embodiment of the present invention.
- the function starting device can be applied to the client 130 shown in FIG. 1 .
- the function activation device includes a link acquisition module 1101 and a link transmission module 1102.
- a link obtaining module 1101, configured to obtain a startup link from an input box of the client
- the link sending module 1102 is configured to send the startup link acquired by the link obtaining module 1101 to other clients, so that other clients initiate the function indicated by the startup link, and the startup link is used to start the functions provided by other clients.
- the link obtaining module 1101 includes:
- a text obtaining unit 11011 configured to acquire at least one keyword in the input box
- the text detecting unit 11012 is configured to detect whether at least one keyword acquired by the text obtaining unit 11011 matches a predetermined protocol header, where the predetermined protocol header is a header of a custom URL protocol corresponding to the startup link;
- the link generating unit 11013 is configured to, when the result detected by the text detecting unit 11012 is that at least one keyword matches the predetermined protocol header, complete the at least one keyword to obtain a startup link, and the startup link includes a predetermined protocol header.
- the link generating unit 11013 is specifically configured to:
- Completing at least one keyword according to a selected one of the field templates to obtain a startup link Completing at least one keyword according to a selected one of the field templates to obtain a startup link.
- the link obtaining module 1101 further includes:
- a first adding unit 11014 after the link generating unit 11013 completes the at least one keyword according to the selected one of the field templates, if the field template includes a template for inputting the program identification field, acquiring the program identifier of the subprogram, The program identification is added to the program identification field, and the program identification field is used to identify the subroutine; and/or,
- a second adding unit 11015 after the link generating unit 11013 completes the at least one keyword according to the selected one of the field templates, if the field template includes a field template for inputting the function identification field, acquiring the function identifier of the function, The feature identifier is added to the feature identification field, and the function identification field is used to identify the function; and/or,
- the third adding unit 11016 is configured to: after the link generating unit 11013 completes the at least one keyword according to the selected one of the field templates, generate a function description field, and after the function description field is added to the field template, the function description field is used for the function Describe.
- the third adding unit 11016 is specifically configured to: if the description content of the function includes a picture, obtain a picture address of the picture; and add the picture address to the function description field.
- the link obtaining module 1101 includes:
- the link obtaining unit 11017 is configured to obtain a startup link by a paste operation performed in the input box, and the startup link is triggered by generating a shortcut key displayed in advance.
- the function starting device obtained by the embodiment of the present invention obtains the startup link from the input box of the client; sends the startup link to other clients, and the startup link is used to start the functions provided by other clients, so that other clients
- the startup link can be directly received, and the function is directly activated according to the startup link, and the other client needs to retrieve the corresponding function according to the name of the function input by the user, and the function is activated after the user clicks the startup option of the function, which affects the function.
- the problem of starting efficiency has the effect of improving the startup efficiency of the function.
- by obtaining the picture address of the picture; adding the picture address to the function description field the picture can be converted into text for transmission, which saves the traffic of the client and saves the transmission resource.
- FIG. 12 is a schematic structural diagram of a function starting apparatus according to an embodiment of the present invention.
- the function starting apparatus may be applied to a terminal, where the terminal includes a client and a startup program corresponding to the client, and the startup program is A program for processing a custom URL protocol corresponding to a predetermined protocol header.
- the function activation device includes:
- the parameter extraction module 1201 is configured to: after the startup link is triggered, extract, by using an operating system, a predetermined protocol header in the startup link;
- the program search module 1202 is configured to search for a startup program according to a predetermined protocol header by using an operating system
- the function startup module 1203 is configured to trigger a client startup function by the startup program found by the program search module 1202.
- the function starting device extracts a predetermined protocol header in the startup link through the operating system after the startup link is triggered; the startup program is searched according to the predetermined protocol header by the operating system; and the client is triggered by the startup program.
- the terminal startup function can directly start the function according to the startup link, and solves the problem that the user needs to jump more interfaces when the function is started according to the function introduction information, thereby reducing the function startup efficiency and achieving the effect of improving the function startup efficiency.
- FIG. 13 is a schematic structural diagram of a function starting device according to another embodiment of the present invention.
- the function starting device may be applied to a terminal, where the terminal includes a client and a client.
- the startup program is a program for processing a custom URL protocol corresponding to a predetermined protocol header.
- the function starting device includes: a parameter extracting module 1301, a program searching module 1302, and a function starting module 1303.
- a parameter extraction module 1301, configured to: after the startup link is triggered, extract, by using an operating system, a predetermined protocol header in the startup link;
- the program search module 1302 is configured to search for a startup program according to a predetermined protocol header by using an operating system
- the function startup module 1303 is configured to trigger a client startup function by the startup program found by the program search module 1302.
- the function startup module 1303 includes:
- the parameter receiving unit 13031 is configured to receive, by using a startup program, a startup parameter sent by the operating system, where the startup parameter is obtained by the operating system from the startup link;
- a parameter passing unit 13032 configured to pass the startup parameter received by the parameter receiving unit 13031 to the client by using a startup program
- the function starting unit 13033 is configured to start a function corresponding to the startup parameter by using the client.
- the device further includes:
- the protocol registration module 1304 is configured to register the predetermined protocol header in the operating system before the parameter extraction module 1301 extracts the predetermined protocol header and the startup parameter in the startup link by using the operating system;
- the program registration module 1305 is configured to register the startup program in the operating system as a program for processing the custom URL protocol corresponding to the predetermined protocol header registered by the protocol registration module 1304.
- the device further includes:
- the protocol logout module 1306 is configured to: after the program registration module 1305 registers the startup program as a program for processing the custom URL protocol corresponding to the predetermined protocol header in the operating system, cancel the predetermined protocol header in the operating system;
- the registration revocation module 1307 is configured to cancel the operation of registering the startup program in the operating system as a program for processing the custom URL protocol corresponding to the predetermined protocol header.
- the parameter passing unit 13032 is specifically configured to convert the startup parameter into a startup parameter of a predetermined format by using a startup program, where the predetermined format is a format recognized by the client; and the startup parameter of the predetermined format is transmitted to the client by the startup program.
- the function startup module 1303 further includes:
- the first determining unit 13034 is configured to: before the parameter transmitting unit 13032 transmits the startup parameter to the client by using the startup program, receive the selection signal, determine the client indicated by the selection signal, and select the signal. Used to select one client from each of the displayed clients; or,
- the second determining unit 13035 is configured to: before the parameter passing unit 13032 passes the startup parameter to the client by using the startup program, if the startup parameter includes the identification information, determine the client indicated by the identification information.
- the function startup module 1303 further includes:
- the program starting unit 13036 is configured to start the client by the startup program before the parameter delivery unit 13032 passes the startup parameter to the client through the startup program, and if the client is in the shutdown state.
- the function activation module 1303 is specifically configured to generate, by using the client, a channel initiation request carrying the channel identifier, and send a channel initiation request to the server, and the channel The start request is used to request to activate the channel identified by the channel identifier.
- the function startup module 1303 is specifically configured to generate a channel startup request carrying the game identifier by using the client, and send a game startup request to the server, where the game The launch request is used to request the launch of the game identified by the game logo.
- the function startup module 1303 is specifically configured to acquire, by using the client, an account identifier of the user account that is logged in the client, A group member addition request carrying an account identifier and a group identifier is generated, and a group member addition request is sent to the server, and the group member addition request is used to request to add the user account to the group.
- the function starting device extracts a predetermined protocol header in the startup link through the operating system after the startup link is triggered; the startup program is searched according to the predetermined protocol header by the operating system; and the client is triggered by the startup program.
- the terminal startup function can directly start the function according to the startup link, and solves the problem that the user needs to jump more interfaces when the function is started according to the function introduction information, thereby reducing the function startup efficiency and achieving the effect of improving the function startup efficiency.
- the effect of saving the storage space of the operating system can be achieved by unregistering the predetermined protocol header in the operating system; revoking the operation of registering the startup program as a program for processing the custom URL protocol corresponding to the predetermined protocol header in the operating system.
- FIG. 14 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
- the terminal 1400 is installed with a client of the team voice tool, including RF (Radio Frequency)
- the core processor 1480 and the power supply 1490 are processed as above.
- the terminal structure shown in FIG. 14 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements. among them:
- the RF circuit 1410 can be used for receiving and transmitting signals during and after receiving or transmitting information, and in particular, receiving downlink information of the base station and then processing it by one or more processors 1480; in addition, transmitting data related to the uplink to the base station.
- the RF circuit 1410 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier). , duplexer, etc.
- SIM Subscriber Identity Module
- RF circuitry 1410 can also communicate with the network and other devices via wireless communication.
- the wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and the like.
- GSM Global System of Mobile communication
- GPRS General Packet Radio Service
- CDMA Code Division Multiple Access
- WCDMA Wideband Code Division Multiple Access
- LTE Long Term Evolution
- e-mail Short Messaging Service
- the memory 1420 can be used to store software programs and modules, and the processor 1480 executes various functional applications and data processing by running software programs and modules stored in the memory 1420.
- the memory 1420 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the terminal 1400 (such as audio data, phone book, etc.) and the like.
- memory 1420 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 1420 can also include a memory controller to provide access to memory 1420 by processor 1480 and input unit 1430.
- Input unit 1430 can be used to receive input numeric or character information, as well as to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
- input unit 1430 can include touch-sensitive surface 1431 as well as other input devices 1432.
- Touch sensitive surface 1431 It can be a camera or an optical scanning device.
- the input unit 1430 can also include other input devices 1432.
- other input devices 1432 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
- Display unit 1440 can be used to display information entered by the user or information provided to the user and various graphical user interfaces of terminal 1400, which can be comprised of graphics, text, icons, video, and any combination thereof.
- the display unit 1440 may include a display panel 1441.
- the display panel 1441 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
- Terminal 1400 can also include at least one type of sensor 1450, such as a light sensor, motion sensor, and other sensors.
- the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1441 according to the brightness of the ambient light, and the proximity sensor may close the display panel 1441 when the terminal 1400 moves to the ear. / or backlight.
- the gravity acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
- the terminal 1400 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, not here Let me repeat.
- An audio circuit 1460, a speaker 1461, and a microphone 1462 can provide an audio interface between the user and the terminal 1400.
- the audio circuit 1460 can transmit the converted electrical data of the received audio data to the speaker 1461, and convert it into a sound signal output by the speaker 1461.
- the microphone 1462 converts the collected sound signal into an electrical signal, and the audio circuit 1460 After receiving, it is converted into audio data, and then processed by the audio data output processor 1480, transmitted to the terminal, for example, via the RF circuit 1410, or the audio data is output to the memory 1420 for further processing.
- Audio circuitry 1460 may also include an earbud jack to provide communication of the peripheral earphones with terminal 1400.
- WiFi is a short-range wireless transmission technology
- the terminal 1400 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 1470, which provides wireless broadband Internet access for users.
- FIG. 14 shows the WiFi module 1470, it can be understood that it does not belong to the essential configuration of the terminal 1400, and may be omitted as needed within the scope of not changing the essence of the invention.
- Processor 1480 is the control center of terminal 1400 that connects various portions of the entire handset using various interfaces and lines, by running or executing software programs and/or modules stored in memory 1420, and recalling data stored in memory 1420, The various functions and processing data of the terminal 1400 are performed to perform overall monitoring of the mobile phone.
- the processor 1480 may include one or more processing cores; preferably, the processor 1480 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
- the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 1480.
- the terminal 1400 also includes a power source 1490 (such as a battery) for powering various components.
- the power source 1490 can be logically coupled to the processor 1480 through a power management system to manage functions such as charging, discharging, and power management through a power management system.
- the power supply 1490 can also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
- the terminal 1400 may further include a Bluetooth module or the like, and details are not described herein again.
- the terminal 1400 further includes a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors, the one or More than one program includes instructions for performing the function initiation method provided by embodiments of the present invention.
- the network management apparatus when performing network management, only exemplifies the division of each of the foregoing subroutines. In actual applications, the function allocation may be completed by different subroutines as needed.
- the internal structure of the network management device is divided into different subroutines to complete all or part of the functions described above.
- the network management device and the network management method embodiment provided in the foregoing embodiments are in the same concept, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.
- the disclosed systems, devices, and methods may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of the unit may be only a logical function division.
- there may be another division manner for example, multiple units or components may be combined. Or it can be integrated into another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product.
- the technical solution of the present invention which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
- the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
- the foregoing storage medium includes: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like.
- the medium of the code includes: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
La présente invention appartient au domaine technique des ordinateurs. Elle concerne un procédé et un dispositif d'activation de fonction. Le procédé consiste à : recevoir un message de communication transmis par un client ; détecter si le message de communication contient un lien d'activation pour activer la fonction fournie par le client ; et, si oui, activer la fonction indiquée par le lien d'activation. La présente invention résout le problème d'une diminution de l'efficacité d'activation d'une fonction du au fait qu'un client doit retrouver une fonction correspondante d'après le nom de la fonction entré par un utilisateur et doit ensuite activer la fonction après que l'utilisateur a cliqué sur l'option d'activation de la fonction. L'invention améliore ainsi l'efficacité d'activation d'une fonction.
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310754562.0 | 2013-12-31 | ||
CN201310754562.0A CN103763312B (zh) | 2013-12-31 | 2013-12-31 | 功能启动方法、装置及客户端 |
CN201310754304.2 | 2013-12-31 | ||
CN201310754304.2A CN103761123B (zh) | 2013-12-31 | 2013-12-31 | 功能启动方法、装置及终端 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2015101340A1 true WO2015101340A1 (fr) | 2015-07-09 |
Family
ID=53493277
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2014/096010 WO2015101340A1 (fr) | 2013-12-31 | 2014-12-31 | Procédé et dispositif d'activation de fonction |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2015101340A1 (fr) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110737462A (zh) * | 2019-10-15 | 2020-01-31 | 腾讯科技(深圳)有限公司 | 应用程序内的功能组件的控制方法、设备及存储介质 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101047521A (zh) * | 2006-03-31 | 2007-10-03 | 腾讯科技(深圳)有限公司 | 客户端播放网络媒体文件的方法及客户端 |
CN102413153A (zh) * | 2010-09-20 | 2012-04-11 | 腾讯科技(深圳)有限公司 | 一种发布微博消息的方法及装置 |
CN103763312A (zh) * | 2013-12-31 | 2014-04-30 | 广州华多网络科技有限公司 | 功能启动方法、装置及客户端 |
CN103761123A (zh) * | 2013-12-31 | 2014-04-30 | 广州华多网络科技有限公司 | 功能启动方法、装置及终端 |
-
2014
- 2014-12-31 WO PCT/CN2014/096010 patent/WO2015101340A1/fr active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101047521A (zh) * | 2006-03-31 | 2007-10-03 | 腾讯科技(深圳)有限公司 | 客户端播放网络媒体文件的方法及客户端 |
CN102413153A (zh) * | 2010-09-20 | 2012-04-11 | 腾讯科技(深圳)有限公司 | 一种发布微博消息的方法及装置 |
CN103763312A (zh) * | 2013-12-31 | 2014-04-30 | 广州华多网络科技有限公司 | 功能启动方法、装置及客户端 |
CN103761123A (zh) * | 2013-12-31 | 2014-04-30 | 广州华多网络科技有限公司 | 功能启动方法、装置及终端 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110737462A (zh) * | 2019-10-15 | 2020-01-31 | 腾讯科技(深圳)有限公司 | 应用程序内的功能组件的控制方法、设备及存储介质 |
CN110737462B (zh) * | 2019-10-15 | 2022-04-01 | 腾讯科技(深圳)有限公司 | 应用程序内的功能组件的控制方法、设备及存储介质 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10708649B2 (en) | Method, apparatus and system for displaying bullet screen information | |
US11055740B2 (en) | Advertisement push system, apparatus, and method | |
US9351165B2 (en) | Identity verifying method, account acquiring method, and mobile terminal | |
WO2015124033A1 (fr) | Procédé d'interaction vidéo, terminal, serveur et système | |
WO2016150331A1 (fr) | Procédé et dispositif d'exploitation d'un client de jeu | |
WO2016150270A1 (fr) | Procédé et appareil pour traiter un message de session de groupe | |
US10084729B2 (en) | Apparatuses and methods for web page sharing | |
CN106973330B (zh) | 一种屏幕直播方法、装置和系统 | |
WO2015096747A1 (fr) | Procédé de réponse à une opération, client, navigateur et système | |
JP2017517904A (ja) | ビデオベースの対話方法、端末、サーバ、およびシステム | |
CN109003194B (zh) | 评论分享方法、终端以及存储介质 | |
WO2018107941A1 (fr) | Procédé et système de liaison multi-écrans utilisés dans un scénario ar | |
WO2015085951A1 (fr) | Terminal, serveur, système et procédé pour inviter un ami à regarder une vidéo | |
CN107333162B (zh) | 一种播放直播视频的方法和装置 | |
WO2018196588A1 (fr) | Procédé, appareil et système de partage d'informations | |
CN106254910B (zh) | 一种记录图像的方法和装置 | |
CN106406924B (zh) | 应用程序启动和退出画面的控制方法、装置及移动终端 | |
CN107908765B (zh) | 一种游戏资源处理方法、移动终端及服务器 | |
JP2017521899A (ja) | インタラクティブ情報を獲得するための方法、端末、サーバ、およびシステム | |
WO2017193496A1 (fr) | Procédé et appareil de traitement de données d'application et dispositif de terminal | |
WO2021078215A1 (fr) | Procédé de commutation, entre terminaux, de jeu en nuage et dispositif associé | |
WO2014206037A1 (fr) | Appareils et procédés pour partage de page web | |
WO2015010466A1 (fr) | Procédé et appareil d'affichage d'informations, et terminal mobile | |
CN103279272A (zh) | 一种在电子装置中启动应用程序的方法及装置 | |
WO2015062234A1 (fr) | Procédé, dispositif et appareil de traitement de ressource de terminal mobile |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14877479 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 09/11/2016) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 14877479 Country of ref document: EP Kind code of ref document: A1 |