WO2012079327A1 - Mobile terminal and calculation method thereof - Google Patents

Mobile terminal and calculation method thereof Download PDF

Info

Publication number
WO2012079327A1
WO2012079327A1 PCT/CN2011/072844 CN2011072844W WO2012079327A1 WO 2012079327 A1 WO2012079327 A1 WO 2012079327A1 CN 2011072844 W CN2011072844 W CN 2011072844W WO 2012079327 A1 WO2012079327 A1 WO 2012079327A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile terminal
module
computing
remote
task
Prior art date
Application number
PCT/CN2011/072844
Other languages
French (fr)
Chinese (zh)
Inventor
王涛
齐丽娜
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012079327A1 publication Critical patent/WO2012079327A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a mobile terminal and a computing method thereof. Background technique
  • cloud computing can be used:
  • the mobile terminal accesses the 3G network or the Internet, and through the data center, the powerful computing and storage capabilities provided by the distributed processing are obtained.
  • the method needs to occupy the bandwidth of the communication network, and the user's tariff is high; and in order to maintain the connection of the network, the radio part of the mobile terminal also needs to consume a large amount of power.
  • the main object of the present invention is to provide a mobile terminal and a calculation method thereof, which can improve self processing performance and reduce power consumption.
  • a mobile terminal computing method comprising:
  • the mobile terminal establishes a remote computing connection with the computing entity
  • the mobile terminal remotely adjusts the distributed program interface of the calculation engine provided by the computing entity. Calculating the data to be calculated by the calculation engine, and receiving the calculation result returned by the calculation entity.
  • the method further includes:
  • the mobile terminal searches for a computing entity by using a short-range wireless communication method
  • the mobile terminal sends a wireless connection request to the searched computing entity, and upon receiving the agreed access information returned by the computing entity, establishes a wireless connection with the computing entity.
  • the mobile terminal establishes a remote computing connection with the computing entity as:
  • the mobile terminal starts its own remote client terminal module, remotely logs in to the computing entity; starts its own transmission adaptation task sub-module, and completes the establishment of a remote computing connection with the computing entity.
  • the method further includes:
  • the remote computing engine mode is enabled
  • the coprocessor software task is stopped, the data communication of the CPU of the mobile terminal and the coprocessor is cut off, and the coprocessor is put to sleep.
  • the mobile terminal remotely invokes the calculation engine to calculate the data by using a distributed program interface of the calculation engine provided by the computing entity to:
  • the mobile terminal starts its own virtual coprocessor task module, receives the data block to be calculated and the processing command sent by the CPU, and sends the buffer to the remote computing engine task module; the mobile terminal starts the remote computing engine task module,
  • the processing command sent by the virtual coprocessor task module is converted into a remote calling command to the computing engine distributed program interface, and the remote calling command is bound and packaged with the data block sent by the virtual coprocessor task module. , sending the data packet to the transmission adaptation task sub-module;
  • the transmission adaptation task sub-module performs wireless protocol data format conversion on the received data packet. After being processed, the wireless task module sent to the mobile terminal is sent by the wireless task module of the mobile terminal to the wireless task module of the computing entity.
  • the method further includes:
  • the remote computing engine mode is switched to the local computing engine mode, and the virtual coprocessor task module, the remote client terminal module, the remote computing engine task module, and the transmission adaptation task are closed. Module, and wake up the coprocessor of the mobile terminal, start the coprocessor software task.
  • a mobile terminal including a wireless task module, a CPU, and a coprocessor task module, wherein the mobile terminal further includes: a remote computing connection module, and a remote computing engine task module;
  • a remote computing connection module for establishing a remote computing connection with a computing entity
  • a remote computing engine task module configured to remotely invoke the computing engine to calculate the data to be calculated by using a distributed program interface of the computing engine provided by the computing entity;
  • a wireless task module configured to receive a calculation result returned by the computing entity.
  • the wireless task module is specifically configured to search for a computing entity, send a wireless connection request to the searched computing entity, and after receiving the agreed access information returned by the computing entity, establish a wireless with the computing entity. connection.
  • the remote computing connection module includes a remote client terminal module and a transmission adaptation task sub-module
  • a remote client terminal module configured to remotely log in to the computing entity
  • the transmission adaptation task sub-module is configured to receive a data packet sent by the remote client terminal module, communicate with the wireless task module, and complete establishment of a remote computing connection with the computing entity.
  • the CPU is configured to: after receiving the remote computing selection information input by the user, enable the remote computing engine mode, stop the coprocessor software task of the mobile terminal, cut off the data communication between the CPU and the coprocessor, and The coprocessor is put to sleep.
  • the mobile terminal further includes: a virtual coprocessor task module, configured to receive a data block and a processing command to be calculated sent by the CPU, and send the buffer to the remote computing engine task module;
  • the remote computing engine task module is configured to convert the processing command sent by the virtual coprocessor task module into a remote calling command to the computing engine distributed program interface, and send the remote calling command and the virtual coprocessor task module.
  • the data block is bound and packaged, and the data packet is sent to the transmission adaptation task sub-module;
  • the wireless task module sent to the mobile terminal is sent by the wireless task module of the mobile terminal to the wireless task module of the computing entity.
  • the CPU is further configured to: when detecting that the remote computing connection of the remote computing connection module is disconnected, switch the remote computing engine mode to the local computing engine mode, close the remote computing connection module, the virtual coprocessor task module, and Remotely compute the engine task module and wake up the coprocessor and start the coprocessor software task.
  • the mobile terminal provided by the present invention and the calculation method thereof, establish a remote computing connection between the mobile terminal and the computing entity that has established the wireless connection, and share the computing entity as a component to the mobile terminal by using a computing entity based on the distributed computing
  • the terminal provides a calculation engine; the data to be calculated by the mobile terminal is calculated by the computing program's distributed program interface provided by the computing entity, and the computing engine is remotely called to calculate the calculated data, and the calculation result returned by the computing entity is received, and the calculation result is performed.
  • the mobile terminal obtain higher computing power, thereby improving the performance of the mobile terminal; and the power consumption is small, the user does not need to spend extra cost, saves cost, and does not need to install additional client software, and improves. Ease of use.
  • FIG. 1 is a schematic flow chart of a computing method of a mobile terminal according to the present invention.
  • FIG. 2 is a schematic diagram of a processing flow of a specific embodiment of a mobile terminal computing method according to the present invention
  • FIG. 3 is a schematic structural diagram of a mobile terminal of the present invention. detailed description
  • the basic idea of the present invention is: establishing a remote computing connection between the mobile terminal and the computing entity; the mobile terminal will process the data to be calculated, and calculate the data to be calculated by the remote computing engine through the distributed program interface of the computing engine provided by the computing entity. And receive the result of the calculation returned by the computing entity.
  • FIG. 1 shows a flow of a computing method of a mobile terminal according to the present invention. As shown in FIG. 1, the method includes the following steps:
  • Step 101 The mobile terminal establishes a remote computing connection with the computing entity.
  • the mobile terminal remotely logs into a computing entity that has established a wireless connection with the mobile terminal by starting a remote client terminal module of its own remote computing connection module; and then starts a transmission adaptation task sub-module of its own remote computing connection module, At this point, the remote computing connection between the mobile terminal and the computing entity is established.
  • Step 102 The mobile terminal remotely invokes a computing engine of the computing entity by calculating a distributed program interface of the computing engine provided by the entity, calculates the data to be calculated, and receives the calculation result returned by the computing entity;
  • the mobile terminal converts the to-be-processed command into a remote call command to the computing engine distributed program interface, binds to the data block to be processed, and then packages it to be sent to the computing entity through its own wireless task module, and is shared by the computing entity.
  • the calculation engine performs the calculation and receives the calculation result returned by the calculation entity for presentation.
  • FIG. 2 shows a process flow of a specific embodiment of a mobile terminal computing method according to the present invention. As shown in FIG. 2, the embodiment includes the following steps:
  • Step 1 The mobile terminal receives a request for opening a close wireless connection input by the user, and starts its own Short-range wireless connection;
  • the short-range wireless connection of the mobile terminal can be Bluetooth, WIFI, wireless USB, and the like.
  • Step 2 The computing entity turns on its own short-range wireless connection
  • the computing entity may calculate a powerful device for a computer or the like; specifically, when the computing entity receives the open short-range wireless connection request input by the user, it opens its own short-range wireless connection.
  • the computing entity in this step refers to: a computing entity located in the effective range of the short-range wireless connection of the mobile terminal, and steps 1 and 2 are indistinguishable in implementation.
  • Steps 3 to 4 the mobile terminal searches for a computing entity in the neighboring area by using a short-range wireless communication manner, and sends a wireless connection request to the computing entity when searching for the computing entity;
  • the mobile terminal searches for a computing entity within the effective range of its own close wireless connection; when searching for a computing entity that also turns on the close wireless connection, a wireless connection request can be sent to the computing entity.
  • Steps 5-6 The computing entity verifies the received wireless connection request, and when the verification passes, returns the consent access information to the mobile terminal, and the wireless connection between the mobile terminal and the computing entity is completed.
  • the verification of the wireless connection request by the computing entity further includes: determining, according to the operation status of the mobile terminal, whether to agree to the access request of the mobile terminal, and when not agreeing, returning the disagreement access information to the a mobile terminal; wherein, when the computing entity has a high CPU usage rate and a large number of running processes, the computing entity returns a disagreement with the access information to the mobile terminal; conversely, when the computing entity uses the CPU in a good state If the number of running processes is not too large, the computing entity returns the consent access information to the mobile terminal.
  • Step 7 the mobile terminal starts its own remote computing connection module, and the computing entity starts its own terminal server module, and the remote computing connection between the mobile terminal and the computing entity is established; Specifically, in this step, the mobile terminal first starts a remote client terminal module of the remote computing connection module, and the remote client terminal module can be implemented by using a virtualization technology, such as Microsoft's remote application technology, so that When the terminal remotely logs in to the computing entity, the desktop of the computing entity does not need to be displayed on the mobile terminal, thereby eliminating the need to transfer a large amount of display data required for computing the desktop image of the entity to the mobile terminal, thereby facilitating the implementation; and then starting the remote computing connection module.
  • the transmission adaptation task sub-module receives the data sent by the remote client terminal module and establishes a connection with the wireless task module of the mobile terminal to complete the communication task with the computing entity.
  • the computing entity starts the terminal server module, performs setting of a related environment such as a distributed component service, and shares the computing engine based on the distributed implementation as a component to the mobile terminal as a computing engine of the mobile terminal; specifically, adding the mobile terminal In the distributed component service, a remote computing engine is added to the distributed component service.
  • the shared computing engine is displayed in the application list of the mobile terminal, and correspondingly, the displayed computing engine is available to the mobile terminal. Shared use.
  • Step 8 After receiving the remote computing selection information input by the user, the mobile terminal enables the remote computing engine mode;
  • the application computing module of the mobile terminal provides the user with a calculation engine mode selection function, which includes a local computing engine mode and a remote computing engine mode; when the mobile terminal receives the remote computing selection information, the mobile terminal switches to the remote terminal.
  • the calculation engine mode when further receiving the remote calculation engine selection information input by the user according to the application menu provided by the mobile terminal, stopping the coprocessor software task, cutting off the data communication between the internal coprocessor and the CPU; meanwhile, To save power consumption of the mobile terminal, the coprocessor can be placed in a sleep state.
  • Step 9 ⁇ 10 the mobile terminal starts the virtual coprocessor task module, receives the to-be-calculated data block and the pending command sent by the CPU, and starts the remote computing engine task module, and the data block and the The command buffer is sent to the remote computing engine task module, and the remote computing engine task module passes the data to be calculated through the distributed program interface of the remote computing engine, and calls the computing engine to perform calculation;
  • the virtual coprocessor task module can continuously receive the data block to be calculated and the processing command sent by the CPU, perform buffer processing, and the like, and send the message to the remote computing engine task module.
  • the mobile terminal starts the remote computing engine task module, and the remote computing engine task module receives the data block and the processing command sent by the virtual co-processing task module, and converts the command into a remote calling command; specifically, the remote computing engine task module will be virtualized
  • the processing command sent by the coprocessor task module is converted into a remote calling command to the computing engine distributed program interface, and the remote calling command is bound and packaged with the data block sent by the virtual coprocessor task module, and the data is packed.
  • the packet is sent to the transmission adaptation task sub-module; the transmission adaptation task sub-module converts the received data packet into a wireless protocol data format, and then sends the data to the wireless task module, and the wireless task module sends the data to the computing entity.
  • Step 11 ⁇ 12 the computing entity's own wireless task module sends the received data to the computing engine; the computing engine performs local computing, and returns the calculation result to the mobile terminal;
  • the wireless task module of the computing entity performs format conversion on the received data to obtain a data packet including the data block to be calculated and the to-be-processed command, and sends the data packet to the calculation engine; the calculation engine extracts the data packet. Processing commands and data blocks, calling local CPU, graphics card and other hardware resources for calculation, and returning calculation results to the mobile terminal.
  • Step 13 The mobile terminal receives and presents the calculation result.
  • the wireless task module of the mobile terminal sends the received data to the transmission adaptation task sub-module, and the transmission adaptation task sub-module converts the data of the wireless protocol data format into a data format that can be processed by the virtual coprocessor task module. And sending the converted data to the virtual coprocessor task module, and the virtual coprocessor task module buffers the received data, and then provides the final data to the application software of the mobile terminal, through the application.
  • Software tuning Use the mobile terminal's local LCD LCD, speakers, headphones and other hardware to present the effect.
  • the remote computing engine mode is switched to the local computing engine mode, and the virtual coprocessor task module is closed.
  • a remote client task sub-module, a remote computing engine task module, and a transmission adaptation task sub-module, etc. and start a coprocessor software task to wake up the coprocessor; wherein the remote computing connection disconnection may be a termination remote receiving the user input.
  • the mobile terminal includes: a wireless task module 31, a CPU 32 and a coprocessor task module 33, a remote computing connection module 34, and a virtual coprocessor. a task module 35, and a remote computing engine task module 36; wherein the wireless task module 31 is configured to receive a calculation result returned by the computing entity;
  • a remote computing connection module 34 configured to establish a remote computing connection with the computing entity
  • the virtual coprocessor task module 35 is configured to receive the data to be calculated sent by the CPU 32, perform buffer processing, and send the data to the remote computing engine task module 36;
  • the remote computing engine task module 36 is configured to remotely invoke the computing engine to calculate the data to be calculated by using a distributed program interface of the computing engine provided by the computing entity.
  • the wireless task module 31 is specifically configured to search for a computing entity, and send a wireless connection request to the searched computing entity, and after receiving the agreed access information returned by the computing entity, establishing a computing entity with the computing entity Wireless connections.
  • the remote computing connection module 34 includes a remote client terminal module 341 and a transmission adaptation task sub-module 342;
  • a remote client terminal module 341, configured to remotely log in to the computing entity
  • the transmission adaptation task sub-module 342 is configured to receive the data packet sent by the remote client terminal module 341, communicate with the wireless task module 31, and complete establishment of a remote computing connection with the computing entity.
  • the computing entity starts its own terminal server module, performs related environment settings such as distributed component services, and shares the computing engine based on the distributed implementation as a component to the mobile terminal, and serves as a computing engine of the mobile terminal; specifically, adding The mobile terminal is added to the distributed component service, and the remote computing engine is added to the distributed component service.
  • the shared remote computing engine is displayed in the application list of the mobile terminal, and correspondingly, the displayed calculation is performed.
  • the engine can be shared by mobile terminals.
  • the CPU 32 is configured to: after receiving the remote computing selection information input by the user, enable the remote computing engine mode, stop the coprocessor software task of the coprocessor task module 33 of the mobile terminal, and cut off the coprocessing of the mobile terminal.
  • the coprocessor of the task module 33 and the data communication of the CPU 32 put the coprocessor into a sleep state.
  • the virtual coprocessor task module 35 is specifically configured to receive the data block to be calculated and the processing command sent by the CPU 32, perform buffer processing, and send the data to the remote computing engine task module 36;
  • the remote computing engine task module 36 is configured to convert the processing command sent by the virtual coprocessor task module 35 into a remote calling command to the computing engine distributed program interface, and the remote calling command and the virtual coprocessor task module 35
  • the sent data block is bound and packaged, and the data packet is sent to the transport adaptation task sub-module 342.
  • the wireless task module 31 sent to the mobile terminal is sent by the wireless task module 31 of the mobile terminal to the wireless task module of the computing entity.
  • the calculation result is returned to the mobile terminal by the wireless task module of the computing entity, and the wireless task module 31 of the mobile terminal receives the calculation result, and then receives the calculation result.
  • the received data is sent to the transmission adaptation task sub-module 342, and the transmission adaptation task sub-module 342 converts the data in the wireless protocol data format into a data format that the virtual co-processor task module 35 can process, and then sends the converted data to the data format.
  • Virtual The pseudo-coprocessor task module 35 is configured to perform buffer acceleration processing on the received data by the virtual coprocessor task module 35, and then provide the final data to the application software of the mobile terminal, and call the mobile terminal locally through the application software. LCD LCD, speakers, headphones and other hardware rendering effects.
  • the CPU 32 is further configured to detect that the remote computing engine mode is switched to the local computing engine mode when the remote computing connection connection of the remote computing connection module 34 is disconnected, and the remote computing connection module 34 and the virtual coprocessor task are closed.
  • the module 35, and the remote computing engine task module 36, and the coprocessor task module 33 are started, specifically to wake up the coprocessor, and start the coprocessor software task.

