CN105630730B - Information processing method and electronic equipment - Google Patents

Information processing method and electronic equipment Download PDF

Info

Publication number
CN105630730B
CN105630730B CN201510981709.9A CN201510981709A CN105630730B CN 105630730 B CN105630730 B CN 105630730B CN 201510981709 A CN201510981709 A CN 201510981709A CN 105630730 B CN105630730 B CN 105630730B
Authority
CN
China
Prior art keywords
processor
communication link
wireless communication
connection state
wireless connection
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.)
Active
Application number
CN201510981709.9A
Other languages
Chinese (zh)
Other versions
CN105630730A (en
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510981709.9A priority Critical patent/CN105630730B/en
Publication of CN105630730A publication Critical patent/CN105630730A/en
Application granted granted Critical
Publication of CN105630730B publication Critical patent/CN105630730B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/163Interprocessor communication

Abstract

The invention discloses an information processing method and electronic equipment, wherein the information processing method comprises the following steps: acquiring a wireless connection state parameter between a first processor and a second processor, and establishing a wireless communication link between the first processor and the second processor when the wireless connection state parameter meets a preset condition; transmitting a driver required by the normal operation of the second processor to the second processor through the wireless communication link, and controlling the second processor to load the driver; and controlling the first processor and the second processor to work cooperatively, wherein when the first processor and the second processor work cooperatively, the first processor and the second processor perform data transmission through the wireless communication link. The method provided by the invention solves the technical problems that the processing capability of the electronic equipment is weak and the user requirements are not met.

Description

Information processing method and electronic equipment
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to an information processing method and an electronic device.
Background
With the rapid development of science and technology and the development of information processing technology, more and more intelligent terminals appear in the work and the life of people, and great convenience is brought to the life of people. In the prior art, the more functions of electronic devices, the more complex the functions are pursued, and the larger the amount of data that the electronic devices need to process, such as: many games require the electronic device to process a large amount of image data while the user plays the game with the electronic device. Therefore, the demand for processing power of processors is increasing. The technical problems that the processing capability of electronic equipment is weak and the user requirements are not met exist in the prior art.
Disclosure of Invention
The embodiment of the invention provides an information processing method and electronic equipment, which are used for solving the technical problems that the processing capability of the electronic equipment is weak and the user requirements are not met in the prior art.
An embodiment of the present invention provides an information processing method, including:
acquiring a wireless connection state parameter between a first processor and a second processor, and establishing a wireless communication link between the first processor and the second processor when the wireless connection state parameter meets a preset condition;
when the wireless connection state parameter meets a preset condition, establishing a wireless communication link;
transmitting a driver required by the normal operation of the second processor to the second processor through the wireless communication link, and controlling the second processor to load the driver;
and controlling the first processor and the second processor to work cooperatively, wherein when the first processor and the second processor work cooperatively, the first processor and the second processor perform data transmission through the wireless communication link.
Optionally, the obtaining a wireless connection status parameter between a first processor and a second processor, and when the wireless connection status parameter meets a preset condition, establishing a wireless communication link between the first processor and the second processor specifically includes:
obtaining a wireless signal strength between the first processor and the second processor;
and when the wireless signal strength is greater than a first threshold value, determining that the wireless connection state parameter meets the preset condition, and establishing the wireless communication link.
Optionally, the obtaining a wireless connection status parameter between a first processor and a second processor, and when the wireless connection status parameter meets a preset condition, establishing a wireless communication link between the first processor and the second processor specifically includes:
obtaining a distance between the first processor and the second processor;
and when the distance is smaller than a second threshold value, determining that the wireless connection state parameter meets the preset condition, and establishing the wireless communication link.
Optionally, the obtaining a wireless connection status parameter between a first processor and a second processor, and when the wireless connection status parameter meets a preset condition, establishing a wireless communication link between the first processor and the second processor specifically includes:
obtaining a packet loss rate when a wireless signal is transmitted between the first processor and the second processor;
and when the packet loss rate is smaller than a third threshold value, determining that the wireless connection state parameter meets the preset condition, and establishing the wireless communication link.
Optionally, after the controlling the first processor to cooperate with the second processor, the method further includes:
and when the detected wireless connection state parameter does not meet the preset condition, controlling the first processor to be switched from a state of cooperative work with the second processor to an independent working state.
Optionally, the controlling the first processor and the second processor to work cooperatively includes:
obtaining the running state of the electronic equipment;
and controlling the central processing unit CPU and the graphic processing unit GPU to work cooperatively based on the running state.
Another aspect of an embodiment of the present invention provides an electronic device, including:
a storage unit for storing at least one program module;
the at least one processor is connected with the storage unit and comprises a first processor, the at least one processor is used for obtaining a wireless connection state parameter between the first processor and a second processor by obtaining and operating the at least one program module, and when the wireless connection state parameter meets a preset condition, a wireless communication link between the first processor and the second processor is established; transmitting a driver required by the normal operation of the second processor to the second processor through the wireless communication link, and controlling the second processor to load the driver; and controlling the first processor and the second processor to work cooperatively, wherein when the first processor and the second processor work cooperatively, the first processor and the second processor perform data transmission through the wireless communication link.
Optionally, the at least one processor is further configured to:
obtaining a wireless signal strength between the first processor and the second processor;
and when the wireless signal strength is greater than a first threshold value, determining that the wireless connection state parameter meets the preset condition, and establishing the wireless communication link.
Optionally, the at least one processor is further configured to:
obtaining a distance between the first processor and the second processor;
and when the distance is smaller than a second threshold value, determining that the wireless connection state parameter meets the preset condition, and establishing the wireless communication link.
Optionally, the at least one processor is further configured to:
obtaining a packet loss rate when a wireless signal is transmitted between the first processor and the second processor;
and when the packet loss rate is smaller than a third threshold value, determining that the wireless connection state parameter meets the preset condition, and establishing the wireless communication link.
Optionally, the at least one processor is further configured to:
after the controlling the first processor to cooperate with the second processor, the method further comprises:
and when the detected wireless connection state parameter does not meet the preset condition, controlling the first processor to be switched from a state of cooperative work with the second processor to an independent working state.
Optionally, the first processor is a central processing unit CPU, the second processor is a graphics processing unit GPU, and the at least one processor is further configured to:
obtaining the running state of the electronic equipment;
and controlling the central processing unit CPU and the graphic processing unit GPU to work cooperatively based on the running state.
Another aspect of an embodiment of the present invention provides an electronic device, including:
the first establishing unit is used for obtaining a wireless connection state parameter between a first processor and a second processor, and establishing a wireless communication link between the first processor and the second processor when the wireless connection state parameter meets a preset condition;
the first control unit is used for transmitting a driver required by the normal operation of the second processor to the second processor through the wireless communication link and controlling the second processor to load the driver;
and a second control unit, configured to control the first processor and the second processor to cooperatively work, where when the first processor and the second processor cooperate, the first processor and the second processor perform data transmission through the wireless communication link.
One or more technical solutions in the embodiments of the present application have at least one or more of the following technical effects:
1. according to the technical scheme in the embodiment of the application, the wireless connection state parameter between the first processor and the second processor is obtained, and when the wireless connection state parameter meets the preset condition, the wireless communication link between the first processor and the second processor is established; transmitting a driver required by the normal operation of the second processor to the second processor through the wireless communication link, and controlling the second processor to load the driver; and controlling the first processor and the second processor to work cooperatively, wherein when the first processor and the second processor work cooperatively, the first processor and the second processor perform data transmission through the wireless communication link. Therefore, the electronic equipment can be connected with the processors in a wireless connection mode to perform cooperative work, and further, the data processing capacity of the electronic equipment can be improved. Therefore, the technical problems that the processing capacity of the electronic equipment is weak and the user requirements are not met in the prior art are effectively solved, and the technical effects of improving the processing capacity of the electronic equipment and meeting the user requirements are achieved.
2. According to the technical scheme in the embodiment of the application, the running state of the electronic equipment is obtained; and controlling the central processing unit CPU and the graphic processing unit GPU to work cooperatively based on the running state. In this way, the electronic device may determine whether multiple processors are required to work in cooperation based on the operating state of the electronic device, such as: when the electronic equipment runs an application program with large data volume, such as a game, which needs to be processed, the plurality of processors are controlled to work cooperatively, and the processing speed is improved. And when the electronic equipment only runs the application program of the document class, only the main processor of the electronic equipment is controlled to work independently. The data processing is carried out in a self-adaptive manner, and the technical effect of better meeting the requirements of users is achieved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention.
Fig. 1 is a flowchart of an information processing method according to an embodiment of the present application;
fig. 2 is a structural diagram of an electronic device according to a second embodiment of the present application;
fig. 3 is a structural diagram of an electronic device in a third embodiment of the present application.
Detailed Description
The embodiment of the invention provides an information processing method and electronic equipment, which are used for solving the technical problems that the processing capability of the electronic equipment is weak and the user requirements are not met in the prior art.
To solve the foregoing technical problem, an embodiment of the present invention provides an information processing method, and the general idea is as follows:
acquiring a wireless connection state parameter between a first processor and a second processor, and establishing a wireless communication link between the first processor and the second processor when the wireless connection state parameter meets a preset condition;
transmitting a driver required by the normal operation of the second processor to the second processor through the wireless communication link, and controlling the second processor to load the driver;
and controlling the first processor and the second processor to work cooperatively, wherein when the first processor and the second processor work cooperatively, the first processor and the second processor perform data transmission through the wireless communication link.
According to the technical scheme in the embodiment of the application, the wireless connection state parameter between the first processor and the second processor is obtained, and when the wireless connection state parameter meets the preset condition, the wireless communication link between the first processor and the second processor is established; transmitting a driver required by the normal operation of the second processor to the second processor through the wireless communication link, and controlling the second processor to load the driver; and controlling the first processor and the second processor to work cooperatively, wherein when the first processor and the second processor work cooperatively, the first processor and the second processor perform data transmission through the wireless communication link. Therefore, the electronic equipment can be connected with the processors in a wireless connection mode to perform cooperative work, and further, the data processing capacity of the electronic equipment can be improved. Therefore, the technical problems that the processing capacity of the electronic equipment is weak and the user requirements are not met in the prior art are effectively solved, and the technical effects of improving the processing capacity of the electronic equipment and meeting the user requirements are achieved.
The main implementation principle, the specific implementation mode and the corresponding beneficial effects of the technical scheme of the embodiment of the present application are explained in detail with reference to the accompanying drawings.
Example one
In a specific implementation process, the information processing method may be applied to an electronic device, where the electronic device may be an electronic device such as a desktop computer, a notebook computer, a tablet computer, and the like, which are installed with an operating system, or another electronic device, which is not limited to this.
Referring to fig. 1, an embodiment of the present invention provides an information processing method, including:
s101: acquiring a wireless connection state parameter between a first processor and a second processor, and establishing a wireless communication link between the first processor and the second processor when the wireless connection state parameter meets a preset condition;
s102: transmitting a driver required by the normal operation of the second processor to the second processor through the wireless communication link, and controlling the second processor to load the driver;
s103: and controlling the first processor and the second processor to work cooperatively, wherein when the first processor and the second processor work cooperatively, the first processor and the second processor perform data transmission through the wireless communication link.
Specifically, in this embodiment, the electronic device is provided with a first processor for processing data. The first processor and the second processor are both provided with wireless communication modules, such as: an NFC (Near Field Communication) module, a bluetooth module, and the like, where the first processor and the second processor may establish a wireless Communication link through their respective wireless Communication modules. The electronic device detects a wireless connection state parameter between the first processor and the second processor in real time or at preset time intervals, such as: signal strength, signal packet loss rate, etc. After the wireless connection state parameters are obtained, whether the connection state parameters of the wireless communication link meet preset conditions is judged, and when the connection state parameters of the wireless communication link meet the preset conditions, wireless connection between the first processor and the second processor is established. Namely: when the wireless connection state parameter between the first processor and the second processor is determined to indicate that the wireless connection is established between the first processor and the second processor, the wireless communication link is stable enough, and at the moment, the wireless connection is established between the first processor and the second processor.
Furthermore, after the electronic device establishes the wireless communication link between the first processor and the second processor, in order to enable the first processor and the second processor to work cooperatively, the electronic device obtains identification information of the second processor, such as: the model and the manufacturer. The electronic device determines, based on the identification information, a driver required for normal operation of the second processor, where the driver may be stored in a local cache of the electronic device or downloaded from a remote server, and the application is not limited herein.
After obtaining a driver required by the normal operation of the second processor, sending the driver to the second processor through a wireless communication link between the first processor and the second processor, and controlling the second processor to load the driver and then to be in a cooperative working mode with the first processor, when the first processor and the second processor cooperate to perform data processing, the first processor allocates data to be processed for the second processor, and transmits the data to be processed to the second processor through the wireless communication link between the first processor and the second processor, after the second processor processes the data, the processed data is fed back to the first processor through the wireless communication link, and while the second processor processes the data, the first processor can also perform data processing.
In a specific implementation process, the first processor may be a Central Processing Unit (CPU) in the electronic device, the second processor may be a separate GPU (Graphics Processing Unit) device, the second processor may establish a wireless connection with the first processor in a wireless manner, and the second processor may be a hot-pluggable device, and the electronic device may further be externally connected with a plurality of second processors for data Processing, so as to improve the Processing speed and efficiency. Through the mode, the electronic equipment can be connected with the plurality of processors in a wireless connection mode to perform cooperative work, and further, the data processing capacity of the electronic equipment can be improved. Therefore, the technical problems that the processing capacity of the electronic equipment is weak and the user requirements are not met in the prior art are effectively solved, and the technical effects of improving the processing capacity of the electronic equipment and meeting the user requirements are achieved. And the first processor and the second processor transmit data to be processed in a wireless mode when the first processor and the second processor work cooperatively, and the electronic equipment is not required to be connected with the second processor by designing a separate debit port, so that the simplified design of the electronic equipment is facilitated.
Further, in the present embodiment, step S101: the method includes the steps of obtaining a wireless connection state parameter between a first processor and a second processor, and establishing a wireless communication link between the first processor and the second processor when the wireless connection state parameter meets a preset condition, wherein specific implementation modes can include the following three modes:
the first mode is as follows: obtaining a wireless signal strength between the first processor and the second processor; and when the wireless signal strength is greater than a first threshold value, determining that the wireless connection state parameter meets the preset condition, and establishing the wireless communication link.
Specifically, in this embodiment, when the first processor and the second processor of the electronic device are both provided with the wireless communication module, at this time, the electronic device may scan, through the wireless communication module in the first processor, a signal sent by the wireless communication module related to the second processor, and when it is determined that the signal strength of the searched signal sent by the wireless communication module of the second processor is greater than the first threshold, it is determined that the strength of the wireless signal between the first processor and the second processor is sufficiently strong and relatively stable, and it is determined that the wireless communication link between the first processor and the second processor is established. In a specific implementation process, the first threshold may be set according to actual needs, for example: the first threshold may be set to any one of-35 dBm to 50dBm, or may be set to other values, which is not limited in the present application.
The second mode is as follows: obtaining a distance between the first processor and the second processor; and when the distance is smaller than a second threshold value, determining that the wireless connection state parameter meets the preset condition, and establishing the wireless communication link.
Specifically, in this embodiment, when the wireless communication module disposed between the first processor and the second processor of the electronic device is a wireless module for ultra-short distance wireless transmission like NFC, whether the state of the wireless communication link is stable when the wireless communication link is established between the first processor and the second processor can be determined by the distance between the first processor and the second processor. Therefore, the electronic device detects the distance between the first processor and the second processor, determines whether the distance is smaller than a second threshold, and determines that the state of the wireless communication link is relatively stable when the wireless communication link is established between the first processor and the second processor when the distance between the first processor and the second processor is smaller than the second threshold, thereby establishing the wireless communication link between the first processor and the second processor. Such as: when the data volume that electronic equipment was handled is great, can request the second treater to carry out coprocessing, at this moment, electronic equipment can send a tip message and be used for reminding the external second treater of user, and the user places the second treater on electronic equipment's shell surface after learning this tip message, and at this moment, the distance between first treater and the second treater satisfies the condition of establishing wireless communication link, promptly: the distance between the first processor and the second processor is smaller than a second threshold value, and the electronic equipment establishes a wireless communication link between the first processor and the second processor. In a specific implementation process, the second threshold may be set according to actual needs, for example: the second threshold may be set to any one of values from 0cm to 5cm, and of course, other values are also possible, and the present application is not limited thereto.
The third mode is as follows: obtaining a packet loss rate when a wireless signal is transmitted between the first processor and the second processor; and when the packet loss rate is smaller than a third threshold value, determining that the wireless connection state parameter meets the preset condition, and establishing the wireless communication link.
Specifically, in this embodiment, when the first processor and the second processor of the electronic device are both provided with the wireless communication module, at this time, when the electronic device may scan a signal sent by the wireless communication module of the second processor through the wireless communication module in the first processor, the electronic device may continuously send a plurality of signals to the second processor in unit time, after receiving the signal sent by the first processor, the second processor feeds back the number of actually received signals, and the electronic device determines the packet loss rate of the wireless signals transmitted by the first processor and the second processor according to the number of actually sent signals in unit time and the number of actually received signals by the second processor. And further judging whether the packet loss rate is smaller than a third threshold, and when the packet loss rate is smaller than the third threshold, determining that the state of the wireless communication link is relatively stable when the wireless communication link is established between the first processor and the second processor, and further establishing the wireless communication link between the first processor and the second processor. Specifically, any one of the values of 0% to 0.5% may be used, and other values are also possible, and the present application is not limited thereto.
Further, in order to enable the adaptation of the multiprocessor cooperative work, in step S103: after controlling the first processor and the second processor to cooperatively work, the information processing method in this embodiment further includes the following steps:
and when the detected wireless connection state parameter does not meet the preset condition, controlling the first processor to be switched from a state of cooperative work with the second processor to an independent working state.
Specifically, in this embodiment, when it is detected that the wireless connection status parameter between the first processor and the second processor does not satisfy the preset condition, for example: when the wireless signal strength between the first processor and the second processor is small, or the distance between the first processor and the second processor is long, or the packet loss rate of the wireless signal transmitted between the first processor and the second processor is too large, the first processor can be controlled to be switched from the state of cooperative work with the second processor to the independent working state. At this time, the first processor no longer allocates the data to be processed to the second processor, and the first processor executes all the tasks of the processed data, thereby realizing the adaptability of the cooperative work among the multiple processors.
In this embodiment, when the first processor is a central processing unit CPU and the second processor is a graphics processing unit GPU, the method comprises the following steps of S103: the method for controlling the first processor to work with the second processor comprises the following steps:
obtaining the running state of the electronic equipment;
and controlling the central processing unit CPU and the graphic processing unit GPU to work cooperatively based on the running state.
Specifically, in the present embodiment, whether to start the multiprocessor cooperative operation mode may be determined based on the operation state of the electronic device. Such as: when the electronic equipment runs an application program with large data volume to be processed, such as a game, the electronic equipment can request the GPU to perform cooperative processing, the CPU distributes data to be processed for the GPU, the data to be processed is transmitted to the GPU through a wireless communication link between the CPU and the GPU, the processed data is fed back to the CPU through the wireless communication link after the GPU processes the data, the CPU can process the data while the GPU processes the data, the processing speed can be increased, the smoothness of the game in the running process is guaranteed, and user experience is improved. And when the electronic equipment only runs the application program of the document class, only the CPU of the electronic equipment is controlled to work independently. At this time, even if the GPU is connected to the CPU, the electronic device may not transmit the driver corresponding to the GPU, so that the GPU is in a standby or sleep state. By the mode, the electronic equipment can determine whether the plurality of processors are required to perform cooperative work based on the running state of the electronic equipment, so that the data processing is performed in a self-adaptive manner, and the technical effect of better meeting the user requirements is achieved.
Example two
Referring to fig. 2, an embodiment of the present application further provides an electronic device, including:
a storage unit 201 for storing at least one program module;
the at least one processor 202 is connected with the storage unit, and the at least one processor comprises a first processor, and the at least one processor is used for obtaining a wireless connection state parameter between the first processor and a second processor by obtaining and running the at least one program module, and establishing a wireless communication link between the first processor and the second processor when the wireless connection state parameter meets a preset condition; transmitting a driver required by the normal operation of the second processor to the second processor through the wireless communication link, and controlling the second processor to load the driver; and controlling the first processor and the second processor to work cooperatively, wherein when the first processor and the second processor work cooperatively, the first processor and the second processor perform data transmission through the wireless communication link.
Optionally, the at least one processor is further configured to:
obtaining a wireless signal strength between the first processor and the second processor;
and when the wireless signal strength is greater than a first threshold value, determining that the wireless connection state parameter meets the preset condition, and establishing the wireless communication link.
Optionally, the at least one processor is further configured to:
obtaining a distance between the first processor and the second processor;
and when the distance is smaller than a second threshold value, determining that the wireless connection state parameter meets the preset condition, and establishing the wireless communication link.
Optionally, the at least one processor is further configured to:
obtaining a packet loss rate when a wireless signal is transmitted between the first processor and the second processor;
and when the packet loss rate is smaller than a third threshold value, determining that the wireless connection state parameter meets the preset condition, and establishing the wireless communication link.
Optionally, the at least one processor is further configured to:
after the controlling the first processor to cooperate with the second processor, the method further comprises:
and when the detected wireless connection state parameter does not meet the preset condition, controlling the first processor to be switched from a state of cooperative work with the second processor to an independent working state.
Optionally, the first processor is a central processing unit CPU, the second processor is a graphics processing unit GPU, and the at least one processor is further configured to:
obtaining the running state of the electronic equipment;
and controlling the central processing unit CPU and the graphic processing unit GPU to work cooperatively based on the running state.
EXAMPLE III
Referring to fig. 3, an embodiment of the present application further provides an electronic device, including:
a first establishing unit 301, configured to obtain a wireless connection status parameter between a first processor and a second processor, and establish a wireless communication link between the first processor and the second processor when the wireless connection status parameter meets a preset condition;
a first control unit 302, configured to transmit a driver required for normal operation of the second processor to the second processor through the wireless communication link, and control the second processor to load the driver;
a second control unit 303, configured to control the first processor and the second processor to cooperate, where when the first processor and the second processor cooperate, the first processor and the second processor perform data transmission through the wireless communication link.
Optionally, the first establishing unit specifically includes:
a first obtaining module, configured to obtain a wireless signal strength between the first processor and the second processor;
and the first determining module is used for determining that the wireless connection state parameter meets the preset condition and establishing the wireless communication link when the wireless signal strength is greater than a first threshold value.
Optionally, the first establishing unit specifically includes:
the second acquisition module is used for acquiring the distance between the first processor and the second processor;
and the second determining module is used for determining that the wireless connection state parameter meets the preset condition and establishing the wireless communication link when the distance is smaller than a second threshold value.
Optionally, the first establishing unit specifically includes:
a third obtaining module, configured to obtain a packet loss rate when a wireless signal is transmitted between the first processor and the second processor;
a third determining module, configured to determine that the wireless connection state parameter meets the preset condition and establish the wireless communication link when the packet loss rate is smaller than a third threshold.
Optionally, the electronic device further includes:
and a third control unit, configured to control, after the first processor and the second processor are controlled to cooperatively operate, when the detected wireless connection state parameter does not satisfy the preset condition, the first processor to be switched from a state where the first processor and the second processor cooperatively operate to an independent operating state.
Optionally, the first processor is a central processing unit CPU, the second processor is a graphics processing unit GPU, and the second control unit specifically includes:
the fourth acquisition module is used for acquiring the running state of the electronic equipment;
and the first control module is used for controlling the central processing unit CPU and the graphic processing unit GPU to cooperatively work based on the running state.
Through one or more technical solutions in the embodiments of the present application, one or more of the following technical effects can be achieved:
1. according to the technical scheme in the embodiment of the application, the wireless connection state parameter between the first processor and the second processor is obtained, and when the wireless connection state parameter meets the preset condition, the wireless communication link between the first processor and the second processor is established; transmitting a driver required by the normal operation of the second processor to the second processor through the wireless communication link, and controlling the second processor to load the driver; and controlling the first processor and the second processor to work cooperatively, wherein when the first processor and the second processor work cooperatively, the first processor and the second processor perform data transmission through the wireless communication link. Therefore, the electronic equipment can be connected with the processors in a wireless connection mode to perform cooperative work, and further, the data processing capacity of the electronic equipment can be improved. Therefore, the technical problems that the processing capacity of the electronic equipment is weak and the user requirements are not met in the prior art are effectively solved, and the technical effects of improving the processing capacity of the electronic equipment and meeting the user requirements are achieved.
2. According to the technical scheme in the embodiment of the application, the running state of the electronic equipment is obtained; and controlling the central processing unit CPU and the graphic processing unit GPU to work cooperatively based on the running state. In this way, the electronic device may determine whether multiple processors are required to work in cooperation based on the operating state of the electronic device, such as: when the electronic equipment runs an application program with large data volume, such as a game, which needs to be processed, the plurality of processors are controlled to work cooperatively, and the processing speed is improved. And when the electronic equipment only runs the application program of the document class, only the main processor of the electronic equipment is controlled to work independently. The data processing is carried out in a self-adaptive manner, and the technical effect of better meeting the requirements of users is achieved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Specifically, the computer program instructions corresponding to the information processing method in the embodiment of the present application may be stored on a storage medium such as an optical disc, a hard disc, or a usb disk, and when the computer program instructions corresponding to the information processing method in the storage medium are read or executed by the first electronic device, the method includes the following steps:
acquiring a wireless connection state parameter between a first processor and a second processor, and establishing a wireless communication link between the first processor and the second processor when the wireless connection state parameter meets a preset condition;
transmitting a driver required by the normal operation of the second processor to the second processor through the wireless communication link, and controlling the second processor to load the driver;
and controlling the first processor and the second processor to work cooperatively, wherein when the first processor and the second processor work cooperatively, the first processor and the second processor perform data transmission through the wireless communication link.
Optionally, the step of storing in the storage medium: the method specifically includes the steps of obtaining a wireless connection state parameter between a first processor and a second processor, and when the wireless connection state parameter meets a preset condition, establishing a computer program instruction corresponding to a wireless communication link between the first processor and the second processor, and when the computer program instruction is executed:
obtaining a wireless signal strength between the first processor and the second processor;
and when the wireless signal strength is greater than a first threshold value, determining that the wireless connection state parameter meets the preset condition, and establishing the wireless communication link.
Optionally, the step of storing in the storage medium: the method specifically includes the steps of obtaining a wireless connection state parameter between a first processor and a second processor, and when the wireless connection state parameter meets a preset condition, establishing a computer program instruction corresponding to a wireless communication link between the first processor and the second processor, and when the computer program instruction is executed:
obtaining a distance between the first processor and the second processor;
and when the distance is smaller than a second threshold value, determining that the wireless connection state parameter meets the preset condition, and establishing the wireless communication link.
Optionally, the step of storing in the storage medium: the method specifically includes the steps of obtaining a wireless connection state parameter between a first processor and a second processor, and when the wireless connection state parameter meets a preset condition, establishing a computer program instruction corresponding to a wireless communication link between the first processor and the second processor, and when the computer program instruction is executed:
obtaining a packet loss rate when a wireless signal is transmitted between the first processor and the second processor;
and when the packet loss rate is smaller than a third threshold value, determining that the wireless connection state parameter meets the preset condition, and establishing the wireless communication link.
Optionally, the storage medium further stores other computer program instructions, and the other computer program instructions are further stored in the step of: and controlling the first processor and the second processor to cooperate with each other to work, wherein the execution process comprises the following steps:
and when the detected wireless connection state parameter does not meet the preset condition, controlling the first processor to be switched from a state of cooperative work with the second processor to an independent working state.
Optionally, the first processor is a central processing unit CPU, the second processor is a graphics processing unit GPU, and the storage medium stores the following steps: when the computer program instruction controlling the cooperative work of the first processor and the second processor is executed, the method specifically includes the following steps:
obtaining the running state of the electronic equipment;
and controlling the central processing unit CPU and the graphic processing unit GPU to work cooperatively based on the running state.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (9)

1. An information processing method applied to an electronic device, the method comprising:
acquiring a wireless connection state parameter between a first processor and a second processor, and establishing a wireless communication link between the first processor and the second processor when the wireless connection state parameter meets a preset condition;
transmitting a driver required by the normal operation of the second processor to the second processor through the wireless communication link, and controlling the second processor to load the driver;
controlling the first processor and the second processor to work cooperatively to improve the data processing capability of the electronic device, wherein when the first processor and the second processor work cooperatively, the first processor and the second processor perform data transmission through the wireless communication link;
the obtaining of the wireless connection state parameter between the first processor and the second processor, and establishing a wireless communication link between the first processor and the second processor when the wireless connection state parameter satisfies a preset condition, includes:
obtaining a packet loss rate when a wireless signal is transmitted between the first processor and the second processor;
when the packet loss rate is smaller than a third threshold value, determining that the wireless connection state parameter meets the preset condition, and establishing the wireless communication link;
or comprises the following steps:
obtaining a wireless signal strength between the first processor and the second processor;
and when the wireless signal strength is greater than a first threshold value, determining that the wireless connection state parameter meets the preset condition, and establishing the wireless communication link.
2. The method of claim 1, wherein the obtaining a wireless connection status parameter between a first processor and a second processor, and establishing a wireless communication link between the first processor and the second processor when the wireless connection status parameter satisfies a predetermined condition, specifically comprises:
obtaining a distance between the first processor and the second processor;
and when the distance is smaller than a second threshold value, determining that the wireless connection state parameter meets the preset condition, and establishing the wireless communication link.
3. The method of any of claims 1-2, wherein after the controlling the first processor to work in conjunction with the second processor, the method further comprises:
and when the detected wireless connection state parameter does not meet the preset condition, controlling the first processor to be switched from a state of cooperative work with the second processor to an independent working state.
4. The method according to any of claims 1-2, wherein the first processor is a Central Processing Unit (CPU) and the second processor is a Graphics Processing Unit (GPU), and the controlling the first processor and the second processor to work cooperatively comprises:
obtaining the running state of the electronic equipment;
and controlling the central processing unit CPU and the graphic processing unit GPU to work cooperatively based on the running state.
5. An electronic device, comprising:
a storage unit for storing at least one program module;
the at least one processor is connected with the storage unit and comprises a first processor, the at least one processor is used for obtaining a wireless connection state parameter between the first processor and a second processor by obtaining and operating the at least one program module, and when the wireless connection state parameter meets a preset condition, a wireless communication link between the first processor and the second processor is established; transmitting a driver required by the normal operation of the second processor to the second processor through the wireless communication link, and controlling the second processor to load the driver; controlling the first processor and the second processor to work cooperatively to improve the data processing capability of the electronic device, wherein when the first processor and the second processor work cooperatively, the first processor and the second processor perform data transmission through the wireless communication link;
the obtaining of the wireless connection state parameter between the first processor and the second processor, and establishing a wireless communication link between the first processor and the second processor when the wireless connection state parameter satisfies a preset condition, includes:
obtaining a packet loss rate when a wireless signal is transmitted between the first processor and the second processor;
when the packet loss rate is smaller than a third threshold value, determining that the wireless connection state parameter meets the preset condition, and establishing the wireless communication link;
or comprises the following steps: obtaining a wireless signal strength between the first processor and the second processor;
and when the wireless signal strength is greater than a first threshold value, determining that the wireless connection state parameter meets the preset condition, and establishing the wireless communication link.
6. The electronic device of claim 5, wherein the at least one processor is further to:
obtaining a distance between the first processor and the second processor;
and when the distance is smaller than a second threshold value, determining that the wireless connection state parameter meets the preset condition, and establishing the wireless communication link.
7. The electronic device of any of claims 5-6, wherein the at least one processor is further configured to:
after the controlling the first processor to work with the second processor, the method further comprises:
and when the detected wireless connection state parameter does not meet the preset condition, controlling the first processor to be switched from a state of cooperative work with the second processor to an independent working state.
8. The electronic device of any of claims 5-6, wherein the first processor is a Central Processing Unit (CPU), the second processor is a Graphics Processing Unit (GPU), and the at least one processor is further configured to:
obtaining the running state of the electronic equipment;
and controlling the central processing unit CPU and the graphic processing unit GPU to work cooperatively based on the running state.
9. An electronic device, comprising:
the first establishing unit is used for obtaining a wireless connection state parameter between a first processor and a second processor, and establishing a wireless communication link between the first processor and the second processor when the wireless connection state parameter meets a preset condition;
the first control unit is used for transmitting a driver required by the normal operation of the second processor to the second processor through the wireless communication link and controlling the second processor to load the driver;
the second control unit is configured to control the first processor and the second processor to cooperate to improve data processing capability of the electronic device, where when the first processor and the second processor cooperate, the first processor and the second processor perform data transmission through the wireless communication link;
the obtaining of the wireless connection state parameter between the first processor and the second processor, and establishing a wireless communication link between the first processor and the second processor when the wireless connection state parameter satisfies a preset condition, includes:
obtaining a packet loss rate when a wireless signal is transmitted between the first processor and the second processor;
when the packet loss rate is smaller than a third threshold value, determining that the wireless connection state parameter meets the preset condition, and establishing the wireless communication link;
or comprises the following steps:
obtaining a wireless signal strength between the first processor and the second processor;
and when the wireless signal strength is greater than a first threshold value, determining that the wireless connection state parameter meets the preset condition, and establishing the wireless communication link.
CN201510981709.9A 2015-12-23 2015-12-23 Information processing method and electronic equipment Active CN105630730B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510981709.9A CN105630730B (en) 2015-12-23 2015-12-23 Information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510981709.9A CN105630730B (en) 2015-12-23 2015-12-23 Information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN105630730A CN105630730A (en) 2016-06-01
CN105630730B true CN105630730B (en) 2020-02-21

Family

ID=56045693

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510981709.9A Active CN105630730B (en) 2015-12-23 2015-12-23 Information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN105630730B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111866336B (en) * 2020-06-22 2022-05-27 上海摩象网络科技有限公司 Pan-tilt camera, camera control method and storage medium
CN113110813B (en) * 2021-03-31 2024-02-27 联想(北京)有限公司 First electronic equipment and processing method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1269930A (en) * 1997-09-02 2000-10-11 诺基亚网络有限公司 Fade margin measurement in radio system
CN1409236A (en) * 2001-09-28 2003-04-09 讯宝科技公司 Method for keeping software connection between applied program during working of mobile computer terminal communication in radio network
CN1722129A (en) * 2004-07-14 2006-01-18 英华达(上海)电子有限公司 Dual processor system
KR20080053142A (en) * 2006-12-08 2008-06-12 한국전자통신연구원 Apparatus and method for processing dmb data streams for interactive dmb service in mobile dmb terminal
CN101326851A (en) * 2005-10-12 2008-12-17 高通股份有限公司 User terminal-initiated hard handoff from a wireless local area network to a cellular network
CN102004716A (en) * 2010-11-12 2011-04-06 深圳市合正汽车电子有限公司 System and method for realizing device sharing
CN102202310A (en) * 2010-03-25 2011-09-28 上海贝尔股份有限公司 Method and device for eliminating interference between micro cells in access equipment of micro cells
CN103975285A (en) * 2011-12-15 2014-08-06 英特尔公司 Implementing an inter-processor communication in a multi-core system using mmwave radios

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1269930A (en) * 1997-09-02 2000-10-11 诺基亚网络有限公司 Fade margin measurement in radio system
CN1409236A (en) * 2001-09-28 2003-04-09 讯宝科技公司 Method for keeping software connection between applied program during working of mobile computer terminal communication in radio network
CN1722129A (en) * 2004-07-14 2006-01-18 英华达(上海)电子有限公司 Dual processor system
CN101326851A (en) * 2005-10-12 2008-12-17 高通股份有限公司 User terminal-initiated hard handoff from a wireless local area network to a cellular network
KR20080053142A (en) * 2006-12-08 2008-06-12 한국전자통신연구원 Apparatus and method for processing dmb data streams for interactive dmb service in mobile dmb terminal
CN102202310A (en) * 2010-03-25 2011-09-28 上海贝尔股份有限公司 Method and device for eliminating interference between micro cells in access equipment of micro cells
CN102004716A (en) * 2010-11-12 2011-04-06 深圳市合正汽车电子有限公司 System and method for realizing device sharing
CN103975285A (en) * 2011-12-15 2014-08-06 英特尔公司 Implementing an inter-processor communication in a multi-core system using mmwave radios

Also Published As

Publication number Publication date
CN105630730A (en) 2016-06-01

Similar Documents

Publication Publication Date Title
US11103790B2 (en) Game picture display method and apparatus and computer-readable storage medium
CN101354780B (en) Graphic data processing apparatus and method
US11071905B1 (en) System, method and apparatus for collecting and utilizing big data for online gameplay
EP2701450B1 (en) Method and apparatus for utilizing advertisements to provide information regarding connection setup
CN108650667B (en) Terminal scheduling method and device
TW201631473A (en) Method, computing device and readable media for management of background tasks
CN103797864A (en) Wireless data communication between master device and slave device
CN104980190A (en) Data transmission system and transmission method of Bluetooth interface
CN111078172B (en) Display fluency adjusting method and device, electronic equipment and storage medium
CN107357410B (en) Power consumption control method of split VR equipment and split VR equipment
CN105630730B (en) Information processing method and electronic equipment
CN103326749A (en) NFC radio frequency communication control method, device and system
CN114389648A (en) Signal transmission method and device, terminal equipment, intelligent equipment and electronic equipment
CN106462448A (en) Multi-operating system device, notification device and methods thereof
CN105320244A (en) Input-output device management using dynamic clock frequency
CN105335192B (en) A kind of information processing method and electronic equipment
CN114419229A (en) Image rendering method and device, computer equipment and storage medium
US9317098B2 (en) Server, power management system, power management method, and program
EP2889719B1 (en) Method and apparatus to manage power usage in a processor
CN106211102B (en) Method and device for distinguishing and synchronizing chat information
WO2023246757A1 (en) Computing power service method and apparatus, and terminal
CN107241788A (en) The power consumption control method and device of wearable device
CN105849734A (en) Portable device control method and device
CN108985754A (en) Payment mechanism, system and method based on Bluetooth broadcast
CN114816744A (en) Memory control method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant