CN110602187A - Terminal sharing method, device and equipment - Google Patents

Terminal sharing method, device and equipment Download PDF

Info

Publication number
CN110602187A
CN110602187A CN201910812992.0A CN201910812992A CN110602187A CN 110602187 A CN110602187 A CN 110602187A CN 201910812992 A CN201910812992 A CN 201910812992A CN 110602187 A CN110602187 A CN 110602187A
Authority
CN
China
Prior art keywords
terminal
scheme
sharing scheme
sharing
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910812992.0A
Other languages
Chinese (zh)
Inventor
刘新
王玉平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Xinsi Blockchain Technology Co Ltd
Original Assignee
Shenzhen Xinsi Blockchain Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Xinsi Blockchain Technology Co Ltd filed Critical Shenzhen Xinsi Blockchain Technology Co Ltd
Priority to CN201910812992.0A priority Critical patent/CN110602187A/en
Publication of CN110602187A publication Critical patent/CN110602187A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1044Group management mechanisms 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1044Group management mechanisms 
    • H04L67/1053Group management mechanisms  with pre-configuration of logical or physical connections with a determined number of other peers

Abstract

The application provides a terminal sharing method, a terminal sharing device and terminal sharing equipment, wherein the method comprises the following steps: determining a target sharing scheme and a second terminal for executing the target sharing scheme, wherein the second terminal is selected from at least one idle terminal, and the target sharing scheme is selected from at least one sharing scheme corresponding to the second terminal; acquiring test data for realizing the target sharing scheme from a first terminal; and sending the test data and the target sharing scheme to the second terminal so as to trigger the second terminal to execute the target sharing scheme through the test data. The technical scheme can realize the sharing of terminal resources and improve the utilization rate of idle terminal resources.

Description

Terminal sharing method, device and equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to a terminal sharing method, apparatus, and device.
Background
Currently, each user may have multiple terminal devices, such as multiple mobile phones, tablet computers, and the terminal devices commonly used by the user are usually specific ones, and the terminal devices not commonly used by the user are often left unused, and the unused terminal resources are not utilized, which may cause waste of the unused resources.
Disclosure of Invention
The embodiment of the application provides a terminal sharing method, a terminal sharing device and terminal sharing equipment, and solves the problem of resource waste of idle terminals.
In a first aspect, a terminal sharing method is provided, including:
determining a target sharing scheme and a second terminal for executing the target sharing scheme, wherein the second terminal is selected from at least one idle terminal, and the target sharing scheme is selected from at least one sharing scheme corresponding to the second terminal;
acquiring test data for realizing the target sharing scheme from a first terminal;
and sending the test data and the target sharing scheme to the second terminal so as to trigger the second terminal to execute the target sharing scheme through the test data.
In the embodiment of the application, the target sharing scheme and the second terminal for executing the target sharing scheme are determined, the test data for realizing the target sharing scheme is obtained from the first terminal, and the test data and the target sharing scheme are sent to the second terminal, so that the second terminal is triggered to execute the target sharing scheme through the test data. The method has the advantages that the terminal information of the second terminal (idle terminal) is issued, so that a user (demander) corresponding to the first terminal can check the idle terminal information, and select the corresponding idle terminal to share according to the requirement.
With reference to the first aspect, in a possible implementation manner, the determining a target sharing scheme and a second terminal for executing the target sharing scheme includes: pushing at least one equipment identifier and at least one scheme identifier of a sharing scheme corresponding to the equipment identifier to a first terminal, wherein one equipment identifier is used for identifying one idle terminal; receiving a selection request of the first terminal, where the selection request includes a device identifier of the second terminal and a scheme identifier of the target sharing scheme, the device identifier of the second terminal is selected from the at least one device identifier, and the scheme identifier of the target sharing scheme is selected from the scheme identifier of the at least one sharing scheme corresponding to the device identifier of the second terminal; and determining a target sharing scheme and a second terminal for executing the target sharing scheme according to the selection request.
With reference to the first aspect, in a possible implementation manner, before the determining a target sharing scheme and a second terminal for executing the target sharing scheme, the method further includes: under the condition of receiving a sharing request of the second terminal, sending a performance parameter acquisition instruction to the second terminal so as to trigger the second terminal to detect and upload the performance parameters of the second terminal; receiving performance parameters of the second terminal; and generating at least one sharing scheme corresponding to the second terminal according to the performance parameters of the second terminal.
With reference to the first aspect, in a possible implementation manner, the performance parameter of the second terminal includes any one or more of a device model of the second terminal, a memory capacity of the second terminal, a processor type of the second terminal, and a factory life of the second terminal; the at least one sharing scheme corresponding to the second terminal comprises one or more of a software evaluation scheme, an algorithm scheme and an intermediary transmission scheme.
With reference to the first aspect, in a possible implementation manner, the sharing request includes a target time period during which the second terminal can share; the sending the test data and the target sharing scheme to the second terminal to trigger the second terminal to execute the target sharing scheme through the test data includes: and sending the test data and the target sharing scheme to the second terminal within the target time period so as to trigger the second terminal to execute the target sharing scheme through the test data.
In a second aspect, a terminal sharing apparatus is provided, including:
a scheme determining module, configured to determine a target sharing scheme and a second terminal for executing the target sharing scheme, where the second terminal is selected from at least one idle terminal, and the target sharing scheme is selected from at least one sharing scheme corresponding to the second terminal;
the data acquisition module is used for acquiring test data for realizing the target sharing scheme from a first terminal;
and the data sending module is used for sending the test data and the target sharing scheme to the second terminal so as to trigger the second terminal to execute the target sharing scheme through the test data.
With reference to the second aspect, in a possible implementation manner, the scheme determining module is specifically configured to: pushing at least one equipment identifier and at least one scheme identifier of a sharing scheme corresponding to the equipment identifier to a first terminal, wherein one equipment identifier is used for identifying one idle terminal; receiving a selection request of the first terminal, where the selection request includes a device identifier of the second terminal and a scheme identifier of the target sharing scheme, the device identifier of the second terminal is selected from the at least one device identifier, and the scheme identifier of the target sharing scheme is selected from the scheme identifier of the at least one sharing scheme corresponding to the device identifier of the second terminal; and determining a target sharing scheme and a second terminal for executing the target sharing scheme according to the selection request.
With reference to the second aspect, in a possible implementation manner, the apparatus further includes: the parameter uploading module is used for sending a performance parameter acquisition instruction to the second terminal under the condition of receiving a sharing request of the second terminal so as to trigger the second terminal to detect and upload the performance parameters of the second terminal; receiving performance parameters of the second terminal; and generating at least one sharing scheme corresponding to the second terminal according to the performance parameters of the second terminal.
With reference to the second aspect, in a possible implementation manner, the performance parameter of the second terminal includes any one or more of a device model of the second terminal, a memory capacity of the second terminal, a processor type of the second terminal, and a factory life of the second terminal; the at least one sharing scheme corresponding to the second terminal comprises one or more of a software evaluation scheme, an algorithm scheme and an intermediary transmission scheme.
With reference to the second aspect, in a possible implementation manner, the sharing request includes a target time period that the second terminal can share; the data sending module is further configured to send the test data and the target sharing scheme to the second terminal within the target time period, so as to trigger the second terminal to execute the target sharing scheme through the test data.
In a third aspect, a terminal sharing device is provided, which includes a processor, a memory, and an input/output interface, where the processor, the memory, and the input/output interface are connected to each other, where the input/output interface is used to input or output data, the memory is used to store application program codes for the terminal sharing device to execute the above method, and the processor is configured to execute the above method of the first aspect.
In a fourth aspect, there is provided a computer storage medium storing a computer program comprising program instructions which, when executed by a processor, cause the processor to perform the method of the first aspect described above.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a terminal sharing system according to an embodiment of the present application;
fig. 2 is a flowchart illustrating a terminal sharing method according to an embodiment of the present application;
fig. 3 is a schematic diagram of a terminal selection page provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of a terminal sharing device according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a terminal sharing device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The scheme of the embodiment of the application is suitable for a scene of sharing resources of idle terminals, a demander can select the needed idle terminals according to requirements, the data needing to be shared are sent to the server, the server sends the shared data to the idle terminals, the terminal resource sharing is achieved, and the resource waste can be reduced by sharing the terminals through the idle terminals.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a terminal sharing system according to an embodiment of the present disclosure, and as shown in the figure, the terminal sharing system includes a first terminal 101, a terminal sharing server 102, and a second terminal 103. The first terminal 101 may be configured to interact, respond to a user's operation, send test data for implementing a target sharing scheme to the terminal sharing server 102, and so on. The terminal sharing server 102 may be configured to determine a target sharing scheme and a second terminal 103 for executing the target sharing scheme, receive test data sent by the first terminal 101 for implementing the target sharing scheme, and send the test data and the target sharing scheme to the second terminal 103, and so on. The second terminal 103 may be used for user interaction, responding to user operations, receiving test data and a target sharing scheme transmitted by the terminal sharing server 102, and the like. The first terminal 101 and the second terminal 103 may be, for example, a mobile phone, a computer, a tablet computer, and the like. The number of the first terminals 101 may be plural; the number of the second terminals 103 may also be plural; the terminal sharing server 102 may be one terminal sharing server group, or may be a terminal sharing server group composed of a plurality of terminal sharing servers, where the terminal sharing servers in the terminal sharing server group may cooperate to complete processing of the test data and the sharing scheme sent by the terminal, and trigger the terminal to execute the target sharing scheme through the test data.
Firstly, a provider uploads idle terminal (second terminal 103) information, such as terminal performance parameters, on a terminal sharing platform through the second terminal 103, and the terminal sharing platform generates at least one sharing scheme according to the terminal information; next, the demander looks up the required terminal on the terminal sharing platform through the first terminal 101, selects the required terminal (the second terminal 103) and the target sharing scheme, and uploads test data for implementing the target sharing scheme to the terminal sharing server 102; finally, the terminal sharing server 102 sends the test data and the target sharing scheme to the second terminal 103 selected by the demander, and triggers the second terminal 103 to execute the target sharing scheme through the test data, thereby realizing terminal sharing.
Referring to fig. 2, fig. 2 is a schematic flowchart of a terminal sharing method provided in an embodiment of the present application, and as shown in the figure, the method includes:
s101, a target sharing scheme and a second terminal used for executing the target sharing scheme are determined, the second terminal is selected from at least one idle terminal, and the target sharing scheme is selected from at least one sharing scheme corresponding to the second terminal.
Here, the idle terminals are terminals owned by a provider (a user who owns the idle terminals), and the provider may have a plurality of idle terminals, such as a mobile phone, a tablet computer, a computer, and the like. The second terminal is any one of the idle terminals.
In a specific implementation, the determining the target sharing scheme and the second terminal for executing the target sharing scheme may further include the following steps:
firstly, sending a performance parameter acquisition instruction to a second terminal under the condition of receiving a sharing request of the second terminal so as to trigger the second terminal to detect and upload the performance parameters of the second terminal.
In specific implementation, an application program corresponding to the terminal sharing platform, such as an APP, an applet, or the like, may be installed on the second terminal in advance. A provider can log in the terminal sharing platform through the second terminal and trigger a sharing request on a terminal sharing page, for example, click a sharing button for triggering the sharing request; and after receiving the performance parameter acquisition instruction, the second terminal triggers a performance detection tool on the second terminal to detect the second terminal to obtain the performance parameters of the second terminal and uploads the performance parameters of the second terminal to the terminal sharing platform. Here, when the second terminal installs the application corresponding to the terminal-sharing platform, the installation package corresponding to the application may include the performance detection tool, that is, the second terminal may install the performance detection tool together when installing the application.
In an implementable manner, the sharing request of the second terminal may further include a target time period during which the second terminal can share. For example, the second terminal may be shared between eight AM and six PM, and the target time period for which sharing may occur may be 8:00AM-6:00 PM.
And secondly, receiving the performance parameters of the second terminal.
Here, the performance parameter of the second terminal includes any one or more of a device model of the second terminal, a memory capacity of the second terminal, a processor type of the second terminal, and a factory age of the second terminal. The device model of the second terminal may be a brand name of the second terminal, such as iPhone, hua ye OPPO, and the like; the memory capacity of the second terminal may be the total memory space and the available memory space of the second terminal; the processor type of the second terminal can be the model of the processor of the second terminal, such as kylin 920, high-pass 810 and the like; the factory life of the second terminal may be a specific factory life or a specific factory date of the second terminal.
For example, the device model, the memory capacity, the processor type, and the factory life of the second terminal a may be: iPhone4, 64G storage space, the remaining 15G, apple A41 GHz, 2010.
And thirdly, generating at least one sharing scheme corresponding to the second terminal according to the performance parameters of the second terminal.
Here, the sharing scheme includes one or more of a software evaluation scheme, an effort scheme, and an intermediary transmission scheme. The software evaluation may be to send the software and test data corresponding to the software to the terminal for evaluation. For example, the demander needs to acquire data after the terminal a performs software evaluation, so that the software and test data corresponding to the software evaluation are sent to the terminal a for evaluation; the calculation power scheme may be a scheme for completing the required operation by the calculation power of the terminal B, i.e. the speed of the hash function output calculated by the computer, for example, by running the calculation power of the terminal B to "dig up" to obtain the bitcoin (a kind of virtual currency), etc.; if the terminal C does not have the transmission condition, the intermediate transmission may be performed by the terminal D having the transmission condition. For example, if the terminal C does not have the condition for caching the file 1, the terminal D having the caching condition caches the file 1 and uploads the file 1 to a third-party platform (the third-party platform may be a Baidu network disk, a cloud disk, or the like), and the terminal C may operate the file 1 through the third-party platform.
Specifically, the sharing scheme may include a scheme and a flow corresponding to the scheme, for example, the software evaluation scheme includes a software evaluation scheme and a flow corresponding to the software evaluation scheme; the calculation force scheme comprises a calculation force scheme and a flow corresponding to the calculation force scheme, and the like. For example, the sharing scheme 1 corresponding to the terminal 1 may include: iPhone4, 64G storage space, the remaining 15G, apple A41 GHz, 2010, software evaluation process 1 (specific software evaluation process); the sharing scheme 2 corresponding to the terminal 1 may include: iPhone4, 64G storage space, the rest 15G, apple A41 GHz, 2010, computing power flow 1 (concrete computing power flow); the sharing scheme 1 corresponding to the terminal 2 may include: iPhone4s, 64G storage space, remaining 30G, apple a 41 GHz, 2012, intermediaries, intermediary transfer flow 1 (specific intermediary transfer flow).
Optionally, at least one sharing scheme generated according to the performance parameter of the second terminal may be sent to the second terminal, and the at least one sharing scheme corresponding to the second terminal is determined when the confirmation request of the second terminal is obtained. The provider can determine at least one sharing scheme through the second terminal, and the participation degree of the provider in the terminal sharing process can be improved, for example, the terminal sharing platform generates three sharing schemes, namely a software evaluation scheme, a calculation scheme and an intermediary transmission scheme, according to the performance parameters of the second terminal of the provider, the provider can only select the software evaluation scheme and the intermediary transmission scheme under the condition that the provider does not want to calculate the calculation capability through the second terminal of the provider, and the terminal sharing platform only pushes the software evaluation scheme and the intermediary transmission scheme to the terminal of the demander under the condition that the terminal sharing platform receives a confirmation request triggered by the provider through the second terminal.
The target sharing scheme and the second terminal for performing the target sharing scheme may be determined by:
first, at least one device identifier and at least one scheme identifier of a sharing scheme corresponding to the device identifier are pushed to a first terminal, and one device identifier is used for identifying an idle terminal.
Here, the first terminal is a terminal held by a requesting party (a user who needs an idle terminal). The device identifier is used for uniquely indicating the device, and may be one or more of a name of a model of the device, a user name corresponding to the device, a factory number corresponding to the device, a name corresponding to a specific attribute of the device, and the like. The scheme identifier of the sharing scheme is used for uniquely indicating the sharing scheme, and may be one or more of a name of the sharing scheme, a name corresponding to the scheme content of the sharing scheme, a name corresponding to the scheme type of the sharing scheme, and the like.
It is understood that one device id may correspond to scheme ids of multiple sharing schemes, i.e. one idle terminal may correspond to multiple sharing schemes.
Optionally, when the sharing request of the second terminal includes a target time period in which the second terminal can share, the state information of the idle terminal corresponding to the at least one device identifier may be pushed to the first terminal, and the state information of the idle terminal may include a time period in which the idle terminal can share, a reservation condition of the idle terminal, and the like. For example, the sharing time period of the idle terminal a may be 8:00AM-6:00PM, and the current reservation situation may be 2 people, that is, it means that 2 demanders have reserved the idle terminal a. By pushing the state information of the idle terminal to the first terminal, a demander can better select a proper idle terminal, and the terminal sharing efficiency is improved.
Then, a selection request of the first terminal is received, where the selection request includes a device identifier of the second terminal and a scheme identifier of the target sharing scheme, the device identifier of the second terminal is selected from at least one device identifier, and the scheme identifier of the target sharing scheme is selected from at least one scheme identifier of the sharing scheme corresponding to the device identifier of the second terminal.
Specifically, when the demander selects the device identifier of a certain second terminal and the scheme identifier of the target sharing scheme on the page through the first terminal selection terminal and clicks the determination, a selection request of the first terminal is received, and the terminal selection page is a page for selecting the sharing terminal and the target sharing scheme. As shown in fig. 3, fig. 3 is a schematic diagram of a terminal selection page provided in the embodiment of the present application. In fig. 3, the device identifier of the second terminal selected by the demander is "terminal b", the scheme identifier of the target sharing scheme is "scheme b 1", and when the "ok" button is clicked, the selection request of the first terminal is received.
Finally, a target sharing scheme and a second terminal for executing the target sharing scheme are determined according to the selection request.
S102, test data used for achieving the target sharing scheme is obtained from the first terminal.
Here, the test data may be an automation script corresponding to the target sharing scheme, the automation script being a code corresponding to implementation of the target sharing scheme, and the terminal in which the automation script is installed may automatically run the automation script so as to implement the target sharing scheme corresponding to the automation script.
In a specific implementation, the first terminal may upload test data for implementing the target sharing scheme when selecting the device identifier of the second terminal and the scheme identifier of the target sharing scheme, and acquire the test data for implementing the target sharing scheme when the first terminal successfully uploads the test data for implementing the target sharing scheme.
S103, sending the test data and the target sharing scheme to the second terminal to trigger the second terminal to execute the target sharing scheme through the test data.
Specifically, the test data uploaded by the first terminal and used for achieving the target sharing scheme and the target sharing scheme are sent to the second terminal, and the second terminal automatically executes the target sharing scheme after automatically installing the test data under the condition that the test data are received by the second terminal, so that terminal sharing is achieved.
Optionally, in a case that the sharing request of the second terminal includes a target time period in which the second terminal can share, the test data and the target sharing scheme may be sent to the second terminal within the target time period to trigger the second terminal to execute the target sharing scheme through the test data.
For example, if the target time period in which the second terminal can share is 8:00AM-6:00PM, the test data and the target sharing scheme may be sent to the second terminal within 8:00AM-6:00PM, and the second terminal executes the target sharing scheme through the test data when receiving the test data and the target sharing scheme.
In the embodiment of the application, the target sharing scheme and the second terminal for executing the target sharing scheme are determined, the test data for realizing the target sharing scheme is obtained from the first terminal, and the test data and the target sharing scheme are sent to the second terminal, so that the second terminal is triggered to execute the target sharing scheme through the test data. The method has the advantages that the method can enable a user (a demand party) corresponding to the first terminal to check the idle terminal information by issuing the terminal information of the second terminal (the idle terminal), and select the corresponding idle terminal to share according to the demand, and as the second terminal is the idle terminal which is not frequently used, the idle terminal resource can be reasonably utilized in a terminal sharing mode, so that the utilization rate of the idle terminal resource is improved; the test data is sent to the server by the demander terminal and sent to the provider terminal by the server, so that the problem that the demander terminal and the provider terminal directly share the information to cause the demander to maliciously steal the provider information can be avoided, and the terminal sharing safety is improved; due to the fact that the sharing time periods corresponding to the second terminals and the current state information of the second terminals are pushed to the first terminal, the demander can select the second terminals according to requirements, and the situation that multiple demanders select the same terminal at the same time to reduce the terminal sharing efficiency is avoided.
The method of the claimed embodiment is described above and the apparatus of the claimed embodiment is described below.
Referring to fig. 4, fig. 4 is a schematic diagram of a composition structure of a terminal sharing device according to an embodiment of the present application, where the device 40 includes:
a scheme determining module 401, configured to determine a target sharing scheme and a second terminal for executing the target sharing scheme, where the second terminal is selected from at least one idle terminal, and the target sharing scheme is selected from at least one sharing scheme corresponding to the second terminal;
here, the idle terminals are terminals owned by a provider (a user who owns the idle terminals), and the provider may have a plurality of idle terminals, such as a mobile phone, a tablet computer, a computer, and the like. The second terminal is any one of the idle terminals.
A data obtaining module 402, configured to obtain, from a first terminal, test data for implementing the target sharing scheme;
here, the test data may be an automation script corresponding to the target sharing scheme, the automation script being a code corresponding to implementation of the target sharing scheme, and the terminal in which the automation script is installed may automatically run the automation script so as to implement the target sharing scheme corresponding to the automation script.
In a specific implementation, the first terminal may upload test data for implementing the target sharing scheme when selecting the device identifier of the second terminal and the scheme identifier of the target sharing scheme, and the data obtaining module 402 obtains the test data for implementing the target sharing scheme when the first terminal successfully uploads the test data for implementing the target sharing scheme.
A data sending module 403, configured to send the test data and the target sharing scheme to the second terminal, so as to trigger the second terminal to execute the target sharing scheme through the test data.
Specifically, the data sending module 403 sends the test data uploaded by the first terminal and used for implementing the target sharing scheme and the target sharing scheme to the second terminal, and the second terminal automatically executes the target sharing scheme after automatically installing the test data when receiving the test data, thereby implementing terminal sharing.
Optionally, in a case that the sharing request of the second terminal includes a target time period that the second terminal can share, the data sending module 403 may send the test data and the target sharing scheme to the second terminal within the target time period, so as to trigger the second terminal to execute the target sharing scheme through the test data.
In one possible design, the scheme determining module 401 is specifically configured to:
pushing at least one equipment identifier and at least one scheme identifier of a sharing scheme corresponding to the equipment identifier to a first terminal, wherein one equipment identifier is used for identifying one idle terminal;
here, the first terminal is a terminal held by a requesting party (a user who needs an idle terminal). The device identifier is used for uniquely indicating the device, and may be one or more of a name of a model of the device, a user name corresponding to the device, a factory number corresponding to the device, a name corresponding to a specific attribute of the device, and the like. The scheme identifier of the sharing scheme is used for uniquely indicating the sharing scheme, and may be one or more of a name of the sharing scheme, a name corresponding to the scheme content of the sharing scheme, a name corresponding to the scheme type of the sharing scheme, and the like.
It is understood that one device id may correspond to scheme ids of multiple sharing schemes, i.e. one idle terminal may correspond to multiple sharing schemes.
The scheme determining module 401 is configured to receive a selection request of the first terminal, where the selection request includes a device identifier of the second terminal and a scheme identifier of the target sharing scheme, the device identifier of the second terminal is selected from the at least one device identifier, and the scheme identifier of the target sharing scheme is selected from the at least one scheme identifier of the sharing scheme corresponding to the device identifier of the second terminal;
specifically, when the demander selects the device identifier of a certain second terminal and the scheme identifier of the target sharing scheme on the page through the first terminal selection terminal and clicks the determination, the scheme determination module 401 receives the selection request of the first terminal, and the terminal selection page is a page for selecting the sharing terminal and the target sharing scheme. As shown in fig. 3, fig. 3 is a schematic diagram of a terminal selection page provided in the embodiment of the present application. In fig. 3, the device identifier of the second terminal selected by the demander is "terminal b", the scheme identifier of the target sharing scheme is "scheme b 1", and when the "ok" button is clicked, the scheme determination module 401 receives the selection request of the first terminal.
The scheme determining module 401 is configured to determine a target sharing scheme and a second terminal for executing the target sharing scheme according to the selection request.
In one possible design, the apparatus 40 further includes:
a parameter uploading module 404, configured to send a performance parameter obtaining instruction to the second terminal when receiving a sharing request of the second terminal, so as to trigger the second terminal to detect and upload a performance parameter of the second terminal;
in specific implementation, an application program corresponding to the terminal sharing platform, such as an APP, an applet, or the like, may be installed on the second terminal in advance. A provider can log in the terminal sharing platform through the second terminal and trigger a sharing request on a terminal sharing page, for example, click a sharing button for triggering the sharing request; after the terminal sharing platform receives the sharing request, the parameter uploading module 404 sends a performance parameter obtaining instruction to the second terminal, and after the second terminal receives the performance parameter obtaining instruction, the second terminal triggers a performance detection tool on the second terminal to detect the second terminal to obtain the performance parameter of the second terminal, and uploads the performance parameter of the second terminal to the terminal sharing platform. Here, when the second terminal installs the application corresponding to the terminal-sharing platform, the installation package corresponding to the application may include the performance detection tool, that is, the second terminal may install the performance detection tool together when installing the application.
In an implementable manner, the sharing request of the second terminal may further include a target time period during which the second terminal can share.
The parameter uploading module 404 is further configured to receive a performance parameter of the second terminal;
here, the performance parameter of the second terminal includes any one or more of a device model of the second terminal, a memory capacity of the second terminal, a processor type of the second terminal, and a factory age of the second terminal.
The parameter uploading module 404 is further configured to generate at least one sharing scheme corresponding to the second terminal according to the performance parameter of the second terminal.
Here, the sharing scheme includes one or more of a software evaluation scheme, an effort scheme, and an intermediary transmission scheme. The software evaluation may be to send the software and test data corresponding to the software to the terminal for evaluation. For example, the demander needs to acquire data after the terminal a performs software evaluation, so that the software and test data corresponding to the software evaluation are sent to the terminal a for evaluation; the calculation power scheme may be a scheme for completing the required operation by the calculation power of the terminal B, i.e. the speed of the hash function output calculated by the computer, for example, by running the calculation power of the terminal B to "dig up" to obtain the bitcoin (a kind of virtual currency), etc.; if the terminal C does not have the transmission condition, the intermediate transmission may be performed by the terminal D having the transmission condition. For example, if the terminal C does not have the condition for caching the file 1, the terminal D having the caching condition caches the file 1 and uploads the file 1 to a third-party platform (the third-party platform may be a Baidu network disk, a cloud disk, or the like), and the terminal C may operate the file 1 through the third-party platform.
Specifically, the sharing scheme may include a scheme and a flow corresponding to the scheme, for example, the software evaluation scheme includes a software evaluation scheme and a flow corresponding to the software evaluation scheme; the calculation force scheme comprises a calculation force scheme and a flow corresponding to the calculation force scheme, and the like. For example, the sharing scheme 1 corresponding to the terminal 1 may include: iPhone4, 64G storage space, the remaining 15G, apple A41 GHz, 2010, software evaluation process 1 (specific software evaluation process); the sharing scheme 2 corresponding to the terminal 1 may include: iPhone4, 64G storage space, the rest 15G, apple A41 GHz, 2010, computing power flow 1 (concrete computing power flow); the sharing scheme 1 corresponding to the terminal 2 may include: iPhone4s, 64G storage space, remaining 30G, apple a 41 GHz, 2012, intermediaries, intermediary transfer flow 1 (specific intermediary transfer flow).
Optionally, the parameter uploading module 404 may further send at least one sharing scheme generated according to the performance parameter of the second terminal to the second terminal, and the parameter uploading module 404 determines the at least one sharing scheme corresponding to the second terminal when acquiring the confirmation request of the second terminal. For example, the terminal sharing platform generates three sharing schemes, namely a software evaluation scheme, a calculation scheme and an intermediary transmission scheme, according to performance parameters of the second terminal of the provider, the provider can only select the software evaluation and intermediary transmission scheme under the condition that the provider does not want to calculate the capability through the second terminal of the provider, and the parameter uploading module 404 only pushes the software evaluation and intermediary transmission scheme to the terminal of the demander under the condition that the terminal sharing platform receives a confirmation request triggered by the provider through the second terminal.
In one possible design, the performance parameter of the second terminal includes any one or more of a device model of the second terminal, a memory capacity of the second terminal, a processor type of the second terminal, and a factory age of the second terminal; the at least one sharing scheme corresponding to the second terminal comprises one or more of a software evaluation scheme, an algorithm scheme and an intermediary transmission scheme.
Here, the device model of the second terminal may be a brand name of the second terminal, such as iPhone, hua OPPO, or the like; the memory capacity of the second terminal may be the total memory space and the available memory space of the second terminal; the processor type of the second terminal can be the model of the processor of the second terminal, such as kylin 920, high-pass 810 and the like; the factory life of the second terminal may be a specific factory life or a specific factory date of the second terminal.
For example, the device model, the memory capacity, the processor type, and the factory life of the second terminal a may be: iPhone4, 64G storage space, the remaining 15G, apple A41 GHz, 2010.
In one possible design, the sharing request includes a target time period that the second terminal may share;
for example, the second terminal may be shared between eight AM and six PM, and the target time period for which sharing may occur may be 8:00AM-6:00 PM.
Optionally, when the sharing request of the second terminal includes a target time period in which the second terminal can share, the data sending module 403 may further push, to the first terminal, state information of an idle terminal corresponding to at least one device identifier, where the state information of the idle terminal may include a time period shared by the idle terminal, a reservation condition of the idle terminal, and the like. For example, the sharing time period of the idle terminal a may be 8:00AM-6:00PM, and the current reservation situation may be 2 people, that is, it means that 2 demanders have reserved the idle terminal a. By pushing the state information of the idle terminal to the first terminal, a demander can better select a proper idle terminal, and the terminal sharing efficiency is improved.
The data sending module 403 is further configured to send the test data and the target sharing scheme to the second terminal within the target time period, so as to trigger the second terminal to execute the target sharing scheme through the test data.
For example, if the target time period that the second terminal can share is 8:00AM-6:00PM, the data sending module 403 may send the test data and the target sharing scheme to the second terminal within 8:00AM-6:00PM, and the second terminal executes the target sharing scheme through the test data when receiving the test data and the target sharing scheme.
It should be noted that, for the content that is not mentioned in the embodiment corresponding to fig. 4, reference may be made to the description of the method embodiment, and details are not described here again.
In the embodiment of the application, the target sharing scheme and the second terminal for executing the target sharing scheme are determined, the test data for realizing the target sharing scheme is obtained from the first terminal, and the test data and the target sharing scheme are sent to the second terminal, so that the second terminal is triggered to execute the target sharing scheme through the test data. The method has the advantages that the method can enable a user (a demand party) corresponding to the first terminal to check the idle terminal information by issuing the terminal information of the second terminal (the idle terminal), and select the corresponding idle terminal to share according to the demand, and as the second terminal is the idle terminal which is not frequently used, the idle terminal resource can be reasonably utilized in a terminal sharing mode, so that the utilization rate of the idle terminal resource is improved; the test data is sent to the server by the demander terminal and sent to the provider terminal by the server, so that the problem that the demander terminal and the provider terminal directly share the information to cause the demander to maliciously steal the provider information can be avoided, and the terminal sharing safety is improved; due to the fact that the sharing time periods corresponding to the second terminals and the current state information of the second terminals are pushed to the first terminal, the demander can select the second terminals according to requirements, and the situation that multiple demanders select the same terminal at the same time to reduce the terminal sharing efficiency is avoided.
The terminal sharing apparatus according to the embodiment of the present application may be a device having a processing capability, for example: devices such as tablet computers, mobile phones, electronic readers, Personal Computers (PCs), notebook computers, and servers; or may be a terminal sharing module embedded in the terminal sharing system. The embodiment of the present application does not limit this.
Referring to fig. 5, fig. 5 is a schematic diagram of a constituent structure of a terminal sharing device according to an embodiment of the present application, where the device 50 includes a processor 501, a memory 502, and an input/output interface 503. The processor 501 is connected to the memory 502 and the input/output interface 503, for example, the processor 501 may be connected to the memory 502 and the input/output interface 503 through a bus.
The processor 501 is configured to support the terminal sharing device to execute corresponding functions in the terminal sharing method described in fig. 2. The processor 501 may be a Central Processing Unit (CPU), a Network Processor (NP), a hardware chip, or any combination thereof. The hardware chip may be an Application Specific Integrated Circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof. The PLD may be a Complex Programmable Logic Device (CPLD), a field-programmable gate array (FPGA), a General Array Logic (GAL), or any combination thereof.
The memory 502 is used for storing program codes and the like. Memory 502 may include Volatile Memory (VM), such as Random Access Memory (RAM); the memory 502 may also include a non-volatile memory (NVM), such as a read-only memory (ROM), a flash memory (flash memory), a Hard Disk Drive (HDD) or a solid-state drive (SSD); the memory 502 may also comprise a combination of memories of the kind described above.
The input/output interface 503 is used for inputting or outputting data.
The processor 501 may call the program code to perform the following operations:
determining a target sharing scheme and a second terminal for executing the target sharing scheme, wherein the second terminal is selected from at least one idle terminal, and the target sharing scheme is selected from at least one sharing scheme corresponding to the second terminal;
acquiring test data for realizing the target sharing scheme from a first terminal;
and sending the test data and the target sharing scheme to the second terminal so as to trigger the second terminal to execute the target sharing scheme through the test data.
It should be noted that, the implementation of each operation may also correspond to the corresponding description with reference to the above method embodiment; the processor 501 may also cooperate with the input-output interface 503 to perform other operations in the above-described method embodiments.
Embodiments of the present application also provide a computer storage medium, which stores a computer program, where the computer program includes program instructions, and the program instructions, when executed by a computer, cause the computer to execute the method according to the foregoing embodiments, where the computer may be a part of the above-mentioned terminal sharing device. Such as processor 501 described above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a ROM, a RAM, or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present application and is not to be construed as limiting the scope of the present application, so that the present application is not limited thereto, and all equivalent variations and modifications can be made to the present application.