Abstract

A mobile terminal and calculation method thereof are provided in the present invention. The method includes that: the mobile terminal establishes a remote calculation connection with a calculation entity(101); the mobile terminal remotely invokes a calculation engine to calculate the data to be calculated through a distributed program interface of the calculation engine provided by the calculation entity, and receives the calculated results returned by the calculation entity(102). Through establishing a remote calculation connection between the mobile terminal and the calculation entity which has established wireless connection in the present invention, the calculation engine, which is implemented by the calculation entity based on the distributed manner, can be shared as a component to the mobile terminal for providing calculation to it; the calculation ability of the hardware resources, such as the CPU etc., in the calculation entity is actually obtained through remotely invoking the calculation engine of the calculation entity to work; and the calculation results returned by the calculation entity are received and presented. Not only the mobile terminal obtains high calculation ability, but also the power consumption is low; it does not need users to spend additional charge and does not need to install the additional client software, and the facility is enhanced.

Description

一种移动终端及其计算方法 技术领域  Mobile terminal and calculation method thereof
本发明涉及通信技术领域, 尤其涉及一种移动终端及其计算方法。 背景技术  The present invention relates to the field of communications technologies, and in particular, to a mobile terminal and a computing method thereof. Background technique
进入第三代移动通信(3G ) 时代后, 移动终端的功能越来越丰富。 移 动终端的应用软件也趋向大型化、 复杂化发展, 这些进而会对移动终端的 硬件配置, 尤其是 CPU的处理能力提出了越来越高的要求。 于是, 高性能 的 ARM处理器和移动应用处理器开始在移动终端中,特别是高端、智能的 移动终端中得到越来越广泛的釆用。 但是, 在移动终端处理性能得到提高 的同时, 其功耗也会随之增加; 同时由于高性能处理器的价格因素, 低端、 功能性移动终端处理计算能力弱的现状并未得到解决。  After entering the third generation mobile communication (3G) era, the functions of mobile terminals are becoming more and more abundant. The application software of the mobile terminal also tends to be large-scale and complicated, which in turn puts higher and higher requirements on the hardware configuration of the mobile terminal, especially the processing capability of the CPU. As a result, high-performance ARM processors and mobile application processors are beginning to become more widely used in mobile terminals, especially high-end, smart mobile terminals. However, while the processing performance of mobile terminals is improved, its power consumption will also increase. At the same time, due to the price factor of high-performance processors, the current situation of low-end, functional mobile terminals handling weak computing power has not been resolved.
现有技术中, 可以通过云计算: 移动终端接入 3G网络或因特网, 通过 数据中心, 取得分布式处理所提供的强大计算和存储能力。 但是, 该方法 需要占用通信网络的带宽, 用户的资费开销较高; 同时为了维持网络的连 接, 移动终端的射频部分也需要付出较大的功耗。 发明内容  In the prior art, cloud computing can be used: The mobile terminal accesses the 3G network or the Internet, and through the data center, the powerful computing and storage capabilities provided by the distributed processing are obtained. However, the method needs to occupy the bandwidth of the communication network, and the user's tariff is high; and in order to maintain the connection of the network, the radio part of the mobile terminal also needs to consume a large amount of power. Summary of the invention
有鉴于此, 本发明的主要目的在于提供一种移动终端及其计算方法, 能提高自身处理性能并降低功耗。  In view of this, the main object of the present invention is to provide a mobile terminal and a calculation method thereof, which can improve self processing performance and reduce power consumption.
为达到上述目的, 本发明的技术方案是这样实现的:  In order to achieve the above object, the technical solution of the present invention is achieved as follows:
一种移动终端计算方法, 所述方法包括:  A mobile terminal computing method, the method comprising:
移动终端与计算实体建立远程计算连接;  The mobile terminal establishes a remote computing connection with the computing entity;
移动终端通过计算实体所提供的计算引擎的分布式程序接口, 远程调 用所述计算引擎对待计算的数据进行计算, 并接收计算实体返回的计算结 果。 The mobile terminal remotely adjusts the distributed program interface of the calculation engine provided by the computing entity. Calculating the data to be calculated by the calculation engine, and receiving the calculation result returned by the calculation entity.
进一步地, 所述方法还包括:  Further, the method further includes:
移动终端利用近距无线通信方式搜索计算实体;  The mobile terminal searches for a computing entity by using a short-range wireless communication method;
移动终端向搜索到的计算实体发送无线连接请求, 当接收到所述计算 实体返回的同意接入信息后, 建立与所述计算实体的无线连接。  The mobile terminal sends a wireless connection request to the searched computing entity, and upon receiving the agreed access information returned by the computing entity, establishes a wireless connection with the computing entity.
其中, 所述移动终端与计算实体建立远程计算连接为:  The mobile terminal establishes a remote computing connection with the computing entity as:
移动终端启动自身的远程客户端子模块, 远程登录到所述计算实体; 启动自身的传输适配任务子模块, 完成与计算实体远程计算连接的建 立。  The mobile terminal starts its own remote client terminal module, remotely logs in to the computing entity; starts its own transmission adaptation task sub-module, and completes the establishment of a remote computing connection with the computing entity.
进一步地, 所述移动终端与计算实体建立远程计算连接之后, 所述方 法还包括:  Further, after the mobile terminal establishes a remote computing connection with the computing entity, the method further includes:
移动终端接收到用户输入的远程计算选择信息后, 启用远程计算引擎 模式;  After the mobile terminal receives the remote computing selection information input by the user, the remote computing engine mode is enabled;
停止协处理器软件任务、切断移动终端的 CPU和协处理器的数据通信, 并将所述协处理器置于休眠状态。  The coprocessor software task is stopped, the data communication of the CPU of the mobile terminal and the coprocessor is cut off, and the coprocessor is put to sleep.
其中, 所述移动终端通过计算实体所提供的计算引擎的分布式程序接 口 , 远程调用所述计算引擎对待计算的数据进行计算为:  The mobile terminal remotely invokes the calculation engine to calculate the data by using a distributed program interface of the calculation engine provided by the computing entity to:
移动终端启动自身的虚拟协处理器任务模块, 接收自身 CPU发送的待 计算的数据块和处理命令, 緩冲处理后发送给远程计算引擎任务模块; 移动终端启动远程计算引擎任务模块, 将所述虚拟协处理器任务模块 发来的处理命令, 转换成对计算引擎分布式程序接口的远程调用命令, 并 将远程调用命令与所述虚拟协处理器任务模块发来的数据块进行绑定并打 包, 将数据包发送至传输适配任务子模块;  The mobile terminal starts its own virtual coprocessor task module, receives the data block to be calculated and the processing command sent by the CPU, and sends the buffer to the remote computing engine task module; the mobile terminal starts the remote computing engine task module, The processing command sent by the virtual coprocessor task module is converted into a remote calling command to the computing engine distributed program interface, and the remote calling command is bound and packaged with the data block sent by the virtual coprocessor task module. , sending the data packet to the transmission adaptation task sub-module;
所述传输适配任务子模块对接收到的数据包进行无线协议数据格式转 化后, 发送至移动终端的无线任务模块, 由移动终端的无线任务模块发送 至计算实体的无线任务模块。 The transmission adaptation task sub-module performs wireless protocol data format conversion on the received data packet. After being processed, the wireless task module sent to the mobile terminal is sent by the wireless task module of the mobile terminal to the wireless task module of the computing entity.
进一步地, 所述方法还包括:  Further, the method further includes:
移动终端检测到远程计算连接断开时, 将远程计算引擎模式切换为本 地计算引擎模式, 关闭自身的虚拟协处理器任务模块、 远程客户端子模块、 远程计算引擎任务模块、 及传输适配任务子模块, 并唤醒移动终端的协处 理器, 启动协处理器软件任务。  When the mobile terminal detects that the remote computing connection is disconnected, the remote computing engine mode is switched to the local computing engine mode, and the virtual coprocessor task module, the remote client terminal module, the remote computing engine task module, and the transmission adaptation task are closed. Module, and wake up the coprocessor of the mobile terminal, start the coprocessor software task.
一种移动终端, 包括无线任务模块、 CPU及协处理器任务模块, 其特 征在于, 所述移动终端还包括: 远程计算连接模块、 以及远程计算引擎任 务模块; 其中,  A mobile terminal, including a wireless task module, a CPU, and a coprocessor task module, wherein the mobile terminal further includes: a remote computing connection module, and a remote computing engine task module;
远程计算连接模块, 用于与计算实体建立远程计算连接;  a remote computing connection module for establishing a remote computing connection with a computing entity;
远程计算引擎任务模块, 用于通过计算实体所提供的计算引擎的分布 式程序接口, 远程调用所述计算引擎对待计算的数据进行计算;  a remote computing engine task module, configured to remotely invoke the computing engine to calculate the data to be calculated by using a distributed program interface of the computing engine provided by the computing entity;
无线任务模块, 用于接收所述计算实体返回的计算结果。  a wireless task module, configured to receive a calculation result returned by the computing entity.
进一步地, 所述无线任务模块, 具体用于搜索计算实体, 向搜索到的 计算实体发送无线连接请求, 当接收到所述计算实体返回的同意接入信息 后, 建立与所述计算实体的无线连接。  Further, the wireless task module is specifically configured to search for a computing entity, send a wireless connection request to the searched computing entity, and after receiving the agreed access information returned by the computing entity, establish a wireless with the computing entity. connection.
进一步地, 所述远程计算连接模块包括远程客户端子模块、 传输适配 任务子模块; 其中,  Further, the remote computing connection module includes a remote client terminal module and a transmission adaptation task sub-module;
远程客户端子模块, 用于远程登录到所述计算实体;  a remote client terminal module, configured to remotely log in to the computing entity;
传输适配任务子模块, 用于接收远程客户端子模块发送的数据包, 与 无线任务模块进行通信, 完成与计算实体远程计算连接的建立。  The transmission adaptation task sub-module is configured to receive a data packet sent by the remote client terminal module, communicate with the wireless task module, and complete establishment of a remote computing connection with the computing entity.
进一步地, 所述 CPU, 用于接收到用户输入的远程计算选择信息后, 启用远程计算引擎模式, 停止移动终端的协处理器软件任务、 切断 CPU和 协处理器的数据通信, 并将所述协处理器置于休眠状态。 进一步地, 所述移动终端还包括: 虚拟协处理器任务模块, 具体用于 接收所述 CPU发送的待计算的数据块和处理命令, 緩冲处理后发送给远程 计算引擎任务模块; Further, the CPU is configured to: after receiving the remote computing selection information input by the user, enable the remote computing engine mode, stop the coprocessor software task of the mobile terminal, cut off the data communication between the CPU and the coprocessor, and The coprocessor is put to sleep. Further, the mobile terminal further includes: a virtual coprocessor task module, configured to receive a data block and a processing command to be calculated sent by the CPU, and send the buffer to the remote computing engine task module;
远程计算引擎任务模块, 用于将虚拟协处理器任务模块发来的处理命 令, 转换成对计算引擎分布式程序接口的远程调用命令, 并将远程调用命 令与虚拟协处理器任务模块发来的数据块进行绑定并打包, 将数据包发送 至传输适配任务子模块;  The remote computing engine task module is configured to convert the processing command sent by the virtual coprocessor task module into a remote calling command to the computing engine distributed program interface, and send the remote calling command and the virtual coprocessor task module. The data block is bound and packaged, and the data packet is sent to the transmission adaptation task sub-module;
传输适配任务子模块, 对接收到的数据包进行无线协议数据格式转化 后, 发送至移动终端的无线任务模块, 由移动终端的无线任务模块发送至 计算实体的无线任务模块。  After the transmission adaptation task sub-module converts the received data packet into a wireless protocol data format, the wireless task module sent to the mobile terminal is sent by the wireless task module of the mobile terminal to the wireless task module of the computing entity.
进一步地, 所述 CPU, 还用于检测到远程计算连接模块的远程计算连 接断开时, 将远程计算引擎模式切换为本地计算引擎模式, 关闭远程计算 连接模块、 虚拟协处理器任务模块、 及远程计算引擎任务模块, 并唤醒协 处理器、 启动协处理器软件任务。  Further, the CPU is further configured to: when detecting that the remote computing connection of the remote computing connection module is disconnected, switch the remote computing engine mode to the local computing engine mode, close the remote computing connection module, the virtual coprocessor task module, and Remotely compute the engine task module and wake up the coprocessor and start the coprocessor software task.
本发明所提供的移动终端及其计算方法, 将移动终端与已建立无线连 接的计算实体建立远程计算连接, 通过将计算实体基于分布式实现的计算 引擎作为组件共享给所述移动终端, 为移动终端提供计算引擎; 将移动终 端所要计算的数据, 通过计算实体所提供计算引擎的分布式程序接口, 远 程调用计算引擎对待计算的数据进行计算, 并接收计算实体返回的计算结 果, 将计算结果进行呈现。 如此, 不仅能使移动终端获得较高的计算能力, 进而提高移动终端的性能; 而且功耗较小, 不需要用户花费额外的费用, 节约成本, 且不需要额外客户端软件的安装, 提高了易用性。 附图说明  The mobile terminal provided by the present invention and the calculation method thereof, establish a remote computing connection between the mobile terminal and the computing entity that has established the wireless connection, and share the computing entity as a component to the mobile terminal by using a computing entity based on the distributed computing The terminal provides a calculation engine; the data to be calculated by the mobile terminal is calculated by the computing program's distributed program interface provided by the computing entity, and the computing engine is remotely called to calculate the calculated data, and the calculation result returned by the computing entity is received, and the calculation result is performed. Presented. In this way, not only can the mobile terminal obtain higher computing power, thereby improving the performance of the mobile terminal; and the power consumption is small, the user does not need to spend extra cost, saves cost, and does not need to install additional client software, and improves. Ease of use. DRAWINGS
图 1为本发明的移动终端计算方法的流程示意图;  1 is a schematic flow chart of a computing method of a mobile terminal according to the present invention;
图 2为本发明的移动终端计算方法一具体实施例处理流程示意图; 图 3为本发明移动终端的组成结构示意图。 具体实施方式 2 is a schematic diagram of a processing flow of a specific embodiment of a mobile terminal computing method according to the present invention; FIG. 3 is a schematic structural diagram of a mobile terminal of the present invention. detailed description
本发明的基本思想为: 将移动终端与计算实体建立远程计算连接; 移 动终端将处理待计算的数据, 通过计算实体所提供计算引擎的分布式程序 接口, 远程调用计算引擎对待计算的数据进行计算, 并接收计算实体返回 的计算结果。  The basic idea of the present invention is: establishing a remote computing connection between the mobile terminal and the computing entity; the mobile terminal will process the data to be calculated, and calculate the data to be calculated by the remote computing engine through the distributed program interface of the computing engine provided by the computing entity. And receive the result of the calculation returned by the computing entity.
为使本发明的目的、 技术方案和优点更加清楚明白, 以下举实施例并 参照附图, 对本发明进一步详细说明。  The present invention will be further described in detail below with reference to the accompanying drawings.
图 1示出了本发明移动终端计算方法的流程, 如图 1所示, 所述方法 包括下述步骤:  FIG. 1 shows a flow of a computing method of a mobile terminal according to the present invention. As shown in FIG. 1, the method includes the following steps:
步骤 101 , 移动终端建立与计算实体之间的远程计算连接;  Step 101: The mobile terminal establishes a remote computing connection with the computing entity.
具体地, 移动终端通过启动自身的远程计算连接模块的远程客户端子 模块, 远程登录到与该移动终端已建立无线连接的计算实体; 然后启动自 身的远程计算连接模块的传输适配任务子模块, 此时, 移动终端与计算实 体间的远程计算连接建立完成。  Specifically, the mobile terminal remotely logs into a computing entity that has established a wireless connection with the mobile terminal by starting a remote client terminal module of its own remote computing connection module; and then starts a transmission adaptation task sub-module of its own remote computing connection module, At this point, the remote computing connection between the mobile terminal and the computing entity is established.
步骤 102, 移动终端通过计算实体所提供的计算引擎的分布式程序接 口, 远程调用计算实体的计算引擎, 对待计算的数据进行计算, 并接收计 算实体返回的计算结果;  Step 102: The mobile terminal remotely invokes a computing engine of the computing entity by calculating a distributed program interface of the computing engine provided by the entity, calculates the data to be calculated, and receives the calculation result returned by the computing entity;
具体地, 移动终端将待处理的命令转换成对计算引擎分布式程序接口 的远程调用命令, 与待处理数据块绑定后打包, 通过自身的无线任务模块 发送至计算实体, 利用计算实体共享的计算引擎进行计算, 并接收计算实 体返回的计算结果以进行展示。  Specifically, the mobile terminal converts the to-be-processed command into a remote call command to the computing engine distributed program interface, binds to the data block to be processed, and then packages it to be sent to the computing entity through its own wireless task module, and is shared by the computing entity. The calculation engine performs the calculation and receives the calculation result returned by the calculation entity for presentation.
图 2示出了本发明的移动终端计算方法一具体实施例的处理流程, 如 图 2所示, 所述实施例包括下述步骤:  FIG. 2 shows a process flow of a specific embodiment of a mobile terminal computing method according to the present invention. As shown in FIG. 2, the embodiment includes the following steps:
步骤 1 , 移动终端接收用户输入的开启近距无线连接请求, 开启自身的 近距无线连接; Step 1: The mobile terminal receives a request for opening a close wireless connection input by the user, and starts its own Short-range wireless connection;
其中, 移动终端的近距无线连接可以为蓝牙、 WIFI、 无线 USB等多种 方式。  The short-range wireless connection of the mobile terminal can be Bluetooth, WIFI, wireless USB, and the like.
步骤 2, 计算实体开启自身的近距无线连接;  Step 2: The computing entity turns on its own short-range wireless connection;
本步骤中, 计算实体可以为计算机等计算功能强大的设备; 具体地, 当计算实体接收到用户输入的开启近距无线连接请求时, 则开启自身的近 距无线连接。  In this step, the computing entity may calculate a powerful device for a computer or the like; specifically, when the computing entity receives the open short-range wireless connection request input by the user, it opens its own short-range wireless connection.
另外, 应当理解, 本步骤中计算实体是指: 位于移动终端近距无线连 接有效范围内的计算实体, 步骤 1和步骤 2在实现上是不区分先后的。  In addition, it should be understood that the computing entity in this step refers to: a computing entity located in the effective range of the short-range wireless connection of the mobile terminal, and steps 1 and 2 are indistinguishable in implementation.
步骤 3~4, 移动终端通过近距无线通信方式搜索临近区域的计算实体, 当搜索到计算实体时, 向所述计算实体发送无线连接请求;  Steps 3 to 4, the mobile terminal searches for a computing entity in the neighboring area by using a short-range wireless communication manner, and sends a wireless connection request to the computing entity when searching for the computing entity;
具体地, 移动终端在自身的近距无线连接的有效范围内搜索计算实体; 当搜索到同样开启近距无线连接的计算实体时, 可以向该计算实体发送无 线连接请求。  Specifically, the mobile terminal searches for a computing entity within the effective range of its own close wireless connection; when searching for a computing entity that also turns on the close wireless connection, a wireless connection request can be sent to the computing entity.
步骤 5~6,计算实体对接收到的无线连接请求进行验证,当验证通过时, 返回同意接入信息给所述移动终端, 此时移动终端与计算实体之间的无线 连接建立完成;  Steps 5-6: The computing entity verifies the received wireless connection request, and when the verification passes, returns the consent access information to the mobile terminal, and the wireless connection between the mobile terminal and the computing entity is completed.
具体地, 本步骤中, 所述计算实体对无线连接请求的验证还包括: 根 据自身的运行情况, 确定是否同意移动终端的接入请求, 当不同意时, 返 回不同意接入信息给所述移动终端;其中, 当计算实体的 CPU使用率较高、 运行进程数较多等情况时, 计算实体则会返回不同意接入信息给所述移动 终端; 反之, 当计算实体的 CPU使用状态良好、 运行进程数不太多的情况 下, 计算实体返回同意接入信息给所述移动终端。  Specifically, in this step, the verification of the wireless connection request by the computing entity further includes: determining, according to the operation status of the mobile terminal, whether to agree to the access request of the mobile terminal, and when not agreeing, returning the disagreement access information to the a mobile terminal; wherein, when the computing entity has a high CPU usage rate and a large number of running processes, the computing entity returns a disagreement with the access information to the mobile terminal; conversely, when the computing entity uses the CPU in a good state If the number of running processes is not too large, the computing entity returns the consent access information to the mobile terminal.
步骤 7, 移动终端启动自身的远程计算连接模块, 计算实体启动自身的 终端服务器模块, 移动终端和计算实体之间的远程计算连接建立; 具体地, 本步骤中, 移动终端首先启动远程计算连接模块的远程客户 端子模块, 所述远程客户端子模块可以釆用虚拟化技术实现, 例如微软的 远程应用 ( remote App )技术, 如此, 在移动终端远程登录计算实体时, 不 需要在移动终端上显示计算实体的桌面, 由此, 免去传输计算实体桌面图 像到移动终端所需要的大量显示数据, 实现更为简便; 然后启动远程计算 连接模块的传输适配任务子模块, 传输适配任务子模块接收远程客户端子 模块发来的数据, 建立与移动终端的无线任务模块的连接, 以完成与计算 实体的通信任务。 Step 7, the mobile terminal starts its own remote computing connection module, and the computing entity starts its own terminal server module, and the remote computing connection between the mobile terminal and the computing entity is established; Specifically, in this step, the mobile terminal first starts a remote client terminal module of the remote computing connection module, and the remote client terminal module can be implemented by using a virtualization technology, such as Microsoft's remote application technology, so that When the terminal remotely logs in to the computing entity, the desktop of the computing entity does not need to be displayed on the mobile terminal, thereby eliminating the need to transfer a large amount of display data required for computing the desktop image of the entity to the mobile terminal, thereby facilitating the implementation; and then starting the remote computing connection module. The transmission adaptation task sub-module receives the data sent by the remote client terminal module and establishes a connection with the wireless task module of the mobile terminal to complete the communication task with the computing entity.
计算实体启动终端服务器模块, 进行分布式组件服务等相关环境的设 置, 将基于分布式实现的计算引擎作为一个组件共享给移动终端, 以作为 移动终端的计算引擎; 具体地, 添加所述移动终端到分布式组件服务中, 同时在分布式组件服务中增加远程计算引擎, 此时, 移动终端的应用程序 列表中显示有所述共享的计算引擎, 相应的, 所显示的计算引擎可供移动 终端共享使用。  The computing entity starts the terminal server module, performs setting of a related environment such as a distributed component service, and shares the computing engine based on the distributed implementation as a component to the mobile terminal as a computing engine of the mobile terminal; specifically, adding the mobile terminal In the distributed component service, a remote computing engine is added to the distributed component service. At this time, the shared computing engine is displayed in the application list of the mobile terminal, and correspondingly, the displayed computing engine is available to the mobile terminal. Shared use.
步骤 8, 移动终端接收到用户输入的远程计算选择信息后, 启用远程计 算引擎模式;  Step 8. After receiving the remote computing selection information input by the user, the mobile terminal enables the remote computing engine mode;
具体地, 本步骤中, 移动终端的应用计算模块为用户提供计算引擎模 式选择功能, 其包括本地计算引擎模式和远程计算引擎模式; 当移动终端 接收到远程计算选择信息时, 移动终端切换至远程计算引擎模式, 当进一 步接收到用户根据移动终端提供的应用程序菜单输入的远程计算引擎选择 信息时, 停止协处理器软件任务、 切断自身内部协处理器与 CPU之间的数 据通信; 同时, 为了节省移动终端的功耗, 可以选择将所述协处理器置于 休眠状态。  Specifically, in this step, the application computing module of the mobile terminal provides the user with a calculation engine mode selection function, which includes a local computing engine mode and a remote computing engine mode; when the mobile terminal receives the remote computing selection information, the mobile terminal switches to the remote terminal. The calculation engine mode, when further receiving the remote calculation engine selection information input by the user according to the application menu provided by the mobile terminal, stopping the coprocessor software task, cutting off the data communication between the internal coprocessor and the CPU; meanwhile, To save power consumption of the mobile terminal, the coprocessor can be placed in a sleep state.
步骤 9~10, 移动终端启动虚拟协处理器任务模块,接收 CPU发来的待 计算数据块和待处理命令, 并启动远程计算引擎任务模块, 将数据块和处 理命令緩冲后发送给远程计算引擎任务模块, 由远程计算引擎任务模块将 待计算的数据通过远程计算引擎的分布式程序接口, 调用该计算引擎进行 计算; Step 9~10, the mobile terminal starts the virtual coprocessor task module, receives the to-be-calculated data block and the pending command sent by the CPU, and starts the remote computing engine task module, and the data block and the The command buffer is sent to the remote computing engine task module, and the remote computing engine task module passes the data to be calculated through the distributed program interface of the remote computing engine, and calls the computing engine to perform calculation;
具体地, 移动终端启动虚拟协处理器任务模块后, 虚拟协处理器任务 模块可以连续接收 CPU发送来的待计算数据块和处理命令, 进行緩冲处理 等事务后, 发送给远程计算引擎任务模块; 同时移动终端启动远程计算引 擎任务模块, 远程计算引擎任务模块接收虚拟协处理任务模块发来的数据 块和处理命令, 并将命令转换成远程调用命令; 具体地, 远程计算引擎任 务模块将虚拟协处理器任务模块发来的处理命令, 转换成对计算引擎分布 式程序接口的远程调用命令, 并将远程调用命令与虚拟协处理器任务模块 发来的数据块进行绑定并打包, 将数据包发送至传输适配任务子模块; 传 输适配任务子模块对接收到的数据包进行无线协议数据格式转化后, 发送 至无线任务模块, 由无线任务模块将所述数据发送至与计算实体。  Specifically, after the mobile terminal starts the virtual coprocessor task module, the virtual coprocessor task module can continuously receive the data block to be calculated and the processing command sent by the CPU, perform buffer processing, and the like, and send the message to the remote computing engine task module. At the same time, the mobile terminal starts the remote computing engine task module, and the remote computing engine task module receives the data block and the processing command sent by the virtual co-processing task module, and converts the command into a remote calling command; specifically, the remote computing engine task module will be virtualized The processing command sent by the coprocessor task module is converted into a remote calling command to the computing engine distributed program interface, and the remote calling command is bound and packaged with the data block sent by the virtual coprocessor task module, and the data is packed. The packet is sent to the transmission adaptation task sub-module; the transmission adaptation task sub-module converts the received data packet into a wireless protocol data format, and then sends the data to the wireless task module, and the wireless task module sends the data to the computing entity.
步骤 11~12,计算实体自身的无线任务模块将接收到的数据发送至计算 引擎; 计算引擎进行本地计算, 并返回计算结果给移动终端;  Step 11~12, the computing entity's own wireless task module sends the received data to the computing engine; the computing engine performs local computing, and returns the calculation result to the mobile terminal;
具体地, 本步骤中, 计算实体的无线任务模块对接收到的数据进行格 式转换, 得到包含待计算的数据块和待处理命令的数据包, 并发送至计算 引擎; 计算引擎从数据包中提取处理命令和数据块, 调用本地 CPU、 显卡 等硬件资源进行计算, 并返回计算结果给移动终端。  Specifically, in this step, the wireless task module of the computing entity performs format conversion on the received data to obtain a data packet including the data block to be calculated and the to-be-processed command, and sends the data packet to the calculation engine; the calculation engine extracts the data packet. Processing commands and data blocks, calling local CPU, graphics card and other hardware resources for calculation, and returning calculation results to the mobile terminal.
步骤 13 , 移动终端接收并呈现计算结果;  Step 13: The mobile terminal receives and presents the calculation result.
具体地, 移动终端的无线任务模块将接收到的数据发送至传输适配任 务子模块, 传输适配任务子模块将无线协议数据格式的数据转化为虚拟协 处理器任务模块可处理的数据格式后, 将转化得到的数据发送至虚拟协处 理器任务模块, 由虚拟协处理器任务模块对接收到的数据进行緩冲加速等 处理后, 将最终得到的数据提供给移动终端的应用软件, 通过应用软件调 用移动终端本地的液晶显示屏 LCD、 扬声器、 耳机等硬件呈现效果。 Specifically, the wireless task module of the mobile terminal sends the received data to the transmission adaptation task sub-module, and the transmission adaptation task sub-module converts the data of the wireless protocol data format into a data format that can be processed by the virtual coprocessor task module. And sending the converted data to the virtual coprocessor task module, and the virtual coprocessor task module buffers the received data, and then provides the final data to the application software of the mobile terminal, through the application. Software tuning Use the mobile terminal's local LCD LCD, speakers, headphones and other hardware to present the effect.
另外, 当移动终端的 CPU检测到步骤 7中建立的移动终端和计算实体 之间的远程计算连接断开时, 会将远程计算引擎模式切换为本地计算引擎 模式, 关闭虚拟协处理器任务模块、 远程客户端任务子模块、 远程计算引 擎任务模块及传输适配任务子模块等, 并启动协处理器软件任务, 唤醒协 处理器; 其中, 远程计算连接断开可以是接收到用户输入的终止远程计算 引擎模式的消息、 或是检测到移动终端不在所述计算实体的服务范围内、 或是计算实体终止为移动终端提供服务等情况造成的。  In addition, when the CPU of the mobile terminal detects that the remote computing connection between the mobile terminal and the computing entity established in step 7 is disconnected, the remote computing engine mode is switched to the local computing engine mode, and the virtual coprocessor task module is closed. a remote client task sub-module, a remote computing engine task module, and a transmission adaptation task sub-module, etc., and start a coprocessor software task to wake up the coprocessor; wherein the remote computing connection disconnection may be a termination remote receiving the user input The message of the engine mode is calculated, or it is detected that the mobile terminal is not in the service scope of the computing entity, or the computing entity terminates providing services to the mobile terminal.
图 3示出了本发明移动终端的组成结构, 如图 3所示, 所述移动终端 包括: 无线任务模块 31、 CPU 32及协处理器任务模块 33、 远程计算连接 模块 34、虚拟协处理器任务模块 35、以及远程计算引擎任务模块 36;其中, 无线任务模块 31 , 用于接收所述计算实体返回的计算结果;  3 shows the composition of the mobile terminal of the present invention. As shown in FIG. 3, the mobile terminal includes: a wireless task module 31, a CPU 32 and a coprocessor task module 33, a remote computing connection module 34, and a virtual coprocessor. a task module 35, and a remote computing engine task module 36; wherein the wireless task module 31 is configured to receive a calculation result returned by the computing entity;
远程计算连接模块 34, 用于与计算实体建立远程计算连接;  a remote computing connection module 34, configured to establish a remote computing connection with the computing entity;
虚拟协处理器任务模块 35 , 用于接收所述 CPU 32发来的待计算数据, 进行緩冲处理后发送给远程计算引擎任务模块 36;  The virtual coprocessor task module 35 is configured to receive the data to be calculated sent by the CPU 32, perform buffer processing, and send the data to the remote computing engine task module 36;
远程计算引擎任务模块 36, 用于通过计算实体所提供计算引擎的分布 式程序接口, 远程调用所述计算引擎对待计算的数据进行计算。  The remote computing engine task module 36 is configured to remotely invoke the computing engine to calculate the data to be calculated by using a distributed program interface of the computing engine provided by the computing entity.
进一步地, 所述无线任务模块 31 , 具体用于搜索计算实体, 向搜索到 的计算实体发送无线连接请求, 当接收到所述计算实体返回的同意接入信 息后, 建立与所述计算实体的无线连接。  Further, the wireless task module 31 is specifically configured to search for a computing entity, and send a wireless connection request to the searched computing entity, and after receiving the agreed access information returned by the computing entity, establishing a computing entity with the computing entity Wireless connections.
进一步地, 所述远程计算连接模块 34, 包括远程客户端子模块 341、 传输适配任务子模块 342; 其中,  Further, the remote computing connection module 34 includes a remote client terminal module 341 and a transmission adaptation task sub-module 342;
远程客户端子模块 341 , 用于远程登录到所述计算实体;  a remote client terminal module 341, configured to remotely log in to the computing entity;
传输适配任务子模块 342,用于接收远程客户端子模块 341发送的数据 包, 与无线任务模块 31进行通信, 完成与计算实体远程计算连接的建立。 其中, 计算实体启动自身的终端服务器模块, 进行分布式组件服务等 相关环境的设置, 将基于分布式实现的计算引擎作为一个组件共享给移动 终端, 并作为移动终端的计算引擎; 具体地, 添加所述移动终端到分布式 组件服务中, 同时在分布式组件服务中增加远程计算引擎, 此时, 移动终 端的应用程序列表中显示有所述共享的远程计算引擎, 相应的, 所显示的 计算引擎可供移动终端共享使用。 The transmission adaptation task sub-module 342 is configured to receive the data packet sent by the remote client terminal module 341, communicate with the wireless task module 31, and complete establishment of a remote computing connection with the computing entity. The computing entity starts its own terminal server module, performs related environment settings such as distributed component services, and shares the computing engine based on the distributed implementation as a component to the mobile terminal, and serves as a computing engine of the mobile terminal; specifically, adding The mobile terminal is added to the distributed component service, and the remote computing engine is added to the distributed component service. At this time, the shared remote computing engine is displayed in the application list of the mobile terminal, and correspondingly, the displayed calculation is performed. The engine can be shared by mobile terminals.
进一步地,所述 CPU 32,用于接收到用户输入的远程计算选择信息后, 启用远程计算引擎模式, 停止移动终端的协处理器任务模块 33的协处理器 软件任务、 切断移动终端的协处理器任务模块 33的协处理器和 CPU 32的 数据通信, 将所述协处理器置于休眠状态。  Further, the CPU 32 is configured to: after receiving the remote computing selection information input by the user, enable the remote computing engine mode, stop the coprocessor software task of the coprocessor task module 33 of the mobile terminal, and cut off the coprocessing of the mobile terminal. The coprocessor of the task module 33 and the data communication of the CPU 32 put the coprocessor into a sleep state.
进一步地, 所述虚拟协处理器任务模块 35 , 具体用于接收 CPU 32发 送的待计算的数据块和处理命令, 进行緩冲处理后, 并发送给远程计算引 擎任务模块 36;  Further, the virtual coprocessor task module 35 is specifically configured to receive the data block to be calculated and the processing command sent by the CPU 32, perform buffer processing, and send the data to the remote computing engine task module 36;
远程计算引擎任务模块 36,用于将虚拟协处理器任务模块 35发来的处 理命令, 转换成对计算引擎分布式程序接口的远程调用命令, 并将远程调 用命令与虚拟协处理器任务模块 35发来的数据块进行绑定并打包, 将数据 包发送至传输适配任务子模块 342。  The remote computing engine task module 36 is configured to convert the processing command sent by the virtual coprocessor task module 35 into a remote calling command to the computing engine distributed program interface, and the remote calling command and the virtual coprocessor task module 35 The sent data block is bound and packaged, and the data packet is sent to the transport adaptation task sub-module 342.
传输适配任务子模块 342对接收到的数据包进行无线协议数据格式转 化后, 发送至移动终端的无线任务模块 31 , 由移动终端的无线任务模块 31 发送至计算实体的无线任务模块。  After the transmission adaptation task sub-module 342 converts the received data packet into a wireless protocol data format, the wireless task module 31 sent to the mobile terminal is sent by the wireless task module 31 of the mobile terminal to the wireless task module of the computing entity.
其中, 计算实体本地的计算引擎利用 CPU等硬件计算完毕后, 通过计 算实体的无线任务模块将计算结果返回给所述移动终端, 所述移动终端的 无线任务模块 31接收到计算结果后, 将接收到的数据发送至传输适配任务 子模块 342,传输适配任务子模块 342将无线协议数据格式的数据转化为虚 拟协处理器任务模块 35可处理的数据格式后, 将转化得到的数据发送至虚 拟协处理器任务模块 35 ,由虚拟协处理器任务模块 35对接收到的数据进行 緩冲加速等处理后, 将最终得到的数据提供给移动终端的应用软件, 通过 应用软件调用移动终端本地的液晶显示屏 LCD、 扬声器、 耳机等硬件呈现 效果。 After the calculation engine of the computing entity is calculated by using hardware such as the CPU, the calculation result is returned to the mobile terminal by the wireless task module of the computing entity, and the wireless task module 31 of the mobile terminal receives the calculation result, and then receives the calculation result. The received data is sent to the transmission adaptation task sub-module 342, and the transmission adaptation task sub-module 342 converts the data in the wireless protocol data format into a data format that the virtual co-processor task module 35 can process, and then sends the converted data to the data format. Virtual The pseudo-coprocessor task module 35 is configured to perform buffer acceleration processing on the received data by the virtual coprocessor task module 35, and then provide the final data to the application software of the mobile terminal, and call the mobile terminal locally through the application software. LCD LCD, speakers, headphones and other hardware rendering effects.
进一步地, 所述 CPU 32, 还用于检测到远程计算连接模块 34的远程 计算连接断开时, 将远程计算引擎模式切换为本地计算引擎模式, 关闭远 程计算连接模块 34、 虚拟协处理器任务模块 35、 及远程计算引擎任务模块 36, 并启动协处理器任务模块 33 , 具体为唤醒协处理器, 并启动协处理器 软件任务。  Further, the CPU 32 is further configured to detect that the remote computing engine mode is switched to the local computing engine mode when the remote computing connection connection of the remote computing connection module 34 is disconnected, and the remote computing connection module 34 and the virtual coprocessor task are closed. The module 35, and the remote computing engine task module 36, and the coprocessor task module 33 are started, specifically to wake up the coprocessor, and start the coprocessor software task.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。  The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.

