CN114003187A - Hardware sharing method and device - Google Patents
Hardware sharing method and device Download PDFInfo
- Publication number
- CN114003187A CN114003187A CN202010736964.8A CN202010736964A CN114003187A CN 114003187 A CN114003187 A CN 114003187A CN 202010736964 A CN202010736964 A CN 202010736964A CN 114003187 A CN114003187 A CN 114003187A
- Authority
- CN
- China
- Prior art keywords
- information
- request
- processing
- terminal
- hardware
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1454—Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/147—Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a hardware sharing method and a hardware sharing device, which send an information processing request to a requested terminal through one or more request terminals; the requested terminal acquires information to be processed corresponding to each information processing request, calls hardware resources to process each information to be processed to obtain processing result information, and sends the processing result information to each corresponding requesting terminal. According to the hardware sharing method provided by the embodiment, because the plurality of request terminals can share the hardware resources of the requested terminal, the defects that the hardware configuration of the request terminals is low and the information processing cannot be smoothly completed are overcome, so that the method not only reduces the cost of the hardware configuration of the request terminals, but also improves the effective utilization rate of the requested terminal, and provides convenience for users to reasonably use terminal equipment with different hardware configurations.
Description
Technical Field
The present invention relates to the field of information processing technologies, and in particular, to a hardware sharing method and apparatus.
Background
With the rapid development of networks, the storage capacity is large, and the operation speed and low delay time become important characteristics of the current networks. These features also promote the network becoming an essential part of everyday life. Meanwhile, in the current society, resource sharing has become a trend of social development, such as sharing a bicycle, sharing an automobile, sharing a charger, and the like.
Because data processing performance of hardware of part of terminal equipment used daily is low, when the equipment performance needs to be expanded, information processing based on the hardware is difficult to meet the requirement, or when the terminal faces the condition that more information needs to be processed, the requirement for quickly obtaining a processing result cannot be met, and if hardware components with better processing performance are replaced, the cost is increased.
Therefore, the prior art is subject to further improvement.
Disclosure of Invention
In view of the defects of the prior art, the present invention provides a hardware sharing method and apparatus, and aims to solve the defects in the prior art that the hardware processing performance of some terminal devices is low, the information processing result cannot be obtained quickly, or the device performance cannot be expanded.
In a first aspect, the present embodiment provides a hardware sharing method, including:
receiving information processing requests sent by one or more request terminals;
acquiring to-be-processed information corresponding to each information processing request, and calling hardware resources to process each to-be-processed information to obtain processing result information;
and sending the processing result information to each corresponding request terminal.
Optionally, before the step of receiving an information processing request from one or more requesting terminals, the method includes:
receiving access requests sent by one or more request terminals, and acquiring equipment identification information of each request terminal;
establishing one-to-one corresponding shared account for each request terminal according to the equipment identification information, or establishing a shared account for each request terminal; the shared account is used for storing interaction information between the requested terminal and the requesting terminal.
Optionally, the step of acquiring to-be-processed information corresponding to each information processing request includes:
acquiring processing data corresponding to each information processing request according to each information processing request;
and decoding each processing data, and converting each decoded processing data into a target data format to obtain the information to be processed.
Optionally, the step of calling hardware resources to process each piece of the to-be-processed information includes:
acquiring a processing event type corresponding to each piece of information to be processed;
sequentially judging whether the processing event type corresponding to each piece of information to be processed is an information processing event or an information storage event;
sequentially sending event processing requests corresponding to the information processing events to a hardware control aiming at each piece of to-be-processed information of which the processing event type is judged to be the information processing event, wherein the hardware control calls hardware resources to process the to-be-processed information according to the event processing requests;
and sending an information storage request to a hardware control aiming at each piece of to-be-processed information of which the processing event type is judged to be an information storage event, wherein the hardware control calls hardware resources to store the to-be-processed information according to the information storage request.
In a second aspect, the present embodiment provides a hardware sharing method, including:
sending an information processing request to a requested terminal;
and receiving processing result information returned by the requested terminal corresponding to the information processing request, decoding and converting the format of the received processing result information, and displaying the processing result information after the format conversion.
Optionally, the decoding and format converting the received processing result information, and displaying the processing result information after format conversion includes:
and converting the received processing result information from a network transmission format into a display information format corresponding to the display screen, and sending the processing result information after format conversion to the display screen.
Optionally, before the step of sending the information processing request to the requested terminal, the method includes:
sending an access request to the requested terminal;
acquiring display interface information of the requested terminal according to the received response of the requested terminal to the access request;
and controlling a display interface to display the display interface information.
Optionally, before the step of sending the access request to the requested terminal, the method further includes:
and establishing communication connection with the requested terminal through the cloud server.
In a third aspect, the present embodiment provides a hardware sharing apparatus, including a processor, and a storage medium communicatively connected to the processor, the storage medium being adapted to store a plurality of instructions; the processor is adapted to invoke instructions in the storage medium to perform implementing the hardware sharing method.
The fourth aspect and the present embodiment also provide a computer-readable storage medium, where the computer-readable storage medium stores one or more programs, and the one or more programs are executable by one or more processors to implement the steps of the hardware sharing method.
Has the advantages that: the invention provides a hardware sharing method and a device, wherein one or more request terminals send information processing requests to requested terminals; one or more requested terminals acquire information to be processed corresponding to each information processing request, and call hardware resources of the requested terminals to process each information to be processed to obtain processing result information; and sending the processing result information to each corresponding request terminal. In the hardware sharing method provided in this embodiment, the requesting terminal sends the information processing request to the requested terminal, and the hardware resource of the requested terminal is used to implement information processing, so that the defects that the hardware configuration of the requesting terminal is low and the information processing cannot be smoothly completed are overcome.
Drawings
FIG. 1 is a schematic diagram of a first specific application scenario of the hardware sharing method according to the present invention;
FIG. 2 is a schematic structural diagram of a second specific application scenario of the hardware sharing method according to the present invention;
FIG. 3 is a flowchart illustrating steps of a hardware sharing method according to the present invention applied to a requested terminal;
FIG. 4 is a flow chart of the steps of the hardware sharing method of the present invention as applied to a requesting terminal;
fig. 5 is a schematic structural diagram of a hardware sharing apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
Due to the fast information update, the original hardware of the electronic product cannot be applied to new technologies as the new technologies are developed, such as: the terminal cannot be compatible with a new software function, the new software function can be realized only by additionally increasing hardware cost to install a hardware component of the software function, or the terminal cannot be compatible with a new file type, a storage component with larger capacity needs to be added, and more application programs for identifying and processing the new file type need to be installed, so that the user cost needs to be increased no matter more functions are expanded or the memory capacity is increased.
In order to overcome the defect that terminal equipment cannot have better information processing performance due to low hardware configuration, the embodiment discloses a hardware sharing method and a hardware sharing device.
Referring to fig. 1, the method provided by the present embodiment relates to at least one requested terminal 10 and at least one requesting terminal 20, the requesting terminal 20 and the requested terminal 10 establish a communication connection, and when the requesting terminal 20 needs to perform information processing by using hardware resources of the requested terminal 10, the requesting terminal sends a request for information processing by sharing the hardware resources to the requested terminal 10, in one embodiment, as shown in fig. 1, a plurality of requesting terminals may also send information processing requests to different requested terminals respectively. In another implementation, as shown in fig. 2, a plurality of requesting terminals may collectively issue an information processing request to one requested terminal. After receiving the request, the requested terminal 10 performs corresponding information processing according to the request, and returns processing result information obtained after the processing is completed to the requesting terminal, thereby implementing hardware resource sharing between the requesting terminal and the requested terminal. Wherein, the hardware resources include: a motherboard, CPU, memory, hard disk, video card, sound card, or other hardware configuration component of the device.
For example: when the requested terminal is a video processing terminal and the requesting terminal is a smart television, and after a certain video file needs to be compressed by the smart television, the video file is played on a display screen of the smart television, the step of compressing the video file is realized by using the video processing terminal by using the hardware sharing method provided by the embodiment, at this time, a communication connection needs to be established between the smart television and the video processing terminal, the communication connection can be a wired connection or a wireless connection, in one implementation mode, the smart television and the video processing terminal can establish the communication connection through a cloud server, and information transmitted between the smart television and the video processing terminal can be transmitted through the cloud server. Secondly, after the communication connection between the intelligent television and the video terminal is completed, the intelligent television sends a hardware-shared video processing request to the video processing terminal, the video processing terminal receives the request, acquires the video file, compresses the video file, transmits the compressed video file back to the intelligent television, and finally the intelligent television reads and displays the video file received from the video processing terminal, so that the purpose of sharing hardware resources of the video processing terminal by the intelligent television is achieved.
The method and apparatus of the present invention will be described in more detail with reference to the accompanying drawings and specific application examples.
The present embodiment provides a hardware sharing method, as shown in fig. 3, applied to a requested terminal, in order to implement hardware sharing between the requested terminal and a requesting terminal, where the requested terminal includes: the device comprises a communication module, a signal receiving module, a signal processing module, a signal conversion module and a signal output module.
Because a communication module needs to be established between the requested terminal and the requesting terminal, the requested terminal needs to be installed with a communication module, which may be a 4G/5G module or a wireless communication module, for example: a wifi module or a bluetooth module or a Lora module.
Because the requested terminal needs to receive the request sent by the requesting terminal through the signal receiving module, the requested terminal also needs to be provided with the signal receiving module, and the signal receiving module comprises an antenna, a radio frequency chip and the like.
Because the information acquired based on the request sent by the requesting terminal needs to be decoded and identified, the requested terminal also needs to be provided with a signal processing module, and further needs to be provided with a signal conversion module for converting the decoded information into a signal which can be transmitted in a network, so as to process and transmit the signal according to the request.
Because the processed information needs to be transmitted back to the requesting terminal, the requested terminal also needs to be provided with an information output module, and the processed information is sent out through the signal output module.
The hardware sharing method comprises the following steps:
step S11, receiving an information processing request from one or more request terminals.
The requested terminal receives the information processing request from the requesting terminal through the information receiving module and the communication module, after receiving the request, the requested terminal can judge whether to respond to the request according to the idle condition of the hardware resource of the requested terminal, if the requested terminal cannot allocate the idle hardware resource corresponding to the request, the requested terminal does not respond to the request, and can also respond to the request in a delayed way, for example: when the information processing request is to print a picture and the current requested terminal cannot immediately execute the processing of the current printed picture, operations of refusing to accept the request and accepting the request but performing delayed processing on the request can be performed.
Because the requested terminal may also receive the processing information requests sent by the multiple requesting terminals at the same time, the requested terminal may also set the priority for processing the information requests according to the difference of the received processing information requests, and preferentially process the processing information requests with high preset levels.
Further, in order to facilitate processing of information exchanged between each requesting terminal and the requested terminal and to facilitate setting of the authority of the requesting terminal to share the hardware resource of the requested terminal, before this step, the method includes:
step S01, receiving an access request sent by one or more of the request terminals, and obtaining device identification information of each of the request terminals.
After the communication connection between each request terminal and the requested terminal is completed, each request terminal sends an access request to the requested terminal. And the requested terminal receives the access request, receives the access request of each requesting terminal and simultaneously acquires the equipment identification information of each requesting terminal. The device identification information includes: identification information such as a device name, a device ID, or an IP address of the device.
Step S02, creating a one-to-one corresponding shared account for each request terminal according to the device identification information, or creating a shared account for each request terminal; the shared account is used for storing interaction information between the requested terminal and the requesting terminal.
And creating a one-to-one shared account for each request terminal according to the device identification information of each request device acquired in the above steps, that is, creating a shared account for each request terminal, wherein each request terminal has a unique corresponding shared account number, the shared account contains a unique identifier of the corresponding request terminal, and the request terminal corresponding to the shared account can be identified through the unique identifier. In addition, a shared account for common use may be created for each requesting terminal, and the shared account stores information records of mutual information between the requesting terminal and the requested terminal, and mutual information between the requesting terminal and the requested terminal.
If a shared account is created for each request terminal, the account name of the shared account of each request terminal may be generated according to the acquired device identification information, and when the request terminal sends a request for sharing hardware processing information, the request and the requested data processing information are stored in the corresponding request terminal shared account.
Step S12, obtaining information to be processed corresponding to each information processing request, and calling hardware resources to process each information to be processed, so as to obtain processing result information.
After receiving information processing requests sent by each request terminal, acquiring information to be processed corresponding to the requests, calling hardware resources of the requested terminal to process the information to be processed by the requested terminal, and feeding back processing result information to the request terminal.
Specifically, the step of acquiring the to-be-processed information corresponding to each information processing request includes:
step S121, obtaining, according to each of the information processing requests, processing data corresponding to each of the information processing requests.
The requested terminal acquires processing data corresponding to the request according to the request, wherein the processing data can be processing data transmitted to the requested terminal by the request data through a cloud server, processing data acquired from a network by the requested terminal according to the request, or processing data acquired based on third-party equipment.
Such as: if the requesting terminal wants to process the information data acquired by the requesting terminal by means of the hardware resource of the requested terminal, the acquired information data needs to be transmitted to the requested terminal, and the requested terminal processes the information data after receiving the information data and sends a processing result to the requesting terminal.
If the requesting terminal wants to acquire the target file information in the network, the requested terminal can acquire the target file information from the network by sending a request for acquiring the target file information to the requested terminal, and transmit the target file information to the requesting terminal.
If the requesting terminal wants to acquire the image information acquired by the third-party equipment and display the image information, a request can be sent to the requested terminal, and the requested terminal acquires the image information from the third-party equipment, processes the image information into a video signal which can be identified by the requesting terminal and sends the video signal to the requesting terminal.
And step S122, decoding each processing data, and converting each decoded processing data into a target data format to obtain the information to be processed.
After the processing data corresponding to the request is acquired, the processing data is decoded, information contained in the processing data is identified, and the information is converted into a target data format corresponding to network transmission, such as: when the transmitted file format containing characters is converted into XML, the file format containing data is converted into JSON format.
Further, the step of calling hardware resources to process each piece of information to be processed includes:
and S123, acquiring the processing event type corresponding to each piece of information to be processed.
And aiming at the requests sent by each request terminal, corresponding to one processing event, acquiring the processing event, and carrying out different processing aiming at different types of the processing event. Specifically, the types of the processing events include information processing events and information storage events. And the information processing event is that the acquired information data needs to be processed, and a processing result of the information data is returned to the request terminal. The information storage event is used for storing the acquired information data, and the information data does not need to be further processed.
Step S124, sequentially determining whether the processing event type corresponding to each piece of information to be processed is an information processing event or an information storage event.
And judging the processing event type of the information to be processed, and calling different hardware resources for processing aiming at different processing event types. Specifically, the processing event type includes: information processing events and information storage events. In this step, it is specifically determined which of the two event types the processing event type corresponding to each piece of information to be processed is.
Step S125, aiming at each piece of information to be processed, the type of which is judged to be the information processing event, sequentially sending an event processing request corresponding to each information processing event to a hardware control, and calling hardware resources to process the information to be processed by the hardware control according to the event processing request;
and sending an information storage request to a hardware control aiming at each piece of to-be-processed information of which the processing event type is judged to be an information storage event, wherein the hardware control calls hardware resources to store the to-be-processed information according to the information storage request.
Specifically, when the type of the processing event is an information processing event, a processing control thread corresponding to the processing event needs to be invoked to process the information to be processed. When the processing event type is an information storage type, a stored control thread needs to be called, the acquired information to be processed is stored in a storage module, and two different processing event types respectively correspond to the processing and the storage of the information.
And step S13, sending the processing result information to each corresponding request terminal.
After the processing information of the information to be processed is obtained in step S12, the processing result information is sent to the corresponding request terminals, and since the information transmission between the request terminals and the requested terminals can be realized through the cloud server, the requested terminals can send the processing result information to the request terminals through the cloud.
On the basis of the above hardware sharing method, this embodiment further provides another hardware sharing method applied to the request terminal, and as shown in fig. 4, after the step of sending the processing result information to the corresponding request terminals, the method includes:
step S21, an information processing request is sent to the requested terminal.
When the hardware resource of the requesting terminal can not meet the requirement of information processing, a request for sharing hardware processing is sent to the requesting terminal, the requested terminal is used for realizing the information processing, and the processing result is obtained.
Step S22, receiving processing result information returned by the requested terminal in response to the information processing request, decoding and format-converting the received processing result information, and displaying the format-converted processing result information.
And after receiving the processing result information returned by the requested terminal, the requesting terminal decodes and converts the format of the received processing result information so as to display the processing result information.
Specifically, the request terminal also needs to be installed with: the communication module may also be a 4G/5G module, or a wireless communication module, such as: a wifi module or a bluetooth module or a Lora module.
Because the request terminal needs to send a request to the requested terminal through the signal receiving module, the request terminal must also be provided with the signal receiving module, and the signal receiving module comprises an antenna, a radio frequency chip and the like.
Because the request terminal needs to display the processing result information, the request terminal also needs to decode and identify the received processing result information, and therefore the request terminal also needs to be provided with a signal processing module, and further needs to be provided with a signal conversion module to convert the decoded information into a signal format which can be displayed by a display screen.
The request terminal is also provided with a display screen because the request terminal needs to display the processing result information. The display screen can be a liquid crystal display screen, an LED screen or other ultra-high-definition display screens.
Specifically, the decoding and format conversion of the received processing result information, and the displaying of the processing result information after format conversion includes:
and converting the received processing result information from a network transmission format into a display information format corresponding to the display screen, and sending the display information after format conversion to the display screen.
Specifically, before the step of sending the information processing request to the requested terminal, the method includes:
sending an access request to the requested terminal;
acquiring display interface information of the requested terminal according to the received response of the requested terminal to the access request;
and controlling a display interface to display the display interface information.
In order to better realize the hardware sharing between the requesting terminal and the requested terminal, in the above steps, the requesting terminal acquires the display interface information of the requested terminal while accessing the requested terminal, and controls the content displayed in the display screen to be the content displayed in the display screen of the requested terminal, so that the user can more intuitively know various functions of the requested terminal and the information processing condition of the requested terminal when sending a request through the requesting terminal.
In order to implement information transmission between a requesting terminal and a requested terminal, before the step of sending an access request to the requested terminal, the method further includes:
and establishing communication connection with the requested terminal through the cloud server.
The interaction of information transmission between the request terminal and the requested terminal is realized through the cloud end, the distance is not limited, and the method can be widely applied to a plurality of terminal devices.
The method provided by the embodiment is further described below by taking the requesting terminal as a plurality of smart televisions and the requested terminal as an image processing terminal as an example.
H1 and a plurality of intelligent televisions are required to establish communication connection with the image processing terminal.
H2, each intelligent television sends an access request to the image processing terminal through the network, the image processing terminal creates an account for each intelligent television, and meanwhile, each intelligent television acquires the display interface information of the image processing terminal and controls the display content of the intelligent television to be consistent with the display interface information.
H3, one or more intelligent televisions sends an information processing request to the image processing terminal, and the image processing terminal receives the request and sends a response to each intelligent television to request for the enlargement processing of the image file.
H4, the image processing terminal acquires the image file from the smart television (if the image file is obtained by the smart television through camera shooting), or acquires the image file from the network, or acquires the image file from other smart televisions, the image processing terminal decodes the image file, converts the image file into a target file format, amplifies the image file converted into the target file format, and then sends the amplified image file to the smart television.
H5, the smart television receives the amplified image file sent by the image processing terminal, decodes the amplified image file, converts the decoded image file into a signal format which can be displayed by a display screen, and displays the signal format.
The invention provides a hardware sharing method, which can reduce the use cost of a user when the user needs a plurality of devices under the condition of hardware sharing, and meanwhile, the sharing method can improve the utilization rate of products to a certain extent and avoid the waste of resources.
On the basis of the hardware sharing method, the embodiment further provides a hardware sharing device, which includes a processor, and a storage medium communicatively connected to the processor, where the storage medium is adapted to store a plurality of instructions; the processor is adapted to invoke instructions in the storage medium to perform the steps of implementing the hardware sharing method.
Specifically, as shown in fig. 5, the electronic device includes at least one processor (processor)20 and a memory (memory)22, and may further include a display 21, a communication Interface (Communications Interface)23 and a bus 24. The processor 20, the display 21, the memory 22 and the communication interface 23 can communicate with each other through the bus 24. The display screen 21 is configured to display a user guidance interface preset in the initial setting mode. The communication interface 23 may transmit information. The processor 20 may call logic instructions in the memory 22 to perform the methods in the embodiments described above.
Furthermore, the logic instructions in the memory 22 may be implemented in software functional units and stored in a computer readable storage medium when sold or used as a stand-alone product.
The memory 22, which is a computer-readable storage medium, may be configured to store a software program, a computer-executable program, such as program instructions or modules corresponding to the methods in the embodiments of the present disclosure. The processor 30 executes the functional application and data processing, i.e. implements the method in the above-described embodiments, by executing the software program, instructions or modules stored in the memory 22.
The memory 22 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. Further, the memory 22 may include a high speed random access memory and may also include a non-volatile memory. For example, a variety of media that can store program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, may also be transient storage media.
In addition, the present embodiment also discloses a computer readable storage medium, wherein the computer readable storage medium stores one or more programs, and the one or more programs are executable by one or more processors to implement the steps of the hardware sharing method.
The specific processes loaded and executed by the instruction processors in the storage medium and the terminal are described in detail in the method, and are not described in detail herein.
The invention provides a hardware sharing method and a hardware sharing device.A requested terminal receives information processing requests sent by one or more requesting terminals, acquires information to be processed corresponding to each information processing request, and calls hardware resources to process each information to be processed to obtain processing result information; and sending the processing result information to each corresponding request terminal. In the hardware sharing method provided in this embodiment, the requesting terminal sends the information processing request to the requested terminal, and the hardware resource of the requested terminal is used to implement information processing, so that the defects that the hardware configuration of the requesting terminal is low and the information processing cannot be smoothly completed are overcome.
It should be understood that equivalents and modifications of the technical solution and inventive concept thereof may occur to those skilled in the art, and all such modifications and alterations should fall within the scope of the appended claims.
Claims (10)
1. A hardware sharing method is applied to a requested terminal and comprises the following steps:
receiving information processing requests sent by one or more request terminals;
acquiring to-be-processed information corresponding to each information processing request, and calling hardware resources to process each to-be-processed information to obtain processing result information;
and sending the processing result information to each corresponding request terminal.
2. The hardware sharing method according to claim 1, wherein the step of receiving an information processing request from one or more requesting terminals is preceded by:
receiving access requests sent by one or more request terminals, and acquiring equipment identification information of each request terminal;
establishing one-to-one corresponding shared account for each request terminal according to the equipment identification information, or establishing a shared account for each request terminal; the shared account is used for storing interaction information between the requested terminal and the requesting terminal.
3. The hardware sharing method according to claim 1, wherein the step of acquiring the information to be processed corresponding to each of the information processing requests includes:
acquiring processing data corresponding to each information processing request according to each information processing request;
and decoding each processing data, and converting each decoded processing data into a target data format to obtain the information to be processed.
4. The hardware sharing method according to claim 3, wherein the step of calling hardware resources to process each piece of the information to be processed comprises:
acquiring a processing event type corresponding to each piece of information to be processed;
sequentially judging whether the processing event type corresponding to each piece of information to be processed is an information processing event or an information storage event;
sequentially sending event processing requests corresponding to the information processing events to a hardware control aiming at each piece of to-be-processed information of which the processing event type is judged to be the information processing event, wherein the hardware control calls hardware resources to process the to-be-processed information according to the event processing requests;
and sending an information storage request to a hardware control aiming at each piece of to-be-processed information of which the processing event type is judged to be an information storage event, wherein the hardware control calls hardware resources to store the to-be-processed information according to the information storage request.
5. A hardware sharing method is applied to a request terminal and comprises the following steps:
sending an information processing request to a requested terminal;
and receiving processing result information returned by the requested terminal corresponding to the information processing request, decoding and converting the format of the received processing result information, and displaying the processing result information after the format conversion.
6. The hardware sharing method according to claim 5, wherein the step of decoding and format converting the received processing result information, and displaying the format-converted processing result information comprises:
and converting the received processing result information from a network transmission format into a display information format corresponding to the display screen, and sending the processing result information after format conversion to the display screen.
7. The hardware sharing method according to claim 5, wherein the step of sending the information processing request to the requested terminal is preceded by:
sending an access request to the requested terminal;
acquiring display interface information of the requested terminal according to the received response of the requested terminal to the access request;
and controlling a display interface to display the display interface information.
8. The hardware sharing method according to claim 7, wherein the step of sending the access request to the requested terminal is preceded by:
and establishing communication connection with the requested terminal through the cloud server.
9. A hardware sharing apparatus comprising a processor, a storage medium communicatively coupled to the processor, the storage medium adapted to store a plurality of instructions; the processor is adapted to invoke instructions in the storage medium to perform implementing the hardware sharing method of any of claims 1-8 above.
10. A computer readable storage medium, storing one or more programs, which are executable by one or more processors, for performing the steps of the hardware sharing method according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010736964.8A CN114003187A (en) | 2020-07-28 | 2020-07-28 | Hardware sharing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010736964.8A CN114003187A (en) | 2020-07-28 | 2020-07-28 | Hardware sharing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114003187A true CN114003187A (en) | 2022-02-01 |
Family
ID=79920485
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010736964.8A Pending CN114003187A (en) | 2020-07-28 | 2020-07-28 | Hardware sharing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114003187A (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101404746A (en) * | 2008-11-28 | 2009-04-08 | 中国电信股份有限公司 | Television wall image output system and method |
CN104065684A (en) * | 2013-03-21 | 2014-09-24 | 联想(北京)有限公司 | Information processing method, electronic device and terminal device |
CN106331050A (en) * | 2015-07-06 | 2017-01-11 | 中兴通讯股份有限公司 | Resource sharing method and system, terminal device and application server |
CN108089922A (en) * | 2016-11-21 | 2018-05-29 | 三星电子株式会社 | For the electronic device and its method of effective resource management |
CN108648063A (en) * | 2018-05-29 | 2018-10-12 | 拓攻(南京)机器人有限公司 | Unmanned plane sharing method, device, server, mobile terminal and storage medium |
CN108664609A (en) * | 2018-05-10 | 2018-10-16 | 中国银行股份有限公司 | A kind of method of data sharing, the network equipment and terminal |
CN108737424A (en) * | 2018-05-24 | 2018-11-02 | 深圳市零度智控科技有限公司 | Authority sharing method, server, system and the readable storage medium storing program for executing of smart home |
CN109803162A (en) * | 2019-01-22 | 2019-05-24 | 青岛海信电器股份有限公司 | Information sharing method, device and smart television |
CN109951424A (en) * | 2017-12-20 | 2019-06-28 | 北京三星通信技术研究有限公司 | Sharing method and relevant device |
-
2020
- 2020-07-28 CN CN202010736964.8A patent/CN114003187A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101404746A (en) * | 2008-11-28 | 2009-04-08 | 中国电信股份有限公司 | Television wall image output system and method |
CN104065684A (en) * | 2013-03-21 | 2014-09-24 | 联想(北京)有限公司 | Information processing method, electronic device and terminal device |
CN106331050A (en) * | 2015-07-06 | 2017-01-11 | 中兴通讯股份有限公司 | Resource sharing method and system, terminal device and application server |
CN108089922A (en) * | 2016-11-21 | 2018-05-29 | 三星电子株式会社 | For the electronic device and its method of effective resource management |
CN109951424A (en) * | 2017-12-20 | 2019-06-28 | 北京三星通信技术研究有限公司 | Sharing method and relevant device |
CN108664609A (en) * | 2018-05-10 | 2018-10-16 | 中国银行股份有限公司 | A kind of method of data sharing, the network equipment and terminal |
CN108737424A (en) * | 2018-05-24 | 2018-11-02 | 深圳市零度智控科技有限公司 | Authority sharing method, server, system and the readable storage medium storing program for executing of smart home |
CN108648063A (en) * | 2018-05-29 | 2018-10-12 | 拓攻(南京)机器人有限公司 | Unmanned plane sharing method, device, server, mobile terminal and storage medium |
CN109803162A (en) * | 2019-01-22 | 2019-05-24 | 青岛海信电器股份有限公司 | Information sharing method, device and smart television |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111240837B (en) | Resource allocation method, device, terminal and storage medium | |
CN111580995B (en) | Synchronous communication method and system of distributed cloud platform and Internet of things intelligent terminal based on MQTT asynchronous communication scene | |
WO2019228340A1 (en) | Program optimization method and apparatus, terminal, and storage medium | |
KR20130066069A (en) | Method and system for providing application based on cloud computing | |
US10908889B2 (en) | Method, user equipment, and application server for downloading application | |
JP7100154B2 (en) | Processor core scheduling method, equipment, terminals and storage media | |
CN112054998A (en) | Proxy service method, device, equipment and computer readable storage medium | |
WO2015176648A1 (en) | Method and device for transmitting data in intelligent terminal to television terminal | |
CN110933075B (en) | Service calling method and device, electronic equipment and storage medium | |
CN111796885A (en) | Display method and device of cloud application program and electronic equipment | |
KR20180100371A (en) | Data transfer method and device | |
CN111240858A (en) | Event scheduling method and component | |
CN107332854B (en) | Message serialization negotiation method and service providing equipment | |
CN104639501A (en) | Data stream transmission method, equipment and system | |
CN108512889B (en) | Application response pushing method based on HTTP and proxy server | |
CN108566328B (en) | Data transmission method, device, medium and electronic equipment | |
CN111580986A (en) | Data acquisition method, system and medium based on acquisition service middleware | |
CN114003187A (en) | Hardware sharing method and device | |
CN112367362B (en) | Data processing method, device, equipment and computer storage medium | |
CN114745412A (en) | Bidirectional remote procedure calling method, device, equipment and storage medium | |
CN112383617B (en) | Method, device, terminal equipment and medium for performing long connection | |
WO2022028189A1 (en) | Screen projection method and apparatus, electronic device, and computer readable storage medium | |
CN114007202A (en) | Method for establishing binding relationship and related equipment | |
EP4266677A1 (en) | Electronic device, data transmission method between electronic device and another electronic device, and medium | |
CN105991736B (en) | A kind of long-range control method and equipment |
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 |