Application program running method, electronic device and readable storage medium
By creating switching links between applications, fast application switching between devices is achieved, which solves the problems of security risks and slow switching speed in the existing technology, and improves security and switching efficiency.
Patent Information
- Application Number
- CN202010893397.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-28
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2040-08-28
AI Technical Summary
The existing technology has security risks and slow switching speed when switching devices between applications. In particular, shared accounts are unsafe and cannot release local device control permissions.
Obtain the user authentication data and running data of the application through the source device, create a switching link and send it to the target device. The target device logs in and loads the application according to the link, and logs out and deletes the data after completion, realizing the application on the device. Quick switching between
It enables fast switching of applications between devices, improves security, and avoids the security risks of sharing accounts and control permissions without the need to share accounts or control permissions.
Smart Images

Figure CN112130925B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic devices, and specifically to an application program running method, an electronic device, and a readable storage medium. Background Art
[0002] In actual applications, after a user uses an electronic device to run an application, if the user cannot continue to use the electronic device, or does not have time to continue operating the application, but does not want the application to be interrupted, the solutions currently available are: one is to share the application account, and other users use the account to log in on other devices, and then load the application to the current running state; the other is to open the control authority of the electronic device to a specific device, and the specific device remotely controls the electronic device to operate. However, in these two solutions, the first solution is unsafe to share the account and the switching speed is too slow, and the other solution cannot release the local electronic device. In addition, sharing the control authority of the electronic device also has security risks.
[0003] The preceding description is intended to provide general background information and does not necessarily constitute prior art. Summary of the invention
[0004] Based on the above problems, the present application provides an application running method, an electronic device and a readable storage medium to implement the switching of application programs between devices, which is safer and more practical. The invention contents are as follows:
[0005] A method for running an application program, the method comprising:
[0006] The source device obtains user authentication data and / or operation data of the application, and creates a switching link for the application according to the user authentication data and / or operation data;
[0007] The source device sends the switching link so that the target device logs into the application and / or directly loads the application according to the user authentication data of the switching link.
[0008] In some embodiments, the source device sending the switching link includes:
[0009] The source device sends the switching link to the target device via an instant messaging tool.
[0010] In some embodiments, after the source device sends the switching link, the method further includes:
[0011] After the source device detects that the target device has loaded the application, the source device logs out of the application.
[0012] In some embodiments, the source device sends the switching link to the target device via an instant messaging tool, including:
[0013] The source device obtains a contact address book;
[0014] The source device receives a network status selection instruction of a contact, and determines a target contact according to the selection instruction;
[0015] The source device sends the switching link to a target device corresponding to the target contact.
[0016] In some embodiments, the contact directory displays characteristic values of contacts.
[0017] A method for running an application program, characterized in that the method comprises:
[0018] The target device receives the switching link sent by the source device, wherein the switching link includes user authentication data and / or operation data of the application program;
[0019] The target device logs into the application according to the user authentication data and / or directly loads the application.
[0020] In some embodiments, the switching link also includes the running permission of the application;
[0021] The target device logs out of the application according to the execution permission after the application runs for a specific time and / or completes a specific process.
[0022] In some embodiments, after the target device logs out of the application, the method further comprises:
[0023] The target device deletes the running data of the application.
[0024] An electronic device comprises a processor and a memory, wherein the processor and the memory are connected via a communication bus, the memory stores one or more programs, and the one or more programs are loaded by the processor and execute the above-mentioned application program running method.
[0025] A readable storage medium stores one or more programs, and the one or more programs can be executed by a processor to implement the above-mentioned application running method.
[0026] By using the user authentication data and operation data of the source device application to create a switching link for the application, and then launching the switching link to the target device, the target device obtains the user authentication data and operation data of the application after receiving the switching link, logs in to the application on the target device according to the user authentication data, and loads the application to the process identified by the operation data and executes subsequent processes, thereby completing the switching of the application between the source device and the target device and realizing the cross-device operation of the application. The above method can realize the rapid switching of applications between devices by generating a switching link for the application, and does not require the sharing of application accounts or control permissions of electronic devices, which is safer and more practical than the existing technology. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor.
[0028] Figure 1 A schematic diagram of the hardware structure of a mobile terminal for implementing various embodiments of the present application;
[0029] Figure 2 A communication network system architecture diagram provided for an embodiment of the present application;
[0030] Figure 3 A flowchart of a method for running an application program provided in the first embodiment of the present application;
[0031] Figure 4 A flowchart of a method for running an application program provided in accordance with the second embodiment of the present application;
[0032] Figure 5 A schematic diagram of a contact directory selection interface of an application program running method provided in the second embodiment of the present application;
[0033] Figure 6 A flowchart of a method for running an application program provided in the third embodiment of the present application;
[0034] Figure 7 A flowchart of a method for running an application program provided in a fourth embodiment of the present application;
[0035] Figure 8 A schematic diagram of an electronic device provided in this application.
[0036] The realization of the purpose, functional features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. The above-mentioned drawings have shown clear embodiments of this application, which will be described in more detail later. These drawings and textual descriptions are not intended to limit the scope of the concept of this application in any way, but to illustrate the concept of this application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0037] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. In the absence of conflict, the following embodiments and their technical features can be combined with each other. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application.
[0038] It should be noted that, in this article, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element. In addition, components, features, and elements with the same name in different embodiments of the present application may have the same meaning or different meanings, and their specific meanings need to be determined by their explanation in the specific embodiment or further combined with the context of the specific embodiment.
[0039] It should be understood that, although the terms first, second, third, etc. may be used to describe various information in this article, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this article, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein can be interpreted as "at the time of..." or "when..." or "in response to determination". Furthermore, as used in this article, the singular forms "one", "one" and "the" are intended to also include plural forms, unless there is an opposite indication in the context. It should be further understood that the terms "comprising", "including" indicate that there are described features, steps, operations, elements, components, projects, kinds, and / or groups, but do not exclude the existence, occurrence or addition of one or more other features, steps, operations, elements, components, projects, kinds, and / or groups. The terms "or" and "and / or" used herein are interpreted as inclusive, or mean any one or any combination. Thus, “A, B, or C” or “A, B and / or C” means “any of the following: A; B; C; A and B; A and C; B and C; A, B, and C.” An exception to this definition will occur only when a combination of elements, functions, steps, or operations are inherently mutually exclusive in some manner.
[0040] It should be understood that, although the various steps in the flowchart in the embodiment of the present application are displayed in sequence according to the indication of the arrows, these steps are not necessarily performed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and it can be performed in other orders. Moreover, at least a portion of the steps in the figure may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and their execution order is not necessarily performed in sequence, but can be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0041] It should be noted that, in this article, step codes such as 301 and 302 are used for the purpose of expressing the corresponding content more clearly and concisely, and do not constitute a substantial limitation on the sequence. When implementing the step, those skilled in the art may execute 302 first and then 301, etc., but these should all be within the scope of protection of this application.
[0042] The electronic devices in this specification include but are not limited to mobile phones, tablet computers, desktop computers, notebook computers and other devices; application programs include but are not limited to games, office, audio and video programs, etc. It should be understood that the specific embodiments described here are only used to explain this application and are not used to limit this application.
[0043] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present application, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.
[0044] The electronic device may be implemented in various forms. For example, the electronic device described in this application may include mobile terminals such as mobile phones, tablet computers, laptop computers, PDAs, portable media players (PMPs), navigation devices, wearable devices, smart bracelets, pedometers, etc., and fixed terminals such as digital TVs and desktop computers.
[0045] The following description will be made by taking a mobile terminal as an example, and those skilled in the art will understand that, in addition to components specifically used for mobile purposes, the construction according to the embodiments of the present application can also be applied to fixed-type terminals.
[0046] See also Figure 1 , which is a schematic diagram of the hardware structure of a mobile terminal for implementing various embodiments of the present application, the mobile terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A / V (audio / video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111 and other components. Those skilled in the art can understand that Figure 1 The structure of the mobile terminal shown in the figure does not constitute a limitation on the mobile terminal. The mobile terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0047] Combine the following Figure 1 The following is a detailed introduction to the various components of the mobile terminal:
[0048] The radio frequency unit 101 can be used for receiving and sending signals during information transmission or communication. Specifically, after receiving the downlink information of the base station, it is sent to the processor 110 for processing; in addition, the uplink data is sent to the base station. Generally, the radio frequency unit 101 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 101 can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution), etc.
[0049] WiFi is a short-range wireless transmission technology. Mobile terminals can help users send and receive emails, browse web pages, and access streaming media through WiFi module 102. It provides users with wireless broadband Internet access. Figure 1 The WiFi module 102 is shown, but it is understandable that it is not an essential component of the mobile terminal and can be omitted as required without changing the essence of the invention.
[0050] The audio output unit 103 can convert the audio data received by the RF unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output it as sound when the mobile terminal 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, etc. Moreover, the audio output unit 103 can also provide audio output related to a specific function performed by the mobile terminal 100 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, etc.
[0051] The A / V input unit 104 is used to receive audio or video signals. The A / V input unit 104 may include a graphics processor (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 106. The image frame processed by the graphics processor 1041 can be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) via the microphone 1042 in a telephone call mode, a recording mode, a voice recognition mode, and other operating modes, and can process such sound into audio data. The processed audio (voice) data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode. The microphone 1042 can implement various types of noise elimination (or suppression) algorithms to eliminate (or suppress) noise or interference generated in the process of receiving and sending audio signals.
[0052] The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 1061 and / or the backlight when the mobile terminal 100 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can also be configured on the mobile phone, such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.
[0053] The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
[0054] The user input unit 107 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 1071 or near the touch panel 1071 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 110, and can receive and execute the command sent by the processor 110. In addition, the touch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 1071, the user input unit 107 may also include other input devices 1072. Specifically, the other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, a function key (such as a volume control key, a switch key, etc.), a trackball, a mouse, a joystick, etc., which are not specifically limited here.
[0055] Furthermore, the touch panel 1071 may cover the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits the information to the processor 110 to determine the type of the touch event. Then, the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Figure 1 In the figure, the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the mobile terminal. However, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated to implement the input and output functions of the mobile terminal, which is not limited here.
[0056] The interface unit 108 serves as an interface through which at least one external device can be connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and an external device.
[0057] The memory 109 can be used to store software programs and various data. The memory 109 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 109 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0058] The processor 110 is the control center of the mobile terminal. It uses various interfaces and lines to connect various parts of the entire mobile terminal. It executes various functions of the mobile terminal and processes data by running or executing software programs and / or modules stored in the memory 109, and calling data stored in the memory 109, so as to monitor the mobile terminal as a whole. The processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 110.
[0059] The mobile terminal 100 may also include a power supply 111 (such as a battery) for supplying power to various components. Preferably, the power supply 111 may be logically connected to the processor 110 through a power management system, so that the power management system can manage charging, discharging, power consumption, and other functions. Figure 1 Not shown, the mobile terminal 100 may further include a Bluetooth module, etc., which will not be described in detail here.
[0060] In order to facilitate understanding of the embodiments of the present application, the communication network system on which the mobile terminal of the present application is based is described below. Figure 2 , Figure 2 A communication network system architecture diagram is provided for an embodiment of the present application, wherein the communication network system is an LTE system of universal mobile communication technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203 and an operator's IP service 204, which are connected in sequence for communication.
[0061] Specifically, UE201 may be the above-mentioned terminal 100, which will not be described in detail here.
[0062] E-UTRAN 202 includes eNodeB 2021 and other eNodeBs 2022 , etc. Among them, eNodeB 2021 can be connected to other eNodeBs 2022 through a backhaul (eg, an X2 interface), and eNodeB 2021 is connected to EPC 203 , and eNodeB 2021 can provide UE 201 with access to EPC 203 .
[0063] EPC203 may include MME (Mobility Management Entity) 2031, HSS (Home Subscriber Server) 2032, other MMEs 2033, SGW (Serving Gate Way) 2034, PGW (PDN Gate Way) 2035 and PCRF (Policy and Charging Rules Function) 2036, etc. Among them, MME2031 is a control node that processes signaling between UE201 and EPC203, and provides bearer and connection management. HSS2032 is used to provide some registers to manage functions such as home location register (not shown in the figure), and save some user-specific information such as service features and data rates. All user data can be sent through SGW2034, PGW2035 can provide IP address allocation and other functions for UE 201, PCRF2036 is the policy and charging control policy decision point for service data flow and IP bearer resources, which selects and provides available policy and charging control decisions for the policy and charging execution function unit (not shown in the figure).
[0064] The IP service 204 may include the Internet, an intranet, an IMS (IP Multimedia Subsystem) or other IP services.
[0065] Although the above introduction takes the LTE system as an example, those skilled in the art should know that the present application is not only applicable to the LTE system, but also to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA and future new network systems, etc., which are not limited here.
[0066] Based on the above mobile terminal hardware structure and communication network system, various embodiments of this application are proposed. The first embodiment of this application provides an application running method, see Figure 3 The application running method includes steps 301 to 302, wherein the steps are:
[0067] Step 301: The source device obtains user authentication data and / or operation data of an application, and creates a switching link for the application according to the user authentication data and / or operation data.
[0068] The source device is the electronic device currently operated by the user, which may be a smart terminal such as a mobile phone or a tablet; the application may include a game application; the user authentication data may include the user account and password information of the application; the operation data may include the data required for the application to run to the current operation state; the switching link may be an absolute or relative hyperlink, which contains the user authentication data and / or operation data of the application. For example: when a user is using a source smart terminal to run a game application, the user can perform specific local operations, and the game application enters the switching mode. At this time, the source smart terminal obtains information such as the user account and password of the game application, or includes the current operation data of the game application, and generates a switching link for the application based on these data using the application itself or the source smart terminal.
[0069] Step 302: The source device sends the switching link so that the target device logs into the application and / or directly loads the application according to the user authentication data of the switching link.
[0070] The target device is another electronic device determined by the source device according to the user's selection. The source device can send the switching link to the target device through instant messaging tools or short-distance communication technology and other communication methods. After receiving the switching link sent by the source device, the target device can obtain the user authentication data and / or operation data contained in the switching link, and then log in to the same application on the target device according to the user authentication data, and load the application to the process identified by the operation data, so that the application on the target device and the application on the source terminal are in the same running state, and then the target device can continue to execute subsequent processes. For example: after generating the switching link of the application as described in the previous step, the source smart terminal can send the switching link to the target smart terminal selected by the user through instant messaging tools such as WeChat and QQ, or communication methods such as short-range communication technologies such as Bluetooth and NFC. After receiving the switching link, the target smart terminal can obtain the user account and password and other authentication data of the application of the source smart terminal, as well as the running data of the application on the source smart terminal through the switching link. The target smart terminal then uses the user authentication data to log in to the application on the target smart terminal. In addition, the target smart terminal also loads the game application on the target mobile terminal to the process identified by the running data according to the running data. After that, the target smart terminal can continue to execute the current process and other operation instructions and processes.
[0071] Through the application running method provided by the above embodiment, a switching link can be generated on the source device based on the user authentication data and running data of the application, and then the source device sends the switching link to the target device through an instant messaging tool, etc. After receiving the switching link, the target device can obtain the user authentication data and running data contained in the switching link, and then the target device logs in to the application located on the target device according to the user authentication data, and loads the application to the process identified by the running data, so that the running state of the application on the target device is consistent with that of the application on the source device. By generating a switching link for the application and transmitting it between devices, it is possible to achieve rapid switching of the application between devices, and there is no need to share the application account or the control authority of the electronic device, which is safer and more practical than the existing technology.
[0072] The second embodiment of the present application provides another application program running method. Figure 4 , which is a flow chart of the method, wherein the method includes steps 401 to 405, and the contents of each step are as follows. For the same parts as the above embodiment, please refer to the above embodiment and will not be repeated here.
[0073] Step 401: The source device obtains user authentication data and / or operation data of an application, and creates a switching link for the application according to the user authentication data and / or operation data.
[0074] Step 402: The source device obtains a contact directory.
[0075] The source device sends the switching link to the target device via an instant messaging tool. The instant messaging tool may be a third-party application such as WeChat, QQ, or a messaging tool plug-in included in the application itself, such as text, voice, or video messaging tools that game applications such as Honor of Kings have. The instant messaging tools actually used are not exhaustively listed here. The contact address book may be a contact address book of a third-party application such as WeChat, QQ, or a friend list of applications such as games and music, etc., which is not limited here.
[0076] Step 403: The source device receives a contact's network status selection instruction, and determines a target contact according to the selection instruction.
[0077] The network status of the contact may be information showing whether the contact is currently online, busy, or performing certain application operations. The historical switching record may be a historical switching record of the contact, which may include the historical switching frequency of the contact, the result score of executing the application process after the switching, etc. For example, after the source device generates the switching link, it can obtain the communication tool contact directory of the application itself, see Figure 5 , which can be a display interface of a contact address list, and the contact address list can display the network status of each contact, wherein the status of contact friend A is displayed as online, which can indicate that the friend has logged into the application but has not entered the task and can receive a switching request; the status of friend B is displayed as busy, which can indicate that the friend is busy in the operation of the application and cannot switch the application; the status of friend C and friend D is displayed as offline, which means that the friend is not currently running the application. In addition, the characteristic value of the contact can be the winning rate of the contact, see Figure 5 The winning rate on the right can represent the winning probability of their operating the application, or the winning probability calculated based on historical switching data. No specific limitation is made here.
[0078] The selection instruction is a selection instruction of a target contact made by the source device user based on the contact network status or historical switching records displayed in the contact address list, as well as the user's own selection tendency. The source device then determines the target contact based on the selection instruction. For example: Figure 5When the user selects friend A who is online and has a high winning rate according to the current information of the contact displayed in the contact address book, the source device receives the selection instruction and determines that the target contact is friend A according to the selection instruction.
[0079] Step 404: The source device sends the switching link to the target device corresponding to the target contact.
[0080] After the target device is determined, the source device can perform a sending operation to send the switching link to the selected target device. After the source device sends the switching link to the target contact, the switching link is sent to the target device through the server of a third-party application or the server of its own application. When the target contact corresponds to the target device, that is, when the target contact obtains the switching link of the contact through the target device, the device used by the contact becomes the target device. In addition, when the target contact refuses to obtain the additional data contained in the switching link, a message can be sent to the source device to enable the source device user to continue to select other target contacts.
[0081] Step 405: After the source device detects that the target device has loaded the application, the source device logs out of the application.
[0082] After the target device loads the application to the process identified by the running data, it may send a logout signal to the source device. After receiving the logout signal, the source device logs out of the application on the source device.
[0083] In this embodiment, the switching link of the original terminal is sent to the target device through the instant messaging tool, which can shorten the transmission time of the switching link and is simple and practical; by enriching the address book display information of the instant messaging tool, the user can be well guided to make a better switching target choice to achieve better use effect; in addition, when the source device detects that the target device has loaded the target device application to the process identified by the running data, the source device application is logged out to better realize the switching of the application between the two devices, and the source device can be vacant so that the source device user can use the source device to perform other tasks.
[0084] The third embodiment of the present application provides another method for running an application program, which can be found in Figure 6 , is a flow chart of the method, wherein the method includes steps 601 to 602, and the contents of each step are as follows:
[0085] Step 601: The target device receives a switching link sent by the source device, where the switching link includes user authentication data and / or running data of the application.
[0086] The target device is another electronic device determined by the source device according to the user's selection. The target device can receive the switching link sent by the source device through a communication method such as an instant messaging tool or a short-distance communication technology. After receiving the switching link sent by the source device, the target device can obtain the user authentication data and / or operation data contained in the switching link. The user authentication data and operation data can be the same or similar to those in the above embodiment, and will not be described in detail here.
[0087] Step 602: The target device logs into the application program according to the user authentication data and / or directly loads the application program.
[0088] After obtaining the user authentication data and / or running data contained in the switching link, the target device can log in to the same application on the target device according to the user authentication data, or directly load the application to the process identified by the running data, so that the application on the target device is in the same running state as the application on the source terminal when entering the switching mode, and then the target device can continue to execute subsequent processes.
[0089] In this embodiment, after the target device obtains the switching link sent by the source device through communication methods such as instant messaging tools or short-distance communication technology, it can obtain the user authentication data and operation data of the application on the source device side according to the switching link, and then log in to the same application on the target device side according to the user authentication data, load the application to the process identified by the operation data, and execute subsequent processes, thereby completing the cross-device operation of the application between the source device and the target device.
[0090] The fourth embodiment of the present application provides another application program running method, see Figure 7 , which is a flow chart of the method, wherein the method includes steps 701 to 704, and the content of each step is as follows. For the same parts as the above embodiment, please refer to the above embodiment and will not be repeated here.
[0091] Step 701: The target device receives a switching link sent by the source device, where the switching link includes user authentication data and / or running data of the application.
[0092] Step 702: The target device logs into the application program according to the user authentication data and / or directly loads the application program.
[0093] Step 703: The target device logs out of the application according to the execution permission after the application runs for a specific time and / or completes a specific process.
[0094] The operation permission may include data information in the switching link. When the target device obtains the user authentication data and the operation data, the operation permission information is obtained at the same time. The operation permission information is used to limit the target terminal application to exit the application after it is started and loaded, and after running for a certain period of time or executing a specific process. For example: after the target device loads the local application according to the switching link and runs it for 10 minutes, or after running this game, according to the operation permission, the user account on the target terminal will be forced to log out of the application.
[0095] Step 704: The target device deletes the running data of the application.
[0096] The running data is the running data of the application on the target device due to the switching link. After the application account on the target device is logged out, the target device, that is, the application, deletes the relevant data of this operation.
[0097] In this embodiment, the switching link also includes the application's running permission information. When the target device runs the local application, it needs to be within the scope of the permission to ensure that the application on the target device side logs out the application account of the original device user after running for a certain period of time or completing a specific process, thereby controlling operations outside the scope of the target device side application's running permission to ensure account security. In addition, after the target device logs out of the application, the target device loads the application to delete the current running data to prevent data leakage.
[0098] The present application also provides an electronic device, see Figure 8 The electronic device 800 includes a processor 801 and a memory 802, and the processor 801 and the memory 802 are connected via a communication bus 803. The electronic device 800 can be a terminal device such as a mobile phone, a tablet computer, a laptop computer, etc. The electronic device 800 can run any one of the application running methods in the above embodiments to achieve the effect of cross-device running of the application, making the switching process faster, more practical and safer.
[0099] The present application also provides a readable storage medium, which can store one or more programs. The one or more programs can be executed by one or more processors to implement the application running method described in the above embodiment, so as to achieve the effect of running the application across devices, making the switching process faster, more practical and safer.
[0100] Although the present application has been shown and described with respect to one or more implementations, those skilled in the art will think of equivalent variations and modifications based on the reading and understanding of this specification and the accompanying drawings. The present application includes all such modifications and variations, and is limited only by the scope of the appended claims. In particular, with respect to the various functions performed by the above-mentioned components, the terms used to describe such components are intended to correspond to any component (unless otherwise indicated) that performs the specified function of the component (e.g., it is functionally equivalent), even if the structure is not equivalent to the disclosed structure of the function in the exemplary implementation of the present specification shown herein. In addition, although the specific features of the present specification have been disclosed with respect to only one of several implementations, such features can be combined with one or more other features of other implementations that may be desirable and advantageous for a given or specific application. Moreover, insofar as the terms "including", "having", "containing" or their variations are used in specific embodiments or claims, such terms are intended to be included in a manner similar to the term "comprising". Further, it should be understood that the "multiple" mentioned in this article refers to two or more. For the steps mentioned in this article, the numerical suffixes are only used to clearly describe the embodiments and facilitate understanding, and do not completely represent the order in which the steps are executed. They should be considered in the order of logical relationships.
[0101] The present application also provides a device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of the method described above when executed by the processor.
[0102] The present application also provides a computer storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method described above are implemented.
[0103] An embodiment of the present application further provides a computer program product, which includes a computer program code. When the computer program code is executed on a computer, the computer executes the methods described in the various possible implementation modes above.
[0104] An embodiment of the present application also provides a chip, including a memory and a processor, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a device equipped with the chip executes the methods described in the various possible implementation modes above.
[0105] The above descriptions are merely embodiments of the present application and are not intended to limit the patent scope of the present application. Any equivalent structural or equivalent process transformations made using the contents of the specification and drawings of the present application, such as the mutual combination of technical features between the embodiments, or direct or indirect application in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A method for running an application program, It is characterized in that The method comprises: The source device obtains user authentication data and / or operation data of the application, and creates a switching link for the application according to the user authentication data and / or operation data; The source device sends the switching link so that the target device logs in to the application and / or directly loads the application according to the user authentication data of the switching link, wherein the source device obtains a contact address book, the contact address book displays the network status of the contact, the historical switching record and the winning rate information of the contact, the source device receives a selection instruction, and determines the target contact according to the selection instruction, and the source device sends the switching link to the target device corresponding to the target contact.
2. The method according to claim 1, It is characterized in that The source device sending the switching link includes: The source device sends the switching link to the target device via an instant messaging tool.
3. The method according to claim 1, It is characterized in that After the source device sends the switching link, the method further includes: After the source device detects that the target device has loaded the application, the source device logs out of the application.
4. The method according to claim 1, It is characterized in that The contact directory displays the characteristic values of the contacts.
5. An electronic device, It is characterized in that The electronic device includes a processor and a memory, the processor and the memory are connected via a communication bus, the memory stores one or more programs, and the one or more programs are loaded by the processor and execute the application running method described in any one of claims 1 to 4.
6. A readable storage medium, It is characterized in that The readable storage medium stores one or more programs, and the one or more programs can be executed by a processor to implement the application running method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Application program sharing method and mobile terminal
CN105389175A
Server access method and related equipment
CN106911645A