Claims

权利要求书 Claim
1、 一种移动终端计算方法, 其特征在于, 所述方法包括:  A method for calculating a mobile terminal, the method comprising:
移动终端与计算实体建立远程计算连接;  The mobile terminal establishes a remote computing connection with the computing entity;
移动终端通过计算实体所提供的计算引擎的分布式程序接口, 远程调 用所述计算引擎对待计算的数据进行计算, 并接收计算实体返回的计算结 果。  The mobile terminal remotely invokes the calculation engine to calculate the calculated data through a distributed program interface of the calculation engine provided by the computing entity, and receives the calculation result returned by the computing entity.
2、 根据权利要求 1所述的方法, 其特征在于, 在建立远程计算连接之 前, 所述方法还包括:  2. The method of claim 1, wherein the method further comprises: before establishing the remote computing connection, the method further comprising:
移动终端利用近距无线通信方式搜索计算实体;  The mobile terminal searches for a computing entity by using a short-range wireless communication method;
移动终端向搜索到的计算实体发送无线连接请求, 当接收到所述计算 实体返回的同意接入信息后, 建立与所述计算实体的无线连接。  The mobile terminal sends a wireless connection request to the searched computing entity, and upon receiving the agreed access information returned by the computing entity, establishes a wireless connection with the computing entity.
3、 根据权利要求 1所述的方法, 其特征在于, 所述移动终端与计算实 体建立远程计算连接为:  3. The method according to claim 1, wherein the mobile terminal establishes a remote computing connection with the computing entity as:
移动终端启动自身的远程客户端子模块, 远程登录到所述计算实体; 启动自身的传输适配任务子模块, 完成与计算实体远程计算连接的建 立。  The mobile terminal starts its own remote client terminal module, remotely logs in to the computing entity; starts its own transmission adaptation task sub-module, and completes the establishment of a remote computing connection with the computing entity.
4、 根据权利要求 1至 3任一项所述的方法, 其特征在于, 所述移动终 端与计算实体建立远程计算连接之后, 所述方法还包括:  The method according to any one of claims 1 to 3, wherein after the mobile terminal establishes a remote computing connection with the computing entity, the method further includes:
移动终端接收到用户输入的远程计算选择信息后, 启用远程计算引擎 模式;  After the mobile terminal receives the remote computing selection information input by the user, the remote computing engine mode is enabled;
停止协处理器软件任务、切断移动终端的 CPU和协处理器的数据通信, 并将所述协处理器置于休眠状态。  The coprocessor software task is stopped, the data communication of the CPU of the mobile terminal and the coprocessor is cut off, and the coprocessor is put to sleep.
5、 根据权利要求 4所述的方法, 其特征在于, 所述移动终端通过计算 实体所提供的计算引擎的分布式程序接口, 远程调用所述计算引擎对待计 算的数据进行计算为: 移动终端启动自身的虚拟协处理器任务模块, 接收自身 CPU发送的待 计算的数据块和处理命令, 緩冲处理后发送给自身的远程计算引擎任务模 块; The method according to claim 4, wherein the mobile terminal remotely invokes the calculation engine to calculate the data by using a distributed program interface of the calculation engine provided by the computing entity to: The mobile terminal starts its own virtual coprocessor task module, receives the data block to be calculated and the processing command sent by the CPU, and sends the buffer to the remote computing engine task module.
移动终端启动所述远程计算引擎任务模块, 将所述虚拟协处理器任务 模块发来的处理命令, 转换成对计算引擎分布式程序接口的远程调用命令, 并将远程调用命令与所述虚拟协处理器任务模块发来的数据块进行绑定并 打包, 将数据包发送至自身的传输适配任务子模块;  The mobile terminal starts the remote computing engine task module, converts the processing command sent by the virtual coprocessor task module into a remote calling command to the computing engine distributed program interface, and the remote calling command and the virtual association The data block sent by the processor task module is bound and packaged, and the data packet is sent to its own transmission adaptation task sub-module;
所述传输适配任务子模块对接收到的数据包进行无线协议数据格式转 化后, 发送至移动终端的无线任务模块, 由移动终端的无线任务模块发送 至计算实体的无线任务模块。  After the transmission adaptation task sub-module converts the received data packet into a wireless protocol data format, the wireless task module sent to the mobile terminal is sent by the wireless task module of the mobile terminal to the wireless task module of the computing entity.
6、 根据权利要求 5所述的方法, 其特征在于, 所述方法还包括: 移动终端检测到远程计算连接断开时, 将远程计算引擎模式切换为本 地计算引擎模式, 关闭自身的虚拟协处理器任务模块、 远程客户端子模块、 远程计算引擎任务模块、 及传输适配任务子模块, 并唤醒移动终端的协处 理器, 启动协处理器软件任务。  The method according to claim 5, wherein the method further comprises: when the mobile terminal detects that the remote computing connection is disconnected, switching the remote computing engine mode to the local computing engine mode, and shutting down its own virtual co-processing The task module, the remote client terminal module, the remote computing engine task module, and the transmission adaptation task sub-module, and wake up the coprocessor of the mobile terminal to start the coprocessor software task.
7、 一种移动终端, 包括无线任务模块、 CPU及协处理器任务模块, 其 特征在于, 所述移动终端还包括: 远程计算连接模块、 以及远程计算引擎 任务模块; 其中,  A mobile terminal, comprising a wireless task module, a CPU, and a coprocessor task module, wherein the mobile terminal further comprises: a remote computing connection module, and a remote computing engine task module;
远程计算连接模块, 用于与计算实体建立远程计算连接;  a remote computing connection module for establishing a remote computing connection with a computing entity;
远程计算引擎任务模块, 用于通过计算实体所提供的计算引擎的分布 式程序接口, 远程调用所述计算引擎对待计算的数据进行计算;  a remote computing engine task module, configured to remotely invoke the computing engine to calculate the data to be calculated by using a distributed program interface of the computing engine provided by the computing entity;
无线任务模块, 用于接收所述计算实体返回的计算结果。  a wireless task module, configured to receive a calculation result returned by the computing entity.
8、根据权利要求 7所述的移动终端,其特征在于, 所述无线任务模块, 具体用于搜索计算实体, 向搜索到的计算实体发送无线连接请求, 当接收 到所述计算实体返回的同意接入信息后, 建立与所述计算实体的无线连接。 The mobile terminal according to claim 7, wherein the wireless task module is specifically configured to search for a computing entity, and send a wireless connection request to the searched computing entity, when receiving the consent returned by the computing entity After accessing the information, a wireless connection is established with the computing entity.
9、 根据权利要求 7所述的移动终端, 其特征在于, 所述远程计算连接 模块包括远程客户端子模块、 传输适配任务子模块; 其中, The mobile terminal according to claim 7, wherein the remote computing connection module comprises a remote client terminal module and a transmission adaptation task sub-module;
远程客户端子模块, 用于远程登录到所述计算实体;  a remote client terminal module, configured to remotely log in to the computing entity;
传输适配任务子模块, 用于接收远程客户端子模块发送的数据包, 与 无线任务模块进行通信, 完成与计算实体远程计算连接的建立。  The transmission adaptation task sub-module is configured to receive a data packet sent by the remote client terminal module, communicate with the wireless task module, and complete establishment of a remote computing connection with the computing entity.
10、 根据权利要求 7至 9任一项所述的移动终端, 其特征在于, 所述 CPU, 用于接收到用户输入的远程计算选择信息后, 启用远程计算引擎模 式,停止移动终端的协处理器软件任务、切断 CPU和协处理器的数据通信, 并将所述协处理器置于休眠状态。  The mobile terminal according to any one of claims 7 to 9, wherein the CPU is configured to: after receiving the remote calculation selection information input by the user, enable the remote calculation engine mode, and stop the co-processing of the mobile terminal. Software tasks, shutting down data communication between the CPU and the coprocessor, and putting the coprocessor into a sleep state.
11、 根据权利要求 10所述的移动终端, 其特征在于, 所述移动终端还 包括: 虚拟协处理器任务模块, 用于接收所述 CPU发送的待计算的数据块 和处理命令, 緩冲处理后发送给远程计算引擎任务模块;  The mobile terminal according to claim 10, wherein the mobile terminal further comprises: a virtual coprocessor task module, configured to receive a data block and a processing command to be calculated sent by the CPU, and buffer processing After being sent to the remote computing engine task module;
远程计算引擎任务模块, 具体用于将虚拟协处理器任务模块发来的处 理命令, 转换成对计算引擎分布式程序接口的远程调用命令, 并将远程调 用命令与虚拟协处理器任务模块发来的数据块进行绑定并打包, 将数据包 发送至传输适配任务子模块;  The remote computing engine task module is specifically configured to convert the processing command sent by the virtual coprocessor task module into a remote calling command to the computing engine distributed program interface, and send the remote calling command and the virtual coprocessor task module. The data block is bound and packaged, and the data packet is sent to the transmission adaptation task sub-module;
传输适配任务子模块, 对接收到的数据包进行无线协议数据格式转化 后, 发送至移动终端的无线任务模块, 由移动终端的无线任务模块发送至 计算实体的无线任务模块。  After the transmission adaptation task sub-module converts the received data packet into a wireless protocol data format, the wireless task module sent to the mobile terminal is sent by the wireless task module of the mobile terminal to the wireless task module of the computing entity.
12、 根据权利要求 11所述的移动终端, 其特征在于, 所述 CPU, 还用 于检测到远程计算连接模块的远程计算连接断开时, 将远程计算引擎模式 切换为本地计算引擎模式, 关闭远程计算连接模块、 虚拟协处理器任务模 块、 及远程计算引擎任务模块, 并唤醒协处理器、 启动协处理器软件任务。  The mobile terminal according to claim 11, wherein the CPU is further configured to: when detecting that the remote computing connection of the remote computing connection module is disconnected, switch the remote computing engine mode to the local computing engine mode, and close The remote computing connection module, the virtual coprocessor task module, and the remote computing engine task module, and wake up the coprocessor, start the coprocessor software task.
PCT/CN2011/072844 2010-12-15 2011-04-15 Mobile terminal and calculation method thereof WO2012079327A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2010105910005A CN102035941A (en) 2010-12-15 2010-12-15 Mobile terminal and computing method thereof
CN201010591000.5 2010-12-15