Claims (10)

1. A terminal sharing method is characterized by comprising the following steps:
determining a target sharing scheme and a second terminal for executing the target sharing scheme, wherein the second terminal is selected from at least one idle terminal, and the target sharing scheme is selected from at least one sharing scheme corresponding to the second terminal;
acquiring test data for realizing the target sharing scheme from a first terminal;
and sending the test data and the target sharing scheme to the second terminal so as to trigger the second terminal to execute the target sharing scheme through the test data.
2. The method of claim 1, wherein the determining the target sharing scheme and the second terminal for executing the target sharing scheme comprises:
pushing at least one equipment identifier and at least one scheme identifier of a sharing scheme corresponding to the equipment identifier to a first terminal, wherein one equipment identifier is used for identifying one idle terminal;
receiving a selection request of the first terminal, where the selection request includes a device identifier of the second terminal and a scheme identifier of the target sharing scheme, the device identifier of the second terminal is selected from the at least one device identifier, and the scheme identifier of the target sharing scheme is selected from the scheme identifier of the at least one sharing scheme corresponding to the device identifier of the second terminal;
and determining a target sharing scheme and a second terminal for executing the target sharing scheme according to the selection request.
3. The method according to claim 1 or 2, wherein the determining the target sharing scheme and the second terminal for executing the target sharing scheme are preceded by:
under the condition of receiving a sharing request of the second terminal, sending a performance parameter acquisition instruction to the second terminal so as to trigger the second terminal to detect and upload the performance parameters of the second terminal;
receiving performance parameters of the second terminal;
and generating at least one sharing scheme corresponding to the second terminal according to the performance parameters of the second terminal.
4. The method according to claim 3, wherein the performance parameter of the second terminal comprises any one or more of a device model of the second terminal, a memory capacity of the second terminal, a processor type of the second terminal, and a factory age of the second terminal;
the at least one sharing scheme corresponding to the second terminal comprises one or more of a software evaluation scheme, an algorithm scheme and an intermediary transmission scheme.
5. The method of claim 3, wherein the sharing request comprises a target time period that the second terminal can share;
the sending the test data and the target sharing scheme to the second terminal to trigger the second terminal to execute the target sharing scheme through the test data includes:
and sending the test data and the target sharing scheme to the second terminal within the target time period so as to trigger the second terminal to execute the target sharing scheme through the test data.
6. A terminal sharing apparatus, comprising:
a scheme determining module, configured to determine a target sharing scheme and a second terminal for executing the target sharing scheme, where the second terminal is selected from at least one idle terminal, and the target sharing scheme is selected from at least one sharing scheme corresponding to the second terminal;
the data acquisition module is used for acquiring test data for realizing the target sharing scheme from a first terminal;
and the data sending module is used for sending the test data and the target sharing scheme to the second terminal so as to trigger the second terminal to execute the target sharing scheme through the test data.
7. The apparatus of claim 6, wherein the scheme determination module is specifically configured to:
pushing at least one equipment identifier and at least one scheme identifier of a sharing scheme corresponding to the equipment identifier to a first terminal, wherein one equipment identifier is used for identifying one idle terminal;
receiving a selection request of the first terminal, where the selection request includes a device identifier of the second terminal and a scheme identifier of the target sharing scheme, the device identifier of the second terminal is selected from the at least one device identifier, and the scheme identifier of the target sharing scheme is selected from the scheme identifier of the at least one sharing scheme corresponding to the device identifier of the second terminal;
and determining a target sharing scheme and a second terminal for executing the target sharing scheme according to the selection request.
8. The apparatus of claim 6 or 7, further comprising:
the parameter uploading module is used for sending a performance parameter acquisition instruction to the second terminal under the condition of receiving a sharing request of the second terminal so as to trigger the second terminal to detect and upload the performance parameters of the second terminal;
the parameter uploading module is further used for receiving the performance parameters of the second terminal;
the parameter uploading module is further configured to generate at least one sharing scheme corresponding to the second terminal according to the performance parameter of the second terminal.
9. A terminal sharing device, comprising a processor, a memory and an input/output interface, wherein the processor, the memory and the input/output interface are connected to each other, wherein the input/output interface is used for inputting or outputting data, the memory is used for storing program codes, and the processor is used for calling the program codes and executing the method according to any one of claims 1 to 5.
10. A computer storage medium, characterized in that the computer storage medium stores a computer program comprising program instructions that, when executed by a processor, cause the processor to perform the method according to any one of claims 1-5.
CN201910812992.0A 2019-08-29 2019-08-29 Terminal sharing method, device and equipment Pending CN110602187A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910812992.0A CN110602187A (en) 2019-08-29 2019-08-29 Terminal sharing method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910812992.0A CN110602187A (en) 2019-08-29 2019-08-29 Terminal sharing method, device and equipment

