CN112000462A - A data processing method and device based on shared peripheral resources - Google Patents
A data processing method and device based on shared peripheral resources Download PDFInfo
- Publication number
- CN112000462A CN112000462A CN202010672146.6A CN202010672146A CN112000462A CN 112000462 A CN112000462 A CN 112000462A CN 202010672146 A CN202010672146 A CN 202010672146A CN 112000462 A CN112000462 A CN 112000462A
- Authority
- CN
- China
- Prior art keywords
- peripheral
- data
- result information
- processed
- processing
- 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
- 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/5011—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
- G06F9/5016—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/176—Support for shared access to files; File sharing support
-
- 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)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Advance Control (AREA)
Abstract
本发明公开了一种基于共享外设资源的数据处理方法及装置,涉及计算机技术领域,主要目的在于能够提高用户主机的数据处理效率,例如,主机内部设备资源不足时,通过与所述主机相连接的外设获取足够的内存或处理器资源,以保证软件的顺畅运行。方法包括:根据预设的配置比例,将部分待处理数据配置给所述外设进行计算处理,并接收所述外设反馈的第一结果信息,其中,所述外设用于接收并对所述部分待处理数据进行计算处理,得到并反馈第一结果信息;利用本地的处理器资源对剩余待处理数据进行计算处理,得到第二结果信息;对所述第一结果信息与所述第二结果信息进行相应的处理,得到第三结果信息。本发明适用于基于共享外设资源的数据处理。
The invention discloses a data processing method and device based on shared peripheral resources, relates to the field of computer technology, and mainly aims to improve the data processing efficiency of a user host. Connected peripherals get enough memory or processor resources to keep the software running smoothly. The method includes: according to a preset configuration ratio, allocating part of the data to be processed to the peripheral for calculation and processing, and receiving first result information fed back by the peripheral, wherein the peripheral is used for receiving and analyzing all the data to be processed. The part of the data to be processed is calculated and processed, and the first result information is obtained and fed back; the remaining data to be processed is calculated and processed by using the local processor resources, and the second result information is obtained; the first result information and the second result information are obtained. The result information is processed accordingly to obtain third result information. The present invention is suitable for data processing based on shared peripheral resources.
Description
技术领域technical field
本发明涉及计算机技术领域,特别是涉及一种基于共享外设资源的数据处理方法及装置。The present invention relates to the field of computer technology, in particular to a data processing method and device based on shared peripheral resources.
背景技术Background technique
随着计算机技术的飞速发展,超薄电脑等便携电脑设备越来越受到办公族、出差族人群的青睐。为了追求体积小、重量轻,所以便携电脑设备通常只能采用低端配置,导致在使用过程中经常出现内存和处理器等内部设备资源不足的情况。比如,从价格因素考虑,通常会选择128G硬盘、4G内存和1GHz处理器的低端配置,而在使用过程中,如果存放图像或者视频文件就会造成内存空间不足,且在运行办公软件时可能会由于处理器资源不足而造成卡机。从而导致电脑的数据处理效率降低。另外,当前智能手机、智能手表、平板电脑等移动设备硬件配置快速更新,其大量的内存和处理器资源在用户电脑资源不足时没有得到有效的利用,导致大量内存和处理器资源的浪费。With the rapid development of computer technology, portable computer devices such as ultra-thin computers are increasingly favored by office workers and business travelers. In order to pursue small size and light weight, portable computer equipment usually only adopts low-end configuration, which often leads to insufficient resources of internal equipment such as memory and processor during use. For example, considering the price factor, the low-end configuration of 128G hard disk, 4G memory and 1GHz processor is usually selected. During the use, if the image or video files are stored, the memory space will be insufficient, and it may be possible to run office software. It will cause the card machine due to insufficient processor resources. As a result, the data processing efficiency of the computer is reduced. In addition, the current hardware configuration of mobile devices such as smart phones, smart watches, and tablet computers is rapidly updated, and a large amount of memory and processor resources are not effectively utilized when the user's computer resources are insufficient, resulting in a large amount of memory and processor resources being wasted.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本发明提供一种基于共享外设资源的数据处理方法及装置,主要目的在于能够提高用户主机的数据处理效率,例如,主机内部设备资源不足时,通过与所述主机相连接的外设获取足够的内存或处理器资源,以保证软件的顺畅运行。In view of this, the present invention provides a data processing method and device based on shared peripheral resources, the main purpose of which is to improve the data processing efficiency of the user host. Peripherals get enough memory or processor resources to keep the software running smoothly.
依据本发明一个方面,提供了一种基于共享外设资源的数据处理方法,包括:According to an aspect of the present invention, a data processing method based on shared peripheral resources is provided, comprising:
根据预设的配置比例,将部分待处理数据配置给外设进行计算处理,并接收所述外设反馈的第一结果信息,其中,所述外设用于对接收的部分待处理数据进行计算处理,将得到的第一结果信息进行反馈;According to a preset configuration ratio, part of the data to be processed is allocated to a peripheral for calculation and processing, and the first result information fed back by the peripheral is received, wherein the peripheral is used to calculate the received part of the data to be processed processing, and feedback the obtained first result information;
利用本地的处理器资源对未配置给外设进行计算处理的待处理数据进行计算处理,得到第二结果信息;Use local processor resources to perform computing processing on the data to be processed that is not configured for computing processing by peripheral devices, to obtain second result information;
对所述第一结果信息与所述第二结果信息进行相应的处理,得到第三结果信息,以完成基于共享外设资源的数据处理。Corresponding processing is performed on the first result information and the second result information to obtain third result information, so as to complete the data processing based on the shared peripheral resources.
进一步地,所述根据预设的配置比例,将部分待处理数据配置给外设进行计算处理,并接收所述外设反馈的第一结果信息,包括:Further, according to a preset configuration ratio, configure part of the data to be processed to a peripheral for calculation processing, and receive the first result information fed back by the peripheral, including:
根据预设的配置比例,在所述待处理数据中提取相应的数据;extracting corresponding data from the data to be processed according to a preset configuration ratio;
将所述提取的数据配置给所述外设进行计算处理;configuring the extracted data to the peripheral for computing processing;
接收所述外设反馈的计算处理结果,并将所述计算处理结果确定为第一结果信息。The calculation processing result fed back by the peripheral device is received, and the calculation processing result is determined as the first result information.
可选地,所述方法还包括:Optionally, the method further includes:
检测到待运行软件时,读取内存资源信息,其中,所述内存资源信息包括本地内存资源信息和外设内存资源信息;When the software to be run is detected, the memory resource information is read, wherein the memory resource information includes local memory resource information and peripheral memory resource information;
若所述内存资源信息大于软件运行的内存资源阈值,则运行所述软件;If the memory resource information is greater than the memory resource threshold for software running, run the software;
若所述内存资源信息小于软件运行的内存资源阈值,则反馈提醒信息。If the memory resource information is less than the memory resource threshold for software running, a reminder information is fed back.
可选地,所述根据预设的配置比例,将部分待处理数据配置给外设进行计算处理,并接收所述外设反馈的第一结果信息之前,所述方法还包括:Optionally, before configuring part of the data to be processed to a peripheral device for calculation processing according to a preset configuration ratio, and receiving the first result information fed back by the peripheral device, the method further includes:
识别外设资源信息,其中,所述外设资源信息包括所述外设的内存资源信息和处理器资源信息;Identifying peripheral resource information, wherein the peripheral resource information includes memory resource information and processor resource information of the peripheral;
为所述外设分配普通文件标识,以使得主机能共享外设资源。A common file identifier is allocated to the peripheral device so that the host can share peripheral device resources.
依据本发明二个方面,提供了一种基于共享外设资源的数据处理装置,包括:According to two aspects of the present invention, a data processing device based on shared peripheral resources is provided, including:
配置单元,用于根据预设的配置比例,将部分待处理数据配置给外设进行计算处理,并接收所述外设反馈的第一结果信息,其中,所述外设用于对接收的部分待处理数据进行计算处理,将得到的第一结果信息进行反馈;a configuration unit, configured to configure a part of the data to be processed to a peripheral for calculation processing according to a preset configuration ratio, and receive the first result information fed back by the peripheral, wherein the peripheral is used for the received part The data to be processed is calculated and processed, and the obtained first result information is fed back;
第一处理单元,用于利用本地的处理器资源对未配置给外设进行计算处理的待处理数据进行计算处理,得到第二结果信息;a first processing unit, configured to perform computing processing on data to be processed that is not configured for computing processing by peripheral devices by using local processor resources, and obtain second result information;
第二处理单元,用于对所述第一结果信息与所述第二结果信息进行相应的处理,得到第三结果信息,以完成基于共享外设资源的数据处理。The second processing unit is configured to perform corresponding processing on the first result information and the second result information to obtain third result information, so as to complete the data processing based on the shared peripheral resources.
进一步地,所述配置单元,包括:Further, the configuration unit includes:
提取模块,用于根据预设的配置比例,在所述待处理数据中提取相应的数据;an extraction module, configured to extract corresponding data from the data to be processed according to a preset configuration ratio;
配置模块,用于将所述提取的数据配置给所述外设进行计算处理;a configuration module, configured to configure the extracted data to the peripheral for computing processing;
接收模块,用于接收所述外设反馈的计算处理结果,并将所述计算处理结果确定为第一结果信息。The receiving module is configured to receive the calculation processing result fed back by the peripheral device, and determine the calculation processing result as the first result information.
可选地,所述装置还包括:Optionally, the device further includes:
读取单元,用于检测到待运行软件时,读取内存资源信息,其中,所述内存资源信息包括本地内存资源信息和外设内存资源信息;a reading unit, configured to read memory resource information when software to be run is detected, wherein the memory resource information includes local memory resource information and peripheral memory resource information;
运行单元,用于若所述内存资源信息大于软件运行的内存资源阈值,则运行所述软件;a running unit, configured to run the software if the memory resource information is greater than the memory resource threshold for software running;
提醒单元,用于若所述内存资源信息小于软件运行的内存资源阈值,则反馈提醒信息。A reminder unit, configured to feed back reminder information if the memory resource information is less than the memory resource threshold for software running.
可选地,所述装置还包括:Optionally, the device further includes:
识别单元,用于识别外设资源信息,其中,所述外设资源信息包括所述外设的内存资源信息和处理器资源信息;an identification unit, configured to identify peripheral resource information, wherein the peripheral resource information includes memory resource information and processor resource information of the peripheral;
分配单元,用于为所述外设分配普通文件标识,以使得主机能共享外设资源。an allocation unit, configured to allocate a common file identifier to the peripheral device, so that the host can share peripheral device resources.
依据本发明第三方面,提供了一种存储介质,所述存储介质中存储有至少一可执行指令,所述执行指令使处理器执行以下步骤:根据预设的配置比例,将部分待处理数据配置给外设进行计算处理,并接收所述外设反馈的第一结果信息,其中,所述外设用于对接收的部分待处理数据进行计算处理,将得到的第一结果信息进行反馈;利用本地的处理器资源对未配置给外设进行计算处理的待处理数据进行计算处理,得到第二结果信息;对所述第一结果信息与所述第二结果信息进行相应的处理,得到第三结果信息,以完成基于共享外设资源的数据处理。According to a third aspect of the present invention, a storage medium is provided, wherein at least one executable instruction is stored in the storage medium, and the execution instruction causes the processor to perform the following steps: Configure the peripheral device to perform calculation processing, and receive the first result information fed back by the peripheral device, wherein the peripheral device is used to perform calculation processing on part of the received data to be processed, and feed back the obtained first result information; Use the local processor resources to perform calculation processing on the data to be processed that is not configured for the peripheral device for calculation processing to obtain second result information; perform corresponding processing on the first result information and the second result information to obtain the first result information. Three result information to complete data processing based on shared peripheral resources.
依据本发明第四方面,提供了一种计算机设备,包括处理器、存储器、通信接口和通信总线所述处理器、所述存储器和所述通信接口通过所述通信总线完成相互间的通信,所述存储器用于存放至少一可执行指令,所述可执行指令使所述处理器执行以下步骤:根据预设的配置比例,将部分待处理数据配置给外设进行计算处理,并接收所述外设反馈的第一结果信息,其中,所述外设用于对接收的部分待处理数据进行计算处理,将得到的第一结果信息进行反馈;利用本地的处理器资源对未配置给外设进行计算处理的待处理数据进行计算处理,得到第二结果信息;对所述第一结果信息与所述第二结果信息进行相应的处理,得到第三结果信息,以完成基于共享外设资源的数据处理。According to a fourth aspect of the present invention, a computer device is provided, comprising a processor, a memory, a communication interface, and a communication bus. The processor, the memory, and the communication interface communicate with each other through the communication bus. The memory is used to store at least one executable instruction, and the executable instruction causes the processor to perform the following steps: according to a preset configuration ratio, configure part of the data to be processed to a peripheral for calculation processing, and receive the external Set the feedback of the first result information, wherein the peripheral is used to perform calculation processing on the received part of the data to be processed, and feed back the obtained first result information; Perform calculation processing on the data to be processed by calculation to obtain second result information; perform corresponding processing on the first result information and the second result information to obtain third result information, so as to complete the data based on the shared peripheral resources deal with.
本发明提供一种基于共享外设资源的数据处理方法及装置,与现有技术在使用过程中,如果存放图像或者视频文件就会造成内存空间不足,且在运行办公软件时可能会由于处理器计算资源不足而造成卡机相比,本发明通过根据预设的配置比例,将部分待处理数据配置给外设进行计算处理,并接收所述外设反馈的第一结果信息,其中,所述外设用于对接收的部分待处理数据进行计算处理,将得到的第一结果信息进行反馈;利用本地的处理器资源对未配置给外设进行计算处理的待处理数据进行计算处理,得到第二结果信息;对所述第一结果信息与所述第二结果信息进行相应的处理,得到第三结果信息,以完成基于共享外设资源的数据处理。从而能够提高用户主机的数据处理效率,例如,主机内部设备资源不足时,通过与所述主机相连接的外设获取足够的内存或处理器资源,以保证软件的顺畅运行。The present invention provides a data processing method and device based on shared peripheral resources. In the process of using the prior art, if images or video files are stored, the memory space will be insufficient, and when running office software, the processor may be Compared with the card machine caused by insufficient computing resources, the present invention allocates part of the data to be processed to the peripheral device for calculation processing according to a preset configuration ratio, and receives the first result information fed back by the peripheral device, wherein the The peripheral is used to perform calculation processing on the received data to be processed, and feed back the obtained first result information; use the local processor resources to perform calculation processing on the data to be processed that is not configured for the peripheral device for calculation processing, and obtain the first result. 2. Result information; perform corresponding processing on the first result information and the second result information to obtain third result information, so as to complete the data processing based on the shared peripheral resources. Thus, the data processing efficiency of the user host can be improved. For example, when the internal device resources of the host are insufficient, sufficient memory or processor resources are obtained through peripheral devices connected to the host to ensure smooth running of the software.
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solutions of the present invention, in order to be able to understand the technical means of the present invention more clearly, it can be implemented according to the content of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand , the following specific embodiments of the present invention are given.
附图说明Description of drawings
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are for the purpose of illustrating preferred embodiments only and are not to be considered limiting of the invention. Also, the same components are denoted by the same reference numerals throughout the drawings. In the attached image:
图1示出了本发明实施例提供的一种基于共享外设资源的数据处理方法流程图;1 shows a flowchart of a data processing method based on shared peripheral resources provided by an embodiment of the present invention;
图2示出了本发明实施例提供的一种基于共享外设资源的数据处理装置的实体结构图;2 shows an entity structure diagram of a data processing apparatus based on shared peripheral resources provided by an embodiment of the present invention;
图3示出了本发明实施例提供的一种基于共享外设资源的数据处理装置的结构示意图;3 shows a schematic structural diagram of a data processing apparatus based on shared peripheral resources provided by an embodiment of the present invention;
图4示出了本发明实施例提供的一种计算机设备的实体结构示意图。FIG. 4 shows a schematic diagram of an entity structure of a computer device provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that the present disclosure will be more thoroughly understood, and will fully convey the scope of the present disclosure to those skilled in the art.
如背景技术所述,目前,为了追求体积小、重量轻,所以便携电脑设备通常只能采用低端配置,导致在使用过程中经常出现内存和处理器等内部设备资源不足的情况。比如,从价格因素考虑,通常会选择128G硬盘、4G内存和1GHz处理器的低端配置,而在使用过程中,如果存放图像或者视频文件就会造成内存空间不足,且在运行办公软件时可能会由于处理器资源不足而造成卡机。从而导致电脑的数据处理效率降低。另外,当前智能手机、智能手表、平板电脑等移动设备硬件配置快速更新,其大量的内存和处理器资源在用户电脑资源不足时没有得到有效的利用,导致大量内存和处理器资源的浪费。As mentioned in the background art, at present, in order to pursue small size and light weight, portable computer devices usually only adopt low-end configurations, resulting in frequent shortage of internal device resources such as memory and processor during use. For example, considering the price factor, the low-end configuration of 128G hard disk, 4G memory and 1GHz processor is usually selected. During the use, if the image or video files are stored, the memory space will be insufficient, and it may be possible to run office software. It will cause the card machine due to insufficient processor resources. As a result, the data processing efficiency of the computer is reduced. In addition, the current hardware configuration of mobile devices such as smart phones, smart watches, and tablet computers is rapidly updated, and a large amount of memory and processor resources are not effectively utilized when the user's computer resources are insufficient, resulting in a large amount of memory and processor resources being wasted.
为了解决上述问题,本发明实施例提供了一种基于共享外设资源的数据处理方法,如图1所示,所述方法包括:In order to solve the above problems, an embodiment of the present invention provides a data processing method based on shared peripheral resources. As shown in FIG. 1 , the method includes:
101、根据预设的配置比例,将部分待处理数据配置给外设进行计算处理,并接收所述外设反馈的第一结果信息。101. According to a preset configuration ratio, configure part of the data to be processed to a peripheral device for calculation processing, and receive first result information fed back by the peripheral device.
其中,所述外设可以用于接收并对所述部分待处理数据进行计算处理,得到并反馈第一结果信息。所述第一结果信息具体可以为所述外设对配置的数据进行处理后得到的处理结果。所述预设的配置比例可以为对待处理数据预设的百分数,用于将待处理数据分成多个部分,从而将多个部分的待处理数据分别配置给本地处理器和外设的处理器资源进行数据的计算处理。The peripheral device may be used to receive and perform calculation processing on the part of the data to be processed, to obtain and feed back first result information. The first result information may specifically be a processing result obtained after the peripheral device processes the configured data. The preset configuration ratio may be a preset percentage of the data to be processed, which is used to divide the data to be processed into multiple parts, so that the multiple parts of the data to be processed are respectively allocated to the local processor and the processor resources of the peripherals. Compute the data.
需要说明的是,所述外设具体可以包括智能手机、平板电脑、智能手表等具有内存或处理器资源的外设。在实际应用场景中,由于用户主机自身内存或处理器资源有限,很容易导致软件无法运行,或者计算处理速度慢等,极大的降低了数据处理的效率。而随着当前智能手机、智能手表、平板电脑等移动设备的发展,其内存和处理器资源也在不断增加,用户主机在进行数据处理时,通常不会与智能手机、智能手表或者平板电脑同时使用,这就造成了智能手机、智能手表或平板电脑内存或处理器资源的浪费。而本发明实施例则可以通过将上述外设连接至用户主机,通过预设的软件环境,实现用户主机与智能手机、智能手表、平板电脑等外设内存资源或处理器资源的共享,从而使得用户主机能够更加顺畅的运行软件,并提高其数据处理的效率。It should be noted that the peripheral devices may specifically include peripheral devices with memory or processor resources, such as a smart phone, a tablet computer, and a smart watch. In practical application scenarios, due to the limited memory or processor resources of the user host, it is easy to cause the software to fail to run, or the calculation processing speed to be slow, which greatly reduces the efficiency of data processing. With the development of current mobile devices such as smartphones, smart watches, and tablet computers, their memory and processor resources are also increasing. When the user host processes data, it usually does not process data at the same time as the smartphone, smart watch, or tablet computer. usage, which results in a waste of memory or processor resources in a smartphone, smartwatch, or tablet. In the embodiment of the present invention, by connecting the above-mentioned peripheral devices to the user host, and through a preset software environment, the user host can share the memory resources or processor resources of peripheral devices such as smart phones, smart watches, and tablet computers, so as to make The user host can run the software more smoothly and improve the efficiency of its data processing.
在实际应用场景中,本发明可以用于当用户主机的内存或处理器资源不足时,通过外设与用户主机的连接,从而为用户主机提供额外的内存资源或处理器资源。另外,正如本发明实施例要解决的技术问题,即上班族或出差族人群在上班过程中或出差过程中存在的电脑主机内存或处理器资源不足,而通过本发明实施例的技术方案,用户只需将随身携带的智能手机或者智能手表或者平板电脑等外设接入用户电脑主机,即可轻松解决上述技术问题,从而实现能够随时随地共享外设的内存或处理器资源,以提高用户主机的数据处理效率,和能够更顺畅的运行软件。In practical application scenarios, the present invention can be used to provide additional memory resources or processor resources for the user host through the connection between peripherals and the user host when the memory or processor resources of the user host are insufficient. In addition, just as the technical problem to be solved by the embodiments of the present invention, that is, the computer host memory or processor resources of office workers or business travelers are insufficient during the process of going to work or traveling on business, and through the technical solutions of the embodiments of the present invention, users can The above-mentioned technical problems can be easily solved by simply connecting peripheral devices such as smartphones, smart watches or tablet computers that you carry with you to the user's computer host, so that the memory or processor resources of peripheral devices can be shared anytime and anywhere, so as to improve the user's host computer. data processing efficiency, and can run the software more smoothly.
102、利用本地的处理器资源对未配置给所述外设进行计算处理的待处理数据进行计算处理,得到第二结果信息。102. Use local processor resources to perform computing processing on data to be processed that is not configured for computing processing by the peripheral device, to obtain second result information.
其中,所述本地的处理器资源具体可以包括当前用户主机处理器的计算资源。所述第二结果信息具体可以为利用本地的处理器资源对未配置给所述外设进行计算处理的待处理数据进行计算处理得到的。具体地,可以获取所述未配置给外设进行计算处理的部分待处理数据,并利用用户主机的处理器资源对所述数据进行计算处理,将得到的计算处理结果确定为第二结果信息。例如,待处理数据为100个1进行累加的计算处理,根据预设的配置比例,将所述待处理数据的30%配置给外设进行计算处理,即将30个1进行累加的计算处理配置给对应的外设,则此时,主机可以调用本地的处理器资源,对剩余的待处理数据,即70个1进行累加,进行相应的计算处理,将得到的计算结果确定为第二结果信息。通过本地的处理器资源与外设的处理器资源共同进行待处理数据的计算处理,从而能够提高用户主机处理数据的效率,提高用户的使用体验。The local processor resources may specifically include computing resources of the current user host processor. The second result information may specifically be obtained by using local processor resources to perform computing processing on data to be processed that is not configured for computing processing by the peripheral device. Specifically, the part of the data to be processed that is not configured for calculation processing by the peripheral device may be acquired, the data may be calculated and processed by using the processor resources of the user host, and the obtained calculation processing result is determined as the second result information. For example, if the data to be processed is 100 1s to be accumulated for calculation processing, according to the preset allocation ratio, 30% of the to-be-processed data is allocated to the peripheral for calculation processing, that is, the calculation processing of the accumulation of 30 1s is allocated to Corresponding peripherals, at this time, the host can call the local processor resources to accumulate the remaining data to be processed, that is, 70 1s, perform corresponding calculation processing, and determine the obtained calculation result as the second result information. The computing and processing of the data to be processed is performed jointly by the local processor resource and the processor resource of the peripheral device, so that the efficiency of processing data by the user host can be improved, and the use experience of the user can be improved.
103、对所述第一结果信息与所述第二结果信息进行相应的处理,得到第三结果信息,以完成基于共享外设资源的数据处理。103. Perform corresponding processing on the first result information and the second result information to obtain third result information, so as to complete the data processing based on the shared peripheral resources.
其中,所述第三结果信息具体可以为对所述第一结果信息与所述第二结果信息进行处理得到的。例如,待处理数据为100个1进行累加的计算处理,根据预设的配置比例,将所述待处理数据的30%配置给外设进行计算处理,即将30个1进行累加的计算处理配置给对应的外设,得到第一结果信息为30;利用本地的处理器资源对剩余的70个1进行累加计算处理,得到第二结果信息为70;则此时还需要对所述第一结果信息与所述第二结果信息进行相加处理,以得到最终的计算处理结果,即第三结果信息为100。The third result information may specifically be obtained by processing the first result information and the second result information. For example, if the data to be processed is 100 1s to be accumulated for calculation processing, according to the preset allocation ratio, 30% of the to-be-processed data is allocated to the peripheral for calculation processing, that is, the calculation processing of the accumulation of 30 1s is allocated to Corresponding peripherals, the first result information obtained is 30; the remaining 70 1s are accumulated and calculated by using the local processor resources, and the second result information is obtained as 70; then the first result information needs to be calculated at this time. Perform addition processing with the second result information to obtain a final calculation processing result, that is, the third result information is 100.
需要说明的是,在实际应用场景中,所述数据并不局限于累加处理,因此,在接收到外设反馈的第一结果信息后,可以根据实际需求,对所述第一结果信息与所述第二结果信息进行相应的处理,如相减、相乘或相除等,具体的处理过程与上述累加计算处理的过程相同,此处不再赘述。本发明实施例通过利用本地的处理器资源和外设的处理器资源同时进行计算处理,并对本地计算处理结果与外设反馈的计算处理结果进行相应的处理,从而可以实现基于外设共享的处理器资源对数据进行处理,以提高数据处理的效率。It should be noted that, in the actual application scenario, the data is not limited to the accumulation processing. Therefore, after receiving the first result information fed back by the peripheral device, the first result information and all The second result information is processed accordingly, such as subtraction, multiplication, or division, and the specific processing process is the same as the above-mentioned accumulation calculation process, which is not repeated here. In the embodiment of the present invention, computing processing is performed simultaneously by using local processor resources and peripheral processor resources, and the local computing processing result and the computing processing result fed back by the peripheral equipment are processed correspondingly, so as to realize the sharing based on the peripheral equipment. Processor resources process data to improve the efficiency of data processing.
进一步的,为了更好的说明上述基于共享外设资源的数据处理方法的过程,作为对上述实施例的细化和扩展,本发明实施例提供了几种可选实施例,但不限于此,具体如下所示:Further, in order to better describe the process of the above-mentioned data processing method based on shared peripheral resources, as a refinement and expansion of the above-mentioned embodiment, the embodiment of the present invention provides several optional embodiments, but is not limited thereto. Specifically as follows:
在本发明的一个可选实施例,为了充分利用外设的处理器资源对待处理数据进行计算处理,所述步骤101具体可以包括:根据预设的配置比例,在所述待处理数据中提取相应的数据;将所述提取的数据配置给所述外设进行计算处理;接收所述外设反馈的计算处理结果,并将所述计算处理结果确定为第一结果信息。In an optional embodiment of the present invention, in order to make full use of the processor resources of peripheral devices to perform computing processing on the data to be processed, the step 101 may specifically include: extracting corresponding data from the data to be processed according to a preset configuration ratio configure the extracted data to the peripheral device for calculation processing; receive the calculation processing result fed back by the peripheral device, and determine the calculation processing result as the first result information.
其中,所述预设的配置比例可以根据实际计算处理需求设置,在实际应用场景中,可以根据接入外设的内存和处理器资源大小进行设置,如,所述接入内存为4G,处理器为2GHz的智能手机,由于其可以使用的内存资源和处理器资源比较多,则可以将所述配置比例设置为50%,即将待处理数据的一半配置给所述智能手机进行处理;而若接入内存为2G,处理器为800MHz的智能手表,由于其可以使用的内存资源相对较少,若配置过多的数据处理任务可能会影响其功能的正常运行,导致无法接通电话或者无法使用微信等,此时可以将其配置比例设置为30%,即将待处理数据的1/3配置给所述智能手表进行处理,以便于在利用所述外设处理器资源的同时,不会影响所述外设的正常使用。需要说明的是,上述配置比例仅为便于理解而做出的说明,其可以根据使用者不同的需求进行设置,比如若用户利用外设处理器资源的需求大于其使用外设本身功能的需求时,就可以最大化设置配置比例。The preset configuration ratio can be set according to actual computing processing requirements. In actual application scenarios, it can be set according to the size of the memory and processor resources connected to the peripherals. For example, the access memory is 4G, and the processing For a smartphone with a 2GHz processor, since it can use more memory resources and processor resources, the configuration ratio can be set to 50%, that is, half of the data to be processed is allocated to the smartphone for processing; A smart watch with a 2G memory and an 800MHz processor can use relatively few memory resources. If too many data processing tasks are configured, the normal operation of its functions may be affected, resulting in the inability to connect to the phone or to use it. WeChat, etc., at this time, its configuration ratio can be set to 30%, that is, 1/3 of the data to be processed is allocated to the smart watch for processing, so as to use the peripheral processor resources without affecting all normal use of the above peripherals. It should be noted that the above configuration ratios are only for the convenience of understanding, which can be set according to the different needs of users. , you can maximize the setting configuration ratio.
在本发明的另一个可选实施例,为了解决由于用户主机内存资源不足造成的软件无法运行的问题,所述方法还可以包括:检测到待运行软件时,读取内存资源信息;若所述内存资源信息大于软件运行的内存资源阈值,则运行所述软件;若所述内存资源信息小于软件运行的内存资源阈值,则反馈提醒信息。In another optional embodiment of the present invention, in order to solve the problem that the software cannot be run due to insufficient memory resources of the user host, the method may further include: reading the memory resource information when the software to be run is detected; If the memory resource information is greater than the memory resource threshold for software running, the software is run; if the memory resource information is less than the memory resource threshold for software running, a reminder information is fed back.
其中,所述待运行软件具体可以为安装在用户主机本地,需要在所述用户主机上运行的软件程序。所述软件运行时,通常需要一定的基础内存空间,以便于保存软件运行时产生的缓存,比如某软件运行前,需要确保当前本地剩余内存空间大于1G,以保证软件运行过程中产生的文本文件可以保存在内存空间中,防止中途由于出现内存不足造成软件卡死或者强制退出。The software to be run may specifically be a software program that is installed locally on the user host and needs to be run on the user host. When the software is running, a certain basic memory space is usually required to save the cache generated when the software is running. For example, before a certain software is running, it is necessary to ensure that the current local remaining memory space is greater than 1G, so as to ensure that the text files generated during the running of the software are guaranteed. It can be saved in the memory space to prevent the software from being stuck or forced to quit due to insufficient memory in the middle.
对于本发明实施例,所述内存资源信息包括本地内存资源信息和外设内存资源信息。当外设接入后,主机在软件运行前读取本地的内存资源信息时,即可以同时读取本地内存资源信息和外设的内存资源信息,以实现对本地内存资源的扩容,使软件能够顺利运行。例如,主机需要运行一款办公软件,此办公软件要求本地至少有800M的内存资源,以便于软件运行期间下载的文本信息模板信息能够实时保存,但主机本身仅剩余500M内存资源。此时,通过外接智能手机的1G内存资源共享,主机在运行软件之前读取的本地内存资源为1.5G,则所述软件就可以在此环境下运行。For the embodiment of the present invention, the memory resource information includes local memory resource information and peripheral memory resource information. After the peripherals are connected, when the host reads the local memory resource information before the software runs, it can read the local memory resource information and the peripheral memory resource information at the same time, so as to realize the expansion of the local memory resources, so that the software can Running smoothly. For example, the host needs to run an office software, which requires at least 800M of local memory resources, so that the text information template information downloaded during the software operation can be saved in real time, but the host itself only has 500M of memory resources left. At this time, through the sharing of 1G memory resources of an external smartphone, the local memory resource read by the host before running the software is 1.5G, and the software can run in this environment.
需要说明的是,软件要求的内存资源通常远远超出实际需要的内存资源,如上述举例中,虽然所述办公软件要求本地至少有800M的内存资源,但是其实际运行过程中可能仅需要使用50M左右的内存资源。通过外设共享的内存资源通常情况下可以达到软件运行要求的内存资源阈值。但在实际应用场景中,若所述主机本地的内存资源极少,如主机本地仅有30M的内存资源,通过外接智能手机的1G内存资源共享可以实现软件在此环境下运行,但在运行期间产生的缓存无法保存在主机本地,在本发明实施例中,可以将本地内存中的数据转移至外设的内存中或者将软件运行过程中产生的缓存保存在外设的内存中,且所述主机可以同步读取所述缓存文件,从而可以实现内存资源共享,且数据能够同步工作。It should be noted that the memory resources required by the software usually far exceed the actual memory resources. As in the above example, although the office software requires at least 800M of local memory resources, it may only need to use 50M in the actual running process. about memory resources. The memory resources shared by peripherals can usually reach the memory resource threshold required by the software to run. However, in a practical application scenario, if the host has very few local memory resources, such as only 30M memory resources locally, the software can run in this environment by sharing 1G memory resources of an external smartphone, but during operation The generated cache cannot be stored locally in the host. In this embodiment of the present invention, the data in the local memory can be transferred to the memory of the peripheral device, or the cache generated during the software running process can be stored in the memory of the peripheral device, and the host The cache file can be read synchronously, so that memory resource sharing can be realized, and data can work synchronously.
另外,当本地的内存资源与外设的内存资源小于所述软件运行要求的内存资源阈值,则可以向用户发送提醒信息,所述提醒信息具体可以为“内存不足,无法运行软件”等,以便于提示用户更换设备或者增加内存空间等。In addition, when the local memory resources and the memory resources of the peripherals are less than the memory resource threshold required by the software operation, a reminder message may be sent to the user, and the reminder message may specifically be "insufficient memory, unable to run the software", etc., so that To prompt the user to replace the device or increase the memory space, etc.
在本发明的又一个可选实施例,为了接入并识别对应的外设,实现对外设的管理和控制,在所述步骤101之前,所述方法还可以包括:识别外设资源信息,其中,所述外设资源信息包括所述外设的内存资源信息和处理器资源信息;为所述外设分配普通文件标识,以使得主机能共享外设资源。In yet another optional embodiment of the present invention, in order to access and identify a corresponding peripheral device and implement management and control of the peripheral device, before the step 101, the method may further include: identifying peripheral device resource information, wherein , the peripheral resource information includes memory resource information and processor resource information of the peripheral; a common file identifier is allocated to the peripheral, so that the host can share the peripheral resource.
在实际应用场景中,如图2所示,所述外设可以为一个,也可以为多个,如可以同时将智能手机、智能手表或平板电脑连接至主机等。所述外设可以通过预设的硬件设备接入所述主机,所述预设的硬件设备具体可以为模拟器,所述模拟器可以通过usb连接外设,以将待处理数据发送至外设进行计算处理,并将反馈的处理结果传递至主机。In a practical application scenario, as shown in FIG. 2 , there may be one or more peripheral devices, for example, a smartphone, a smart watch or a tablet computer may be connected to the host computer at the same time. The peripheral device can be connected to the host through a preset hardware device, and the preset hardware device can specifically be an emulator, and the emulator can connect to the peripheral device through usb to send the data to be processed to the peripheral device. Perform calculation processing and transmit the feedback processing results to the host.
另外,所述主机中可以预置软件系统对接入的外设进行管理,所述软件系统可以包括虚拟机等,具体地,当所述外设接入所述硬件设备后,所述硬件设备可以识别所述外设的资源信息,通过所述预置的软件系统为所述外设分配普通文件标识,所述普通文件标识即普通文件ID,可以将所述外设添加至所述软件系统的管理控制,以便于主机能够通过软件系统读取所述外设的内存资源,以及利用所述外设的处理器资源进行数据的计算处理等。In addition, a software system may be preset in the host to manage the connected peripherals, and the software system may include a virtual machine, etc. Specifically, after the peripherals are connected to the hardware device, the hardware device The resource information of the peripheral can be identified, and a common file identifier is allocated to the peripheral through the preset software system. The common file identifier is the common file ID, and the peripheral can be added to the software system. management control, so that the host can read the memory resources of the peripheral devices through the software system, and use the processor resources of the peripheral devices to perform data calculation processing and the like.
进一步地,作为图1的具体实现,本发明实施例提供了一种基于共享外设资源的数据处理装置,如图2所示,所述装置包括:配置单元21、第一处理单元22和第二处理单元23。Further, as a specific implementation of FIG. 1 , an embodiment of the present invention provides a data processing apparatus based on shared peripheral resources. As shown in FIG. 2 , the apparatus includes: a
所述配置单元21,可以用于根据预设的配置比例,将部分待处理数据配置给外设进行计算处理,并接收所述外设反馈的第一结果信息,其中,所述外设用于对接收的部分待处理数据进行计算处理,将得到的第一结果信息进行反馈;The
所述第一处理单元22,可以用于利用本地的处理器资源对未配置给外设进行计算处理的待处理数据进行计算处理,得到第二结果信息;The
所述第二处理单元23,可以用于对所述第一结果信息与所述第二结果信息进行相应的处理,得到第三结果信息,以完成基于共享外设资源的数据处理。The
所述配置单元21,包括:The
提取模块211,可以用于根据预设的配置比例,在所述待处理数据中提取相应的数据;The
配置模块212,可以用于将所述提取的数据配置给所述外设进行计算处理;a
接收模块213,可以用于接收所述外设反馈的计算处理结果,并将所述计算处理结果确定为第一结果信息。The receiving
进一步地,为了使电脑拥有更大的内存资源,以便于软件的运行,所述装置还包括:Further, in order to make the computer have more memory resources to facilitate the running of the software, the device further includes:
读取单元24,可以用于检测到待运行软件时,读取内存资源信息,其中,所述内存资源信息包括本地内存资源信息和外设内存资源信息;The
运行单元25,可以用于若所述内存资源信息大于软件运行的内存资源阈值,则运行所述软件;The running
提醒单元26,可以用于若所述内存资源信息小于软件运行的内存资源阈值,则反馈提醒信息。The
进一步地,为了将外设添加至虚拟机中,使得电脑可以识别和利用外设的资源,所述装置还包括:Further, in order to add peripherals to the virtual machine, so that the computer can identify and utilize the resources of the peripherals, the apparatus further includes:
识别单元27,可以用于识别外设资源信息,其中,所述外设资源信息包括所述外设的内存资源信息和处理器资源信息;The identifying
分配单元28,可以用于为所述外设分配普通文件标识,以使得主机能共享外设资源。The allocating
需要说明的是,本发明实施例提供的一种基于共享外设资源的数据处理装置所涉及各功能模块的其他相应描述,可以参考图1所示方法的对应描述,在此不再赘述。It should be noted that, for other corresponding descriptions of the functional modules involved in the data processing apparatus based on shared peripheral resources provided by the embodiments of the present invention, reference may be made to the corresponding descriptions of the method shown in FIG. 1 , which will not be repeated here.
基于上述如图1所示方法,相应的,本发明实施例还提供了一种存储介质,所述存储介质中存储有至少一可执行指令,所述执行指令使处理器执行以下步骤:根据预设的配置比例,将部分待处理数据配置给外设进行计算处理,并接收所述外设反馈的第一结果信息,其中,所述外设用于对接收的部分待处理数据进行计算处理,将得到的第一结果信息进行反馈;利用本地的处理器资源对未配置给外设进行计算处理的待处理数据进行计算处理,得到第二结果信息;对所述第一结果信息与所述第二结果信息进行相应的处理,得到第三结果信息,以完成基于共享外设资源的数据处理。Based on the above method shown in FIG. 1 , correspondingly, an embodiment of the present invention further provides a storage medium, where at least one executable instruction is stored in the storage medium, and the execution instruction causes the processor to perform the following steps: The configuration ratio of the device is configured, part of the data to be processed is allocated to the peripheral device for calculation processing, and the first result information fed back by the peripheral device is received, wherein the peripheral device is used to perform calculation processing on the received part of the data to be processed, Feeding back the obtained first result information; using local processor resources to perform calculation processing on the data to be processed that is not configured for calculation processing by peripherals, to obtain second result information; The second result information is processed accordingly to obtain the third result information, so as to complete the data processing based on the shared peripheral resources.
基于上述如图1所示方法和如图3所示装置的实施例,本发明实施例还提供了一种计算机设备,如图4所示,处理器(processor)31、通信接口(Communications Interface)32、存储器(memory)33、以及通信总线34。其中:处理器31、通信接口32、以及存储器33通过通信总线34完成相互间的通信。通信接口34,用于与其它设备比如用户端或其它服务器等的网元通信。处理器31,用于执行程序,具体可以执行上述基于共享外设资源的数据处理方法实施例中的相关步骤。具体地,程序可以包括程序代码,该程序代码包括计算机操作指令。处理器31可能是中央处理器CPU,或者是特定集成电路ASIC(Application SpecificIntegrated Circuit),或者是被配置成实施本发明实施例的一个或多个集成电路。Based on the foregoing embodiment of the method shown in FIG. 1 and the apparatus shown in FIG. 3 , an embodiment of the present invention further provides a computer device. As shown in FIG. 4 , a processor (processor) 31 and a communications interface (Communications Interface) 32 , a
终端包括的一个或多个处理器,可以是同一类型的处理器,如一个或多个CPU;也可以是不同类型的处理器,如一个或多个CPU以及一个或多个ASIC。存储器33,用于存放程序。存储器33可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatilememory),例如至少一个磁盘存储器。程序具体可以用于使得处理器31执行以下操作:根据预设的配置比例,将部分待处理数据配置给外设进行计算处理,并接收所述外设反馈的第一结果信息,其中,所述外设用于对接收的部分待处理数据进行计算处理,将得到的第一结果信息进行反馈;利用本地的处理器资源对未配置给外设进行计算处理的待处理数据进行计算处理,得到第二结果信息;对所述第一结果信息与所述第二结果信息进行相应的处理,得到第三结果信息,以完成基于共享外设资源的数据处理。The one or more processors included in the terminal may be the same type of processors, such as one or more CPUs; or may be different types of processors, such as one or more CPUs and one or more ASICs. The
通过本发明的技术方案,能够根据预设的配置比例,将部分待处理数据配置给外设进行计算处理,并接收所述外设反馈的第一结果信息,其中,所述外设用于对接收的部分待处理数据进行计算处理,将得到的第一结果信息进行反馈;利用本地的处理器资源对未配置给外设进行计算处理的待处理数据进行计算处理,得到第二结果信息;对所述第一结果信息与所述第二结果信息进行相应的处理,得到第三结果信息,以完成基于共享外设资源的数据处理。能够提高用户主机的数据处理效率,例如极端情况下主机内部设备资源不足时,通过与所述主机相连接的外设获取足够的内存或处理器资源,以保证软件的顺畅运行。Through the technical solution of the present invention, part of the data to be processed can be allocated to a peripheral for calculation processing according to a preset configuration ratio, and the first result information fed back by the peripheral can be received, wherein the peripheral is used for The received part of the data to be processed is calculated and processed, and the obtained first result information is fed back; the local processor resources are used to calculate and process the to-be-processed data that is not configured for the peripheral device for calculation processing, and the second result information is obtained; The first result information and the second result information are processed correspondingly to obtain third result information, so as to complete the data processing based on the shared peripheral resources. The data processing efficiency of the user host can be improved. For example, when the internal device resources of the host are insufficient in extreme cases, sufficient memory or processor resources can be obtained through the peripheral devices connected to the host to ensure the smooth running of the software.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above-mentioned modules or steps of the present invention can be implemented by a general-purpose computing device, which can be centralized on a single computing device, or distributed in a network composed of multiple computing devices Alternatively, they may be implemented in program code executable by a computing device, such that they may be stored in a storage device and executed by the computing device, and in some cases, in a different order than here The steps shown or described are performed either by fabricating them separately into individual integrated circuit modules, or by fabricating multiple modules or steps of them into a single integrated circuit module. As such, the present invention is not limited to any particular combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包括在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010672146.6A CN112000462A (en) | 2020-07-14 | 2020-07-14 | A data processing method and device based on shared peripheral resources |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010672146.6A CN112000462A (en) | 2020-07-14 | 2020-07-14 | A data processing method and device based on shared peripheral resources |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112000462A true CN112000462A (en) | 2020-11-27 |
Family
ID=73467601
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010672146.6A Pending CN112000462A (en) | 2020-07-14 | 2020-07-14 | A data processing method and device based on shared peripheral resources |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112000462A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116107771A (en) * | 2022-12-13 | 2023-05-12 | 成都海光集成电路设计有限公司 | Cache state recording method, data access method, and related devices and equipment |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1639684A (en) * | 2001-06-25 | 2005-07-13 | 国际商业机器公司 | Method and apparatus to encourage client into a distributed peer to peer sharing technology |
CN1664798A (en) * | 2004-03-02 | 2005-09-07 | 联想(北京)有限公司 | External equipment resource sharing method |
CN1869959A (en) * | 2006-06-28 | 2006-11-29 | 广州市立本电器有限公司 | System for multi-user sharing internal and external storage of computer |
CN102736595A (en) * | 2012-06-06 | 2012-10-17 | 中国电力科学研究院 | Unified platform of intelligent power distribution terminal based on 32 bit microprocessor and real time operating system (RTOS) |
CN104364760A (en) * | 2012-05-06 | 2015-02-18 | 桑迪士克科技股份有限公司 | Parallel computation with multiple storage devices |
CN105677484A (en) * | 2016-01-08 | 2016-06-15 | 国家计算机网络与信息安全管理中心 | A multi-core CPU real-time data processing method with automatic load balancing |
CN109032778A (en) * | 2018-07-07 | 2018-12-18 | 苏州蓝色弹珠智能科技有限公司 | The method and system of cotasking processing |
CN110851271A (en) * | 2019-10-28 | 2020-02-28 | 北京梧桐车联科技有限责任公司 | Resource sharing method and device and storage medium |
-
2020
- 2020-07-14 CN CN202010672146.6A patent/CN112000462A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1639684A (en) * | 2001-06-25 | 2005-07-13 | 国际商业机器公司 | Method and apparatus to encourage client into a distributed peer to peer sharing technology |
CN1664798A (en) * | 2004-03-02 | 2005-09-07 | 联想(北京)有限公司 | External equipment resource sharing method |
CN1869959A (en) * | 2006-06-28 | 2006-11-29 | 广州市立本电器有限公司 | System for multi-user sharing internal and external storage of computer |
CN104364760A (en) * | 2012-05-06 | 2015-02-18 | 桑迪士克科技股份有限公司 | Parallel computation with multiple storage devices |
CN102736595A (en) * | 2012-06-06 | 2012-10-17 | 中国电力科学研究院 | Unified platform of intelligent power distribution terminal based on 32 bit microprocessor and real time operating system (RTOS) |
CN105677484A (en) * | 2016-01-08 | 2016-06-15 | 国家计算机网络与信息安全管理中心 | A multi-core CPU real-time data processing method with automatic load balancing |
CN109032778A (en) * | 2018-07-07 | 2018-12-18 | 苏州蓝色弹珠智能科技有限公司 | The method and system of cotasking processing |
CN110851271A (en) * | 2019-10-28 | 2020-02-28 | 北京梧桐车联科技有限责任公司 | Resource sharing method and device and storage medium |
Non-Patent Citations (1)
Title |
---|
钱幸存;高同国;: "基于单片机的多计算机外设共享控制器的设计与实现", 电子技术, no. 05 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116107771A (en) * | 2022-12-13 | 2023-05-12 | 成都海光集成电路设计有限公司 | Cache state recording method, data access method, and related devices and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106598735B (en) | A kind of distributed computing method, main controlled node and computing system | |
CN108287708B (en) | Data processing method and device, server and computer readable storage medium | |
CN112825042A (en) | Resource management method and device, electronic equipment and storage medium | |
CN111221643A (en) | Task processing method and task processing device | |
US20220229701A1 (en) | Dynamic allocation of computing resources | |
CN113849312B (en) | Data processing task allocation method and device, electronic equipment and storage medium | |
CN111124668B (en) | Memory release method, device, storage medium and terminal | |
CN108052384A (en) | A kind of task processing method, service platform and electronic equipment | |
CN111104219A (en) | Binding method, device, equipment and storage medium of virtual core and physical core | |
CN113610699B (en) | A hardware layer rendering scheduling method, device, equipment and storage medium | |
CN111679911A (en) | Management method, device, equipment and medium for GPU (graphics processing Unit) card in cloud environment | |
CN112165572A (en) | Image processing method, device, terminal and storage medium | |
CN109558210B (en) | Method and system for virtual machine application host GPU device | |
CN111858035A (en) | A kind of FPGA device allocation method, device, device and storage medium | |
CN112000462A (en) | A data processing method and device based on shared peripheral resources | |
CN109614242B (en) | A computing power sharing method, device, equipment and medium | |
CN113204426A (en) | Task processing method of resource pool and related equipment | |
CN111190910B (en) | Method and device for processing quota resources, electronic equipment and readable storage medium | |
CN116185670B (en) | Method and device for exchanging data between memories, electronic equipment and storage medium | |
CN112003930A (en) | Task allocation method, device, equipment and storage medium | |
CN111290850B (en) | Data storage method, device and equipment | |
CN111625350A (en) | Memory allocation method, device, equipment and storage medium for network message data | |
CN114791854B (en) | Scheduling method, device, equipment and storage medium of user-state virtual machine task | |
CN117271092A (en) | Thread scheduling method, device, electronic equipment and storage medium | |
CN113485835B (en) | Method, system, equipment and medium for realizing memory sharing under multiple scenes |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201127 |
|
RJ01 | Rejection of invention patent application after publication |