Publications (1)

Publication Number Publication Date
WO2012079327A1 true WO2012079327A1 (en) 2012-06-21

Family

ID=43888238

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/072844 WO2012079327A1 (en) 2010-12-15 2011-04-15 Mobile terminal and calculation method thereof

Country Status (2)

Country Link
CN (1) CN102035941A (en)
WO (1) WO2012079327A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102098512A (en) * 2010-12-15 2011-06-15 中兴通讯股份有限公司 Mobile terminal and video display realizing method thereof
CN102096700A (en) * 2010-12-15 2011-06-15 中兴通讯股份有限公司 Mobile terminal and implementation method of browser of same
CN104079617A (en) * 2013-03-29 2014-10-01 联想(北京)有限公司 Terminal device and method for same
CN109688128A (en) * 2018-12-21 2019-04-26 成都安世亚太科技有限公司 Real-time distributed objective system software frame based on reliable UDP agreement
CN111880677A (en) * 2020-06-22 2020-11-03 深圳市鸿合创新信息技术有限责任公司 Touch computing method, device and system, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101082889A (en) * 2007-06-29 2007-12-05 松讯达中科电子(深圳)有限公司 Method for controlling computer by mobile phones
CN101369828A (en) * 2007-08-15 2009-02-18 索尼爱立信移动通讯有限公司 Electronic equipment and information interchange method
CN101557551A (en) * 2009-05-11 2009-10-14 成都市华为赛门铁克科技有限公司 Cloud service accessing method, device and communication system thereof for mobile terminal
CN101657032A (en) * 2009-09-23 2010-02-24 中兴通讯股份有限公司 Method, system and mobile terminal of network computing service

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101082889A (en) * 2007-06-29 2007-12-05 松讯达中科电子(深圳)有限公司 Method for controlling computer by mobile phones
CN101369828A (en) * 2007-08-15 2009-02-18 索尼爱立信移动通讯有限公司 Electronic equipment and information interchange method
CN101557551A (en) * 2009-05-11 2009-10-14 成都市华为赛门铁克科技有限公司 Cloud service accessing method, device and communication system thereof for mobile terminal
CN101657032A (en) * 2009-09-23 2010-02-24 中兴通讯股份有限公司 Method, system and mobile terminal of network computing service