Publications (1)

Publication Number Publication Date
CN110602187A true CN110602187A (en) 2019-12-20

Family

ID=68856718

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910812992.0A Pending CN110602187A (en) 2019-08-29 2019-08-29 Terminal sharing method, device and equipment

Country Status (1)

Country Link
CN (1) CN110602187A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114059265A (en) * 2020-07-31 2022-02-18 青岛海尔洗衣机有限公司 Laundry program sharing method, terminal and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160212209A1 (en) * 2015-01-16 2016-07-21 Sangfor Technologies Company Limited Method and apparatus for sharing application data
CN106550030A (en) * 2016-10-25 2017-03-29 广东欧珀移动通信有限公司 A kind of data sharing method, apparatus and system
CN108536574A (en) * 2017-03-01 2018-09-14 北京嘀嘀无限科技发展有限公司 The method and device of application program debugging
CN109254913A (en) * 2018-08-13 2019-01-22 北京奇虎科技有限公司 Collaborative share method, apparatus, electronic equipment and computer storage medium
CN109766245A (en) * 2019-01-08 2019-05-17 深圳市网心科技有限公司 A kind of method and relevant apparatus of shared terminal resource

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160212209A1 (en) * 2015-01-16 2016-07-21 Sangfor Technologies Company Limited Method and apparatus for sharing application data
CN106550030A (en) * 2016-10-25 2017-03-29 广东欧珀移动通信有限公司 A kind of data sharing method, apparatus and system
CN108536574A (en) * 2017-03-01 2018-09-14 北京嘀嘀无限科技发展有限公司 The method and device of application program debugging
CN109254913A (en) * 2018-08-13 2019-01-22 北京奇虎科技有限公司 Collaborative share method, apparatus, electronic equipment and computer storage medium
CN109766245A (en) * 2019-01-08 2019-05-17 深圳市网心科技有限公司 A kind of method and relevant apparatus of shared terminal resource

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114059265A (en) * 2020-07-31 2022-02-18 青岛海尔洗衣机有限公司 Laundry program sharing method, terminal and storage medium
CN114059265B (en) * 2020-07-31 2024-01-09 青岛海尔洗衣机有限公司 Sharing method, terminal and storage medium of washing program

Similar Documents

Publication Publication Date Title
CN110049130B (en) Service deployment and task scheduling method and device based on edge computing
CN108040108B (en) Communication switching method, device, coordination server and readable storage medium
CN107832126B (en) Thread adjusting method and terminal thereof
CN108121511B (en) Data processing method, device and equipment in distributed edge storage system
CN109951514B (en) File processing method and system based on cloud storage and computer equipment
CN110289983B (en) Load balancing application creation method and device, computer equipment and storage medium
US10534425B2 (en) Processing method and device for saving power, mobile terminal and cloud server
CN110674440A (en) Buried point data processing method, system, computer device and readable storage medium
CN111176803A (en) Service processing method, device, server and storage medium
CN114615340B (en) Request processing method and device, computer equipment and storage device
CN110890987A (en) Method, device, equipment and system for automatically creating cluster
CN111538572A (en) Task processing method, device, scheduling server and medium
CN111666745A (en) File downloading method, device, server and medium
CN112965817B (en) Resource management method and device and electronic equipment
CN110602187A (en) Terminal sharing method, device and equipment
CN111444074A (en) Data monitoring method and device, electronic equipment and readable storage medium
CN114302351B (en) Short message service processing method and device, computer equipment and storage medium
CN112737896B (en) Bandwidth data checking method, device, medium and electronic equipment
CN107800754B (en) Data transmission task processing method and device, and data transmission task monitoring method and device
CN213876703U (en) Resource pool management system
CN115220993A (en) Process monitoring method, device, vehicle and storage medium
CN114039962A (en) Node selection method, system, electronic device and storage medium
CN109460278B (en) Cloud desktop building design software management method and device and computer equipment
CN111625375A (en) Account reservation method and device, storage medium and electronic equipment
CN113127191A (en) Resource updating method, storage medium and related device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20191220

RJ01 Rejection of invention patent application after publication