Also Published As

Publication number Publication date
CN102035941A (en) 2011-04-27

Similar Documents

Publication Publication Date Title
US9172741B2 (en) Mobile terminal and method for implementing browser thereof
WO2012079388A1 (en) Mobile terminal and video playing method therefor
JP5100854B2 (en) Communication apparatus and communication method
JP7389264B2 (en) Wireless communication method and device with wireless communication function
WO2012079331A1 (en) Mobile terminal and calculation method thereof
KR102185004B1 (en) Method for terminal and network device interaction and terminal
WO2012079367A1 (en) Mobile terminal and audio playing method therefor
WO2012079327A1 (en) Mobile terminal and calculation method thereof
WO2012079385A1 (en) Mobile terminal and video playing method therefor
CN113037929B (en) Information relay output method and device, electronic equipment and storage medium
WO2018049971A1 (en) Hotspot network switching method and terminals
US11979941B2 (en) Data transmission method and terminal
WO2012034422A1 (en) Data connection method, device and system for mobile terminals
US20230333803A1 (en) Enhanced Screen Sharing Method and System, and Electronic Device
WO2012079386A1 (en) Mobile terminal and browser method therefor
WO2015062234A1 (en) Mobile terminal resource processing method, device and apparatus
WO2015014135A1 (en) Mouse pointer control method and apparatus, and terminal device
WO2018049969A1 (en) Hotspot establishment method and related device
WO2012079366A1 (en) Mobile terminal and audio playing method therefor
WO2018119630A1 (en) Interaction method, and terminal
Liu et al. AASMP--Android Application Server for Mobile Platforms
WO2015078020A1 (en) Gesture operation conversion method and apparatus
WO2012019376A1 (en) Method and apparatus for implementing network device function of wireless communication terminal
CN106445692B (en) Network service control method and device
WO2024099179A1 (en) Data synchronization method, storage medium, and electronic device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11849411

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11849411

Country of ref document: EP

Kind code of ref document: A1