WO2015062234A1 - 移动终端资源处理方法、装置和设备 - Google Patents

移动终端资源处理方法、装置和设备 Download PDF

Info

Publication number
WO2015062234A1
WO2015062234A1 PCT/CN2014/077097 CN2014077097W WO2015062234A1 WO 2015062234 A1 WO2015062234 A1 WO 2015062234A1 CN 2014077097 W CN2014077097 W CN 2014077097W WO 2015062234 A1 WO2015062234 A1 WO 2015062234A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource
mobile terminal
interface
indication
instruction
Prior art date
Application number
PCT/CN2014/077097
Other languages
English (en)
French (fr)
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 小米科技有限责任公司
Priority to RU2015122487A priority Critical patent/RU2614578C2/ru
Priority to BR112014017992A priority patent/BR112014017992A8/pt
Priority to KR1020147021526A priority patent/KR101621637B1/ko
Priority to MX2014008884A priority patent/MX345148B/es
Priority to JP2015544351A priority patent/JP5997848B2/ja
Priority to US14/461,512 priority patent/US10057740B2/en
Publication of WO2015062234A1 publication Critical patent/WO2015062234A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/20Services signaling; Auxiliary data signalling, i.e. transmitting data via a non-traffic channel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/50Service provisioning or reconfiguring

Definitions

  • the present invention is based on a Chinese patent application with the application number 201310530384.3 and the application date being October 31, 2013, and claims the priority of the Chinese patent application, the entire contents of which are This is incorporated herein by reference.
  • the present disclosure relates to the field of communications, and in particular, to a mobile terminal resource processing method, apparatus, and device. Background technique
  • a smartphone (hereinafter referred to as a mobile phone) can download various mobile phone resources through a mobile phone network (for example, Global System of Mobile communication (GSM) or Code Division Multiple Access (CDMA) network), for example. Pictures, applications, music and videos, etc. In general, mobile phones need to pay for traffic by downloading resources from the mobile phone network without Wireless Fidelity (Wi-Fi).
  • GSM Global System of Mobile communication
  • CDMA Code Division Multiple Access
  • the mobile phone user can download the resources required by the mobile phone to the PC through a personal computer (Personal Computer, PC for short), and then send the mobile phone resource downloaded from the PC to the mobile phone.
  • PC Personal Computer
  • the user After the mobile phone receives the mobile phone resource, the user also needs to perform relevant settings on the mobile phone to complete the use of the mobile phone resource.
  • the mobile phone after receiving the picture sent by the PC, the mobile phone usually prompts the user, and the user can issue an operation instruction for the picture as a wallpaper according to the prompt, and the mobile phone executes the operation instruction to complete the wallpaper setting.
  • the downloading of mobile phone resources to the use of mobile phone resources involves multiple operational steps, and the whole process is very cumbersome and complicated, resulting in a large waste of user time. Summary of the invention
  • the present disclosure provides a mobile terminal resource processing method, device and device, and the device includes a client computer, a server and a mobile terminal.
  • the technical solution is as follows:
  • a mobile terminal resource processing method includes: a client computer sends a resource processing request to a server according to a user command, where the resource processing request includes an identifier of a resource, and a Describe the way resources are handled;
  • Downloading the resource from a storage address of the resource and transmitting the downloaded resource and the first indication to a mobile terminal, so that the mobile terminal invokes an interface of the mobile terminal application to process the resource.
  • the downloading the resource from the storage address of the resource includes:
  • the resource is downloaded from a storage address of the resource.
  • the method further includes:
  • a mobile terminal resource processing method includes: a server receiving a resource processing request sent by a client computer, where the resource processing request includes an identifier of a resource, and the resource Processing method;
  • the first indication including an identifier of an interface of the mobile terminal application, the first indication being used to indicate a mobile
  • the terminal invokes an interface of the mobile terminal application to process the resource.
  • the method further includes:
  • Generating a second indication and transmitting the second indication to the client computer, where the second indication includes an identifier of an interface of the mobile terminal application and an identifier of the resource, where the second indication is used to indicate
  • the mobile terminal invokes an interface of the mobile terminal application to return a processing result of the resource.
  • a mobile terminal resource processing method includes: a mobile terminal receiving a resource and a first indication sent by a client computer, where the first indication includes an interface of a mobile terminal application And the first indication is used to instruct the mobile terminal to invoke an interface of the mobile terminal application to process the resource;
  • the method further includes:
  • a mobile terminal resource processing apparatus configured to send a resource processing request to a server according to a user command, where the resource processing request includes an identifier of a resource, And the manner in which the resources are processed;
  • a first receiving module configured to receive a storage address and a first indication of the resource returned by the server, where the first indication includes an identifier of an interface of the mobile terminal application, where the first indication is used to indicate that the mobile terminal invokes An interface of the mobile terminal application processes the resource;
  • a downloading module configured to download the resource from a storage address of the resource, and send the downloaded resource and the first indication to a mobile terminal, so that the mobile terminal invokes an interface processing of the mobile terminal application The resource.
  • the downloading module is used to:
  • the first receiving module is further configured to:
  • a mobile terminal resource processing apparatus includes: a second receiving module, configured to receive a resource processing request sent by a client computer, where the resource processing request includes a resource Identification, and the manner in which the resources are processed;
  • an obtaining module configured to acquire, in a correspondence between the processing manner of the preset resource and the identifier of the interface of the mobile terminal application, an identifier of an interface of the mobile terminal application that processes the resource corresponding to the processing manner of the resource, and Obtaining, in a correspondence between the identifier of the preset resource and the storage address, a storage address of the resource corresponding to the identifier of the resource;
  • a returning module configured to generate a first indication, and return a storage address of the resource and the first indication to the client computer, where the first indication includes an identifier of an interface of the mobile terminal application, where the first Instructing an interface for instructing the mobile terminal to invoke the mobile terminal application to process the resource.
  • the returning module is further configured to:
  • the second indication includes an identifier of an interface of the mobile terminal application and an identifier of the resource, where the second indication is used to indicate Mobile terminal call
  • the interface of the mobile terminal application returns the processing result of the resource.
  • a mobile terminal resource processing apparatus includes: a third receiving module, configured to receive a resource and a first indication sent by a client computer, where the first indication includes An identifier of an interface of the mobile terminal application, where the first indication is used to instruct the mobile terminal to invoke an interface of the mobile terminal application to process the resource;
  • a calling module configured to invoke the interface of the mobile terminal application to process the resource according to the first indication.
  • the third receiving module is further configured to:
  • the calling module is further configured to, according to the second indication, invoke an interface of the mobile terminal application to return a processing result of the resource, and send the processing result of the resource to the client computer.
  • a client computer including a processor, a memory, and one or more programs, wherein one or more programs are stored in the memory, And configured to be executed by one or more of the processors, the one or more programs comprising instructions for:
  • a server comprising a processor, a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to Executed by one or more of the processors, the one or more programs include instructions for:
  • the first indication includes an identifier of an interface of the mobile terminal application, where the first indication is used to instruct the mobile terminal to invoke an interface of the mobile terminal application to process the resource.
  • a mobile terminal comprising a processor, a memory, and one or more programs, wherein one or more programs are stored in the memory, and The configuration is performed by one or more of the processors, the one or more programs including instructions for:
  • the first indication invokes an interface of the mobile terminal application to process the resource.
  • Some beneficial effects of the present disclosure may include: receiving, by the client computer, a storage address and a first indication of the resource returned by the server; downloading the resource from the storage address of the resource, and transmitting the downloaded resource and the first indication to the mobile terminal, where the mobile terminal receives After the resource and the first indication, the interface processing resource of the mobile terminal application is automatically invoked according to the first indication, thereby completing the use of the resource, and simplifying the operation between the downloading of the mobile terminal resource and the use of the mobile terminal resource. The steps save the user's time.
  • FIG. 1 is an exemplary schematic diagram of an applicable scenario of a technical solution according to an exemplary embodiment
  • FIG. 2 is an exemplary flowchart of a method for processing a mobile terminal resource according to an exemplary embodiment.
  • FIG. 3 is a schematic flowchart of still another method for processing a mobile terminal resource according to an exemplary embodiment.
  • FIG. 6 is a schematic structural diagram of a mobile terminal resource processing apparatus according to an exemplary embodiment.
  • FIG. 7 is a schematic structural diagram of a client computer according to an exemplary embodiment.
  • FIG. 9 is a schematic structural diagram of a server according to an exemplary embodiment;
  • FIG. 10 is a schematic structural diagram of a mobile terminal resource processing apparatus according to an exemplary embodiment.
  • FIG. 11 is a schematic structural diagram of a mobile terminal according to an exemplary embodiment.
  • the server 10 is connected to the client computer 11, and the client computer 11 is connected to the mobile terminal 12.
  • the server 10 stores various mobile terminal resources such as pictures, videos, e-books, music, and applications.
  • the client computer 11 and the server 10 form a computer network, and the mobile terminal resources stored in the server 10 can be accessed through the computer network and can be downloaded.
  • the mobile terminal 12 can establish a connection with the client computer 11 via a Universal Serial Bus (USB) or Wi-Fi.
  • USB Universal Serial Bus
  • the client computer 11 can also manage the mobile terminal 12, for example, comprehensive management of system files, short messages, contacts in the mobile terminal 12, and backup and restore operations at any time.
  • the client computer 11 includes a desktop computer and a notebook computer, and the mobile terminal 12 includes a smartphone and a tablet.
  • the mobile terminal resource may be a resource provided by a computer network and may be processed by a mobile terminal application (Application, referred to as APP), including but not limited to pictures, videos, e-books, Music and applications, how resources are handled include, but are not limited to, setting pictures as wallpapers, playing videos, reading e-books, setting music as ringtones, installing apps, and more.
  • the mobile terminal APP may be various types of application software supporting the mobile terminal operating system, including but not limited to an APP that sets the picture as a wallpaper, a video player, an e-book viewer, an APP that sets the music as a ringtone, and an APP that installs the application.
  • FIG. 2 shows a mobile terminal resource processing method according to an embodiment of the present disclosure. The method may be performed by a client computer. As shown in FIG. 2, the method includes:
  • step 101 a resource processing request is sent to the server according to a user command.
  • the resource processing request includes an identifier (ID) of the resource, and a processing method of the resource.
  • ID identifier
  • processing method of the resource In step 102, a storage address of the resource returned by the server and a first indication are received.
  • the first indication includes an ID of an interface of the mobile terminal APP that processes the resource, and the first indication is used to instruct the mobile terminal to invoke an interface processing resource of the mobile terminal APP.
  • step 103 the resource is downloaded from the storage address of the resource, and the downloaded resource and the first indication are sent to the mobile terminal, so that the mobile terminal invokes the interface of the mobile terminal APP to process the resource.
  • the embodiment of the present disclosure receives the storage address and the first indication of the resource returned by the server by using the client computer, downloads the resource from the storage address of the resource, and sends the downloaded resource and the first indication to the mobile terminal, where the mobile terminal receives the resource.
  • the resource corresponding to the ID of the interface of the mobile terminal APP is automatically invoked according to the first indication to process the resource, thereby completing the use of the resource, and simplifying the use of the mobile terminal resource to download to the mobile terminal resource.
  • the operation steps between the users save the user's time.
  • FIG. 3 shows another mobile terminal resource processing method according to an embodiment of the present disclosure. The method may be performed by a server. As shown in FIG. 3, the method includes:
  • step 201 a resource processing request sent by the client computer is received.
  • the resource processing request includes a resource ⁇ and a resource processing manner.
  • step 202 in the correspondence between the preset resource processing mode and the ID of the interface of the mobile terminal APP, the ID of the interface of the mobile terminal APP that processes the resource corresponding to the processing mode of the resource is acquired, and is preset. In the correspondence between the ID and the storage address of the resource, the storage address of the resource corresponding to the ID of the resource in the resource processing request is obtained.
  • step 203 a first indication is generated, and the storage address of the acquired resource and the first indication are returned to the client computer.
  • the first indication includes an ID of an interface of the mobile terminal APP that processes the resource, and the first indication is used to instruct the mobile terminal to invoke an interface processing resource of the mobile terminal APP.
  • FIG. 4 shows another mobile terminal resource processing method according to an embodiment of the present disclosure. The method may be performed by a mobile terminal. As shown in FIG. 4, the method includes:
  • step 301 a resource and a first indication sent by the client computer are received.
  • the first indication includes an ID of an interface of the mobile terminal APP that processes the resource, and the first indication is used to instruct the mobile terminal to invoke an interface processing resource of the mobile terminal APP.
  • step 302 the interface of the mobile terminal APP is invoked to process the resource.
  • the embodiment of the present disclosure receives the storage address and the first indication of the resource returned by the server by using the client computer, downloads the resource from the storage address of the resource, and sends the downloaded resource and the first indication to the mobile terminal, where the mobile terminal receives the resource and After the first indication, the resource corresponding to the ID of the interface of the mobile terminal APP is automatically invoked according to the first indication to process the resource, thereby completing the use of the resource, and simplifying the downloading of the mobile terminal resource to the use of the mobile terminal resource.
  • FIG. 5 shows still another method for processing a mobile terminal resource according to an embodiment of the present disclosure.
  • a mobile phone resource is used as an example to describe a method for processing the mobile terminal resource.
  • the method includes: In step 401, the client computer sends a resource processing request to the server according to the user command.
  • the resource processing request includes a resource ⁇ and a resource processing manner.
  • the user connects the mobile phone to the client computer.
  • Application software for managing the phone (such as "Mobile Assistant") is installed on the client computer, and the user can manage the phone through the application.
  • the user can access a website providing various mobile phone resources through the application software, and the website is carried by the server.
  • the user can review the resources displayed on the website, select the resources that the mobile phone needs to process, and issue commands to the application to process the selected resources.
  • the application sends a resource processing request to the server based on user commands.
  • the user intends to download images from the website and hopes that the downloaded images can be directly applied to the desktop wall of the phone.
  • the user browses the pictures displayed on the webpage of the website to find the favorite picture.
  • the user can select the picture image and click the button of "Directly set as mobile desktop wallpaper" below the image to trigger the desktop wallpaper setting request.
  • the request includes the ID of the selected image and how the image is processed (ie, the image is set to the phone wallpaper).
  • step 402 the server obtains the ID of the interface of the mobile APP that processes the resource to be processed and the storage address of the resource to be processed corresponding to the ID of the resource to be processed.
  • the server After the server receives the resource processing request sent by the client computer, the preset resource is processed.
  • the IDs of the interfaces of the mobile APPs that process the resources to be processed corresponding to the processing mode of the resources to be processed are acquired, and are acquired in the correspondence relationship between the IDs of the preset resources and the storage addresses.
  • the server receives a resource processing request for the aforementioned desktop wallpaper setting request.
  • the storage address corresponding to the ID of the picture carried in the desktop wallpaper setting request is obtained.
  • the storage address stores the picture.
  • the server obtains the ID of the interface of the mobile APP corresponding to the processing mode of the image carried in the desktop wallpaper setting request in the corresponding relationship between the processing method of the preset resource and the ID of the interface of the mobile APP, that is, setting the image as a desktop wallpaper.
  • the ID of the interface of the app is the storage address corresponding to the ID of the picture carried in the desktop wallpaper setting request.
  • the resource processing request received by the server is a request for installing the specified APP
  • the request for installing the specified APP carries the ID of the specified APP and the processing method of the specified APP (installing the specified APP).
  • the server obtains the storage address corresponding to the ID of the specified APP in the corresponding relationship of the ID-storage address of the preset resource.
  • the storage address stores the Android installation package (Android Package, referred to as APK) of the APP.
  • APK Android Installation package
  • the server obtains the ID of the interface of the mobile APP corresponding to the processing mode of the specified APP, that is, the ID of the interface on which the APP is installed, in the correspondence between the processing method of the preset resource and the ID of the interface of the mobile APP.
  • the network maintenance personnel pre-establishes a resource processing manner in the server-the correspondence between the IDs of the interfaces of the mobile APPs.
  • the network maintenance personnel of the server and the developers of the mobile APP can jointly negotiate the correspondence.
  • the ID of the interface of the mobile APP is used to uniquely identify the interface of the mobile APP. That is to say, the IDs of different interfaces of a mobile phone APP are different.
  • the APP for setting a wallpaper includes an interface for setting a desktop wallpaper and an interface for setting a lock screen wallpaper.
  • the ID of the interface of different mobile APPs is also not used.
  • step 402 further includes: processing a method of the preset resource in the server - the corresponding ID of the mobile phone APP
  • the system obtains the ID of the mobile phone APP corresponding to the resource, and sends the obtained ID of the mobile APP corresponding to the resource to the client computer.
  • step 403 the server generates a first indication to return the storage address of the resource and the first indication to the client computer.
  • the first indication includes an ID of an interface of the mobile APP that processes the resource, and the first indication is used to instruct the mobile phone to invoke an interface processing resource of the mobile APP.
  • the server obtains the storage address of the picture and sets the ID of the interface of the APP of the desktop wallpaper
  • the first indication is generated, and the first indication includes the ID of the interface of the APP that sets the picture as the desktop wallpaper. Returns the image's storage address and first indication to the client computer.
  • step 404 after receiving the ID of the mobile APP corresponding to the resource sent by the server, the client computer detects whether the mobile phone APP is installed on the mobile phone.
  • step 405 is performed; when it is detected that the mobile phone APP is not installed, the process is exited.
  • the client computer may scan the IDs of all the APPs installed on the mobile phone to determine whether the APP exists in all installed APPs. If the APP is installed on the mobile phone, go to step 405; if the APP is not installed on the mobile phone, exit this process.
  • step 405 the client computer downloads the resource from the storage address of the resource and sends the downloaded resource and the first indication to the handset.
  • the client computer downloads the image from the storage address of the image, and sends the downloaded image and the first indication to the mobile phone.
  • step 406 the mobile phone receives the resource sent by the client computer and the first indication, and according to the first indication, invokes the interface of the APP to process the resource.
  • the mobile phone after receiving the downloaded picture and the first instruction sent by the client computer, invokes the interface of the APP that sets the picture as a desktop wallpaper to set the downloaded picture as a desktop wallpaper.
  • step 407 the server generates a second indication and sends the second indication to the client computer.
  • the second indication includes an ID of an interface of the mobile phone APP and an ID of the resource, and the second indication is used to indicate that the mobile phone invokes the interface of the mobile APP to return a processing result of the resource.
  • the processing result of the resource is used to indicate whether the mobile phone processes the resource.
  • the execution sequence of the step 407 and the step 403 is not limited, and the step 407 may be performed simultaneously with the step 403.
  • the server may carry the second indication when returning the first indication to the client computer (see step 403).
  • the server packages the storage address, first indication and second indication of the image into a command sent to the client computer.
  • the command is callService( " setWallpaper " , setWallPaperCallback(result) ⁇ , "http: ⁇ example.com/mountain .jpg” ).
  • setWallpaper represents the ID of the interface for setting the desktop wallpaper
  • "http://example.com/mountain.jpg” is the storage address of the image
  • “call Service” means calling the "setWallpaper” interface to process the image
  • setWallPaperCallback(result ) ⁇ means calling "setWallpaper”
  • the interface returns the processing result of the picture.
  • "setWallPaperCallback” can be a callback function.
  • step 408 the client computer receives the second indication sent by the server, sends the second indication to the mobile phone, and sends the processing result of the resource returned by the mobile phone to the server.
  • the mobile phone returns the processing result of the returned resource to the client computer according to the second indication sent by the client computer.
  • the client computer After receiving the processing result of the resource, the client computer sends the processing result of the resource to the server.
  • the embodiment of the present disclosure receives the storage address and the first indication of the resource returned by the server by using the client computer, downloads the resource from the storage address of the resource, and sends the downloaded resource and the first indication to the mobile terminal, where the mobile terminal receives the resource and After the first indication, the resource corresponding to the ID of the interface of the mobile terminal APP is automatically invoked according to the first indication to process the resource, thereby completing the use of the resource, and simplifying the downloading of the mobile terminal resource to the use of the mobile terminal resource.
  • the operation steps save the user's time.
  • FIG. 6 shows a mobile terminal resource processing apparatus according to an embodiment of the present disclosure. As shown in FIG. 6, the apparatus includes a sending module 501, configured to send a resource processing request to a server, where the resource processing request includes a resource and How resources are handled.
  • the first receiving module 502 is configured to receive a storage address and a first indication of the resource returned by the server.
  • the first indication includes an ID of an interface of the mobile terminal APP that processes the resource, and the first indication is used to instruct the mobile terminal to invoke an interface processing resource of the mobile terminal APP.
  • the downloading module 503 is configured to download the resource from the storage address of the resource, and send the downloaded resource and the first indication to the mobile terminal, so that the mobile terminal invokes the interface of the mobile terminal APP to process the resource.
  • the downloading module 503 is configured to: scan an ID of all mobile terminal APPs installed by the mobile terminal; detect, according to the ID of the mobile terminal APP sent by the server, whether the mobile terminal installs the mobile terminal APP; when detecting that the mobile terminal is installed
  • the mobile terminal APP downloads the resource from the storage address of the resource, and sends the downloaded resource and the first indication to the mobile terminal, so that the mobile terminal invokes the interface of the mobile terminal APP to process the resource.
  • the first receiving module 502 is further configured to: receive, by the server, a second indication, where the second indication includes an ID of an interface of the mobile terminal APP and an ID of the resource, where the second indication is used to instruct the mobile terminal to invoke the mobile terminal application.
  • the interface returns a processing result of the resource; the second indication is sent to the mobile terminal, and the processing result of the resource returned by the mobile terminal is sent to the server.
  • the apparatus shown in Fig. 6 can be provided in the client computer 11 shown in Fig. 1.
  • FIG. 7 is a schematic structural diagram of a client computer (for example, the client computer 11 shown in FIG. 1) in the embodiment of the present disclosure. Referring to Figure 7, the client computer can be used to implement the methods provided in the above embodiments.
  • the client computer 700 can include a memory 710 having one or more computer readable storage media, an input unit 720, a display unit 730, an audio circuit 740, a WIFI (Wireless Fidelity) module 750, including one or more
  • the processor 760 of the core, and the power supply 770 and the like are processed.
  • the client computer architecture shown in the figures does not constitute a limitation to the client computer, may include more or fewer components than illustrated, or may combine certain components, or different component arrangements. . among them:
  • the memory 710 can be used to store software programs and modules, and the processor 760 executes various functional applications and data processing by running software programs and modules stored in the memory 710.
  • the memory 710 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the client computer 700 (such as audio data, phone book, etc.), and the like.
  • memory 710 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 710 can also include a memory controller to provide access to memory 710 by processor 760 and input unit 720.
  • Input unit 720 can be used to receive input numeric or character information, as well as to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • input unit 720 can include touch sensitive surface 721 and other input devices 722.
  • Touch-sensitive surface 721 also referred to as a touch display or trackpad, can collect touch operations on or near the user (eg, the user uses a finger, stylus, etc., on any touch-sensitive surface 721 or on the touch-sensitive surface 721 The operation near the touch-sensitive surface 721) and driving the corresponding connecting device according to a preset program.
  • the touch-sensitive surface 721 can include two portions of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information
  • the processor 760 is provided and can receive commands from the processor 760 and execute them.
  • the touch-sensitive surface 721 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • input unit 720 can also include other input devices 722.
  • other input devices 722 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • Display unit 730 can be used to display information entered by the user or information provided to the user and various graphical user interfaces of client computer 700, which can be comprised of graphics, text, icons, video, and any combination thereof.
  • the display unit 730 can include a display panel 731, optionally, an LCD (Liquid Crystal)
  • Display panel 731 is configured in the form of display, liquid crystal display, OLED (Organic Light-Emitting Diode). Further, the touch-sensitive surface 721 can cover the display panel 731, and when the touch-sensitive surface 721 detects a touch operation on or near it, it is transmitted to the processor 760 to determine the type of the touch event, and then the processor
  • touch-sensitive surface 721 and display panel 731 are implemented as two separate components to implement input and input functions, in some embodiments
  • the touch-sensitive surface 721 can be integrated with the display panel 731 to implement input and output functions.
  • the audio circuit 740 includes a speaker 741 and a microphone 742.
  • Microphone 742 can provide an audio interface between the user and client computer 700.
  • the audio circuit 740 can transmit the converted electrical data of the received audio data to the speaker 741 for conversion to the sound signal output by the speaker 741; on the other hand, the microphone 742 converts the collected sound signal into an electrical signal by the audio circuit 740. After receiving, it is converted into audio data, processed by the audio data output processor 760, sent to, for example, another client computer, or outputted to the memory 710 for further processing.
  • the audio circuit 740 may also include an earbud jack to provide communication of the peripheral earphones with the client computer 700.
  • the client computer may be configured with a wireless communication unit 750, which may be a WIFI module.
  • WIFI is a short-range wireless transmission technology, and the client computer 700 can help users to send and receive emails, browse web pages, and access streaming media through the wireless communication unit 750, which provides users with wireless broadband Internet access.
  • the wireless communication unit 750 is shown in the drawings, it will be understood that it does not belong to the essential configuration of the client computer 700 and may be omitted as needed within the scope of not changing the nature of the disclosure.
  • Processor 760 is the control center of client computer 700 that connects various portions of the entire client computer using various interfaces and lines, by running or executing software programs and/or modules stored in memory 710, and by calling stored in memory 710.
  • the internal data performs various functions and processing data of the client computer 700, thereby performing overall monitoring of the client computer.
  • the processor 760 may include one or more processing cores.
  • the processor 760 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, and an application. Etc., the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into processor 760.
  • the client computer 700 also includes a power source 770 (such as a battery) that supplies power to various components.
  • a power source 770 such as a battery
  • the power source can be logically coupled to the processor 760 through a power management system to manage charging, discharging, and power management through the power management system.
  • Power supply 770 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
  • the client computer 700 may further include a camera, a Bluetooth module, and the like, and details are not described herein.
  • the client computer 700 further includes a memory, a processor, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors,
  • the one or more programs include instructions for performing the following two operations:
  • the processor may further perform: scanning an ID of all mobile terminal APPs installed by the mobile terminal; detecting, according to the ID of the mobile terminal APP sent by the server, whether the mobile terminal is installed by the mobile terminal; When the mobile terminal installs the mobile terminal APP, the mobile terminal downloads the resource from the storage address of the resource, and sends the downloaded resource and the first indication to the mobile terminal, so that the mobile terminal invokes the interface of the mobile terminal APP to process the resource.
  • the processor is further configured to: receive, by the server, a second indication, where the second indication includes an ID of an interface of the mobile terminal APP and an ID of the resource, where the second indication is used to instruct the mobile terminal to invoke an interface of the mobile terminal application. Returning the processing result of the resource; transmitting the second indication to the mobile terminal, and transmitting the processing result of the resource returned by the mobile terminal to the server.
  • FIG. 8 shows another mobile terminal resource processing apparatus according to an embodiment of the present disclosure. As shown in FIG. 8, the apparatus includes:
  • the second receiving module 601 is configured to receive a resource processing request sent by the client computer, where the resource processing request includes a resource ⁇ and a resource processing manner.
  • the obtaining module 602 is configured to acquire an ID of an interface of the mobile terminal APP that processes the resource, corresponding to the processing manner of the preset resource, the ID of the interface of the mobile terminal APP, and In the correspondence between the ID and the storage address of the set resource, the storage address of the resource corresponding to the ID of the resource to be processed is obtained.
  • the returning module 603 is configured to generate a first indication, and return a storage address and a first indication of the resource to be processed to the client computer.
  • the first indication includes an ID of an interface of the mobile terminal APP that processes the resource, and the first indication is used to instruct the mobile terminal to invoke an interface processing resource of the mobile terminal APP.
  • the returning module 603 is further configured to: generate a second indication, and send the second indication to the client computer, where the second indication includes an ID of the interface of the mobile terminal APP and an ID of the resource, where the second indication is used to instruct the mobile terminal to invoke the mobile terminal
  • the APP interface returns the processing result of the resource.
  • the apparatus shown in Fig. 8 may be provided in the server 10 shown in Fig. 1.
  • FIG. 9 is a schematic structural diagram of a server (for example, the server 10 shown in FIG. 1) in the embodiment of the present disclosure. Referring to Figure 9, the server can be used to implement the methods provided in the above embodiments.
  • the server 1900 can vary greatly depending on configuration or performance, and can include one or more
  • CPU central processing units 1922 (eg, one or more processors) and memory 1932, one or more storage media 1930 storing application 1942 or data 1944 (eg, one or one storage device in Shanghai) .
  • the memory 1932 and the storage medium 1930 may be short-term storage or persistent storage.
  • the program stored on storage medium 1930 may include one or more modules (not shown), each of which may include a series of instruction operations in the server.
  • the central processing unit 1922 can be configured to In communication with storage medium 1930, a series of instruction operations in storage medium 1930 are performed on server 1900.
  • Server 1900 may also include one or more power supplies 1926, one or more wired or wireless network interfaces 1950, one or more input and output interfaces 1958, one or more keyboards 1956, and/or one or more operating systems 1941.
  • power supplies 1926 For example, Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, and more.
  • Server 1900 includes a CPU and memory, and one or more programs, wherein one or more programs are stored in memory and configured to be executed by one or more CPUs, one or more programs including for performing the following operations Instruction:
  • the resource processing request includes an ID of the resource and a processing mode of the resource; and acquiring the resource in the corresponding relationship between the preset resource processing mode and the ID of the interface of the mobile terminal APP
  • the processing mode corresponds to the ID of the interface of the mobile terminal APP that processes the resource, and obtains the storage address of the resource corresponding to the ID of the resource to be processed in the corresponding relationship of the ID-storage address of the preset resource; And return the storage address and first indication of the resource to be processed to the client computer.
  • the first indication includes an ID of an interface of the mobile terminal APP that processes the resource, and the first indication is used to instruct the mobile terminal to invoke an interface processing resource of the mobile terminal APP.
  • the CPU is further configured to: generate a second indication, and send the second indication to the client computer, where the second indication includes an ID of the interface of the mobile terminal APP and an ID of the resource, where the second indication is used to instruct the mobile terminal to invoke The interface of the mobile terminal APP returns the processing result of the resource.
  • FIG. 10 shows still another mobile terminal resource processing apparatus according to an embodiment of the present disclosure.
  • the apparatus includes a third receiving module 701, configured to receive a resource and a first indication downloaded by the client computer.
  • the first indication includes an ID of an interface of the mobile terminal APP that processes the resource, and the first indication is used to instruct the mobile terminal to invoke an interface processing resource of the mobile terminal APP.
  • the calling module 702 is configured to invoke the interface of the mobile terminal APP to process the resource according to the first indication.
  • the third receiving module 701 is further configured to: receive a second indication sent by the client computer, where the second indication includes an ID of an interface of the mobile terminal APP and an ID of the resource, where the second indication is used to instruct the mobile terminal to invoke the mobile terminal
  • the APP's interface returns the processing result of the resource.
  • the calling module 702 is further configured to: according to the second indication, invoke an interface of the mobile terminal APP to return a processing result of the resource, and send the processing result of the resource to the client computer.
  • the apparatus shown in Fig. 10 may be provided in the mobile terminal 12 shown in Fig. 1.
  • FIG. 11 is a schematic structural diagram of a mobile terminal (for example, the mobile terminal 12 shown in FIG. 1) in the embodiment of the present disclosure. Referring to Figure 11, the mobile terminal can be used to implement the method provided in the above embodiments.
  • the mobile terminal 800 can include a communication unit 110, a memory 120 including one or more computer readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, and a WIFI (Wireless Fidelity) module 170.
  • the processor 180 includes one or more processing cores, and a power supply 190 and the like. It will be understood by those skilled in the art that the structure of the mobile terminal shown in the figures does not constitute a limitation of the mobile terminal, and may include more or less components than those illustrated, or some components may be combined, or different component arrangements.
  • the communication unit 110 can be used for receiving and transmitting signals during the transmission or reception of information, and the communication unit no can be a network communication device such as an RF (Radio Frequency) circuit, a router, a modem, or the like.
  • the communication unit 110 is an RF circuit
  • the downlink information of the base station is received and then processed by one or more processors 180; in addition, data related to the uplink is transmitted to the base station.
  • RF circuits as communication units include, but are not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, and a LNA (Low Noise Amplifier, low) Noise amplifier), duplexer, etc.
  • communication unit 110 can also communicate with the network and other devices via wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access).
  • the memory 120 can be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by running software programs and modules stored in the memory 120.
  • the memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the mobile terminal 800 (such as audio data, phone book, etc.) and the like.
  • memory 120 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 120 may also include a memory controller to provide access to memory 120 by processor 180 and input unit 130.
  • the input unit 130 can be configured to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • input unit 130 may include touch-sensitive surface 131 as well as other input devices 132.
  • Touch-sensitive surface 131 also referred to as a touch display or trackpad, can collect touch operations on or near the user (eg, the user uses a finger, stylus, etc., on any touch-sensitive surface 131 or on the touch-sensitive surface 131 The operation near the touch-sensitive surface 131) and driving the corresponding connecting device according to a preset program.
  • the touch-sensitive surface 131 may include two parts of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller;
  • the controller receives the touch information from the touch detection device and converts it into contact coordinates, sends it to the processor 180, and receives the command from the processor 180 and executes it.
  • the touch-sensitive surface 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 130 can also include other input devices 132.
  • other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • Display unit 140 can be used to display information entered by the user or information provided to the user and various graphical user interfaces of mobile terminal 800, which can be constructed from graphics, text, icons, video, and any combination thereof.
  • the display unit 140 may include a display panel 141.
  • the display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
  • the touch-sensitive surface 131 may cover the display panel 141, and when the touch-sensitive surface 131 detects a touch operation thereon or nearby, it is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 according to the touch event The type provides a corresponding visual output on display panel 141.
  • touch-sensitive surface 131 and display panel 141 are implemented as two separate components to implement input and input functions, in some embodiments, touch-sensitive surface 131 can be integrated with display panel 141 for input. And output function.
  • the mobile terminal 800 can also include at least one type of sensor 150, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 141 and/or when the mobile terminal 800 moves to the ear. Backlighting.
  • the gravity acceleration sensor can detect the magnitude of acceleration in each direction (usually three axes), and the magnitude and direction of gravity can be detected at rest, which can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, Related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the mobile terminal 800 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors, and other sensors, This will not be repeated here.
  • the audio circuit 160, the speaker 161, and the microphone 162 provide an audio interface between the user and the mobile terminal 800.
  • the audio circuit 160 can transmit the converted electrical data of the received audio data to the speaker 161 for conversion to the sound signal output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal by the audio circuit 160. After receiving, it is converted into audio data, and then processed by the audio data output processor 180, sent to the mobile terminal 110 via the RF circuit 110, or the audio data is output to the memory 120 for further processing.
  • the audio circuit 160 may also include an earbud jack to provide communication of the peripheral earphones with the mobile terminal 800.
  • the mobile terminal may be configured with a wireless communication unit 170, which may be a WIFI module.
  • WIFI is a short-range wireless transmission technology, and the mobile terminal 800 can help users to send and receive emails, browse web pages, and access streaming media through the wireless communication unit 170, which provides users with wireless broadband Internet access.
  • the wireless communication unit 170 is shown in the drawings, it can be understood that it does not belong to the essential configuration of the mobile terminal 800, and may be omitted as needed within the scope of not changing the essence of the disclosure.
  • the processor 180 is a control center of the mobile terminal 800, which connects various parts of the entire mobile terminal using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 120, and calling stored in the memory.
  • the data in the storage 120 performs various functions and processing data of the mobile terminal 800, thereby performing overall monitoring of the mobile terminal.
  • the processor 180 may include one or more processing cores.
  • the processor 180 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, and an application. Etc., the modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 180.
  • the mobile terminal 800 further includes a power source 190 (such as a battery) for supplying power to various components.
  • a power source 190 such as a battery
  • the power source can be logically connected to the processor 180 through the power management system to manage charging, discharging, and power management through the power management system.
  • Power supply 190 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
  • the mobile terminal 800 may further include a camera, a Bluetooth module, and the like, and details are not described herein.
  • the mobile terminal further includes a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors, the one or a
  • the above program contains instructions for performing the following two operations:
  • the first indication includes an ID of an interface of the mobile terminal APP that processes the resource, where the first indication is used to instruct the mobile terminal to invoke an interface processing resource of the mobile terminal APP; according to the first indication, the interface of the mobile terminal APP is invoked. Process the resource.
  • the processor is further configured to receive, by the client computer, a second indication, where the second indication includes an ID of an interface of the mobile terminal APP and an ID of the resource, where the second indication is used to instruct the mobile terminal to invoke the mobile terminal APP.
  • the interface returns the processing result of the resource; according to the second indication, the interface of the mobile terminal APP is called to return the processing result of the resource, and the processing result of the resource is sent to the client computer.
  • the mobile terminal of the present disclosure may be a variety of handheld mobile terminals, and the scope of protection of the present disclosure should not be limited to a particular type of mobile terminal.
  • the method according to the present disclosure may also be implemented as a computer program executed by a CPU. When the computer program is executed by the CPU, the above-described functions defined in the method of the present disclosure are performed.
  • non-volatile memory may include read only memory (ROM;), programmable ROM (PROM;), electrically programmable ROM (EPROM;), electrically erasable programmable ROM (EEPROM) Or flash memory.
  • Volatile memory can include random access memory (RAM), which can act as external cache memory.
  • RAM can be obtained in a variety of forms, such as synchronous RAM (DRAM;), dynamic RAM (DRAM;), synchronization. DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (E SDRAM), synchronous link DRAM (SLDRAM), and direct Rambus RAM (DRRAM).
  • DRAM synchronous RAM
  • DRAM dynamic RAM
  • SDRAM double data rate SDRAM
  • E SDRAM enhanced SDRAM
  • SLDRAM synchronous link DRAM
  • DRRAM direct Rambus RAM
  • Storage devices of the disclosed aspects are intended to comprise, without being limited to, these and other suitable types of memory.
  • the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, a general description of the various illustrative components, blocks, modules, circuits, and steps has been described.
  • DSP digital signal processor
  • ASIC dedicated An integrated circuit
  • FPGA field programmable gate array
  • a general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller or state machine.
  • the processor can also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.
  • a software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
  • An exemplary storage medium is coupled to the processor, such that the processor can read information from or write information to the storage medium.
  • the storage medium can be integrated with a processor.
  • the processor and storage media can reside in an ASIC.
  • the ASIC can reside in the user's mobile terminal.
  • the processor and the storage medium may reside as discrete components in the user's mobile terminal.
  • the functions may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted as one or more instructions or code on a computer readable medium.
  • Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
  • a storage medium may be any available media that can be accessed by a general purpose or special purpose computer.
  • the computer readable medium may comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage device, disk storage device or other magnetic storage device, or may be used for carrying or storing a form of instructions Or the required program code of the data structure and any other medium that can be accessed by a general purpose or special purpose computer or a general purpose or special purpose processor. Also, any connection is properly termed a computer-readable medium.
  • a magnetic disk and an optical disk include a compact disk (CD), a laser disk, an optical disk, a digital versatile disk (DVD), a floppy disk, a Blu-ray disk, in which a disk generally reproduces data magnetically, and an optical disk optically reproduces data using a laser. . Combinations of the above should also be included within the scope of computer readable media.

Abstract

本公开是关于一种移动终端资源处理方法、装置和设备,关于通信领域。方法包括:客户端计算机向服务器发送资源处理请求,资源处理请求包括资源的ID、以及资源的处理方式;接收服务器返回的资源的存储地址和第一指示;第一指示包括移动终端APP的接口的ID,第一指示用于指示移动终端调用移动终端APP的接口处理资源;从资源的存储地址下载资源,将下载的资源和第一指示发送给移动终端,使移动终端调用该移动终端APP的接口处理该资源。装置包括:发送模块、第一接收模块和下载模块。装置包括:第二接收模块、获取模块和返回模块。装置包括:第三接收模块和调用模块。设备包括客户端计算机、服务器和移动终端。本公开使移动终端处理移动终端资源变简单。

Description

移动终端资源处理方法、 装置和设备 本申请基于申请号为 201310530384.3、 申请日为 2013年 10月 31 日的中国专利申请 提出, 并要求该中国专利申请的优先权, 该中国专利申请的全部内容在此引入本申请作为
技术领域
本公开是关于通信领域, 具体来说是关于一种移动终端资源处理方法、 装置和设备。 背景技术
智能手机(下文简称手机)可以通过手机网络(例如全球移动通讯系统(Global System of Mobile communication, 简称 GSM) 或码分多址 (Code Division Multiple Access, 简称 CDMA) 网络) 下载各种手机资源, 例如图片、 应用软件、 音乐和视频等。 一般地, 手机 在没有无线保真 (Wireless Fidelity, 简称 Wi-Fi) 的情况下从手机网络下载资源是需按流 量付费的。
例如, 为了节约手机网络的流量开销, 手机用户可以通过个人计算机 (Personal Computer, 简称 PC)将手机所需的资源下载到 PC上, 然后再将 PC上下载的手机资源发 送给手机。手机收到该手机资源后, 还需要用户在手机上进行相关设置才能完成手机资源 的使用。 以设置壁纸为例, 手机收到 PC发送的图片后, 通常会提示用户, 用户可以根据 提示发出将该图片为壁纸的操作指令, 手机执行该操作指令后才能完成壁纸的设置。 从手 机资源的下载到手机资源的使用涉及多个操作步骤, 整个过程十分繁琐而复杂, 造成用户 时间的大量浪费。 发明内容
为了解决相关技术中从手机资源的下载到手机资源的使用操作步骤多的问题,本公开 提供了一种移动终端资源处理方法、 装置和设备, 该设备包括客户端计算机、 服务器和移 动终端。 所述技术方案如下:
根据本公开实施例的第一方面, 提供了一种移动终端资源处理方法, 所述方法包括: 客户端计算机根据用户命令向服务器发送资源处理请求,所述资源处理请求包括资源 的标识、 以及所述资源的处理方式;
接收所述服务器返回的所述资源的存储地址和第一指示,所述第一指示包括移动终端 应用的接口的标识,所述第一指示用于指示移动终端调用所述移动终端应用的接口处理所 述资源;
从所述资源的存储地址下载所述资源,并将下载的所述资源和所述第一指示发送给移 动终端, 以使所述移动终端调用所述移动终端应用的接口处理所述资源。 可选地, 所述从所述资源的存储地址下载所述资源, 包括:
扫描所述移动终端安装的所有移动终端应用的标识;
按照所述服务器发送的所述移动终端应用的标识,检测所述移动终端是否安装了所述 移动终端应用;
当检测到所述移动终端安装了所述移动终端应用时,从所述资源的存储地址下载所述 资源。
可选地, 所述方法还包括:
接收所述服务器发送的第二指示,所述第二指示包括所述移动终端应用的接口的标识 和所述资源的标识,所述第二指示用于指示移动终端调用所述移动终端应用的接口返回所 述资源的处理结果;
将所述第二指示发送给所述移动终端,并将所述移动终端返回的所述资源的处理结果 发送给所述服务器。
根据本公开实施例的第二方面, 提供了一种移动终端资源处理方法, 所述方法包括: 服务器接收客户端计算机发送的资源处理请求, 所述资源处理请求包括资源的标识、 以及所述资源的处理方式;
在预置的资源的处理方式与移动终端应用的接口的标识的对应关系中,获取与所述资 源的处理方式对应的处理所述资源的移动终端应用的接口的标识,并在预置的资源的标识 与存储地址的对应关系中, 获取所述资源的标识对应的所述资源的存储地址;
生成第一指示, 并将所述资源的存储地址和所述第一指示返回给所述客户端计算机, 所述第一指示包括移动终端应用的接口的标识,所述第一指示用于指示移动终端调用所述 移动终端应用的接口处理所述资源。
可选地, 所述方法还包括:
生成第二指示, 并将所述第二指示发送给所述客户端计算机, 所述第二指示包括所述 移动终端应用的接口的标识和所述资源的标识,所述第二指示用于指示移动终端调用所述 移动终端应用的接口返回所述资源的处理结果。
根据本公开实施例的第三方面, 提供了一种移动终端资源处理方法, 所述方法包括: 移动终端接收客户端计算机发送的资源和第一指示,所述第一指示包括移动终端应用 的接口的标识,所述第一指示用于指示移动终端调用所述移动终端应用的接口处理所述资 源;
按照所述第一指示, 调用所述移动终端应用的接口对所述资源进行处理。
可选地, 所述方法还包括:
接收所述客户端计算机发送的第二指示,所述第二指示包括所述移动终端应用的接口 的标识和所述资源的标识,所述第二指示用于指示移动终端调用所述移动终端应用的接口 返回所述资源的处理结果;
按照所述第二指示, 调用所述移动终端应用的接口返回所述资源的处理结果, 并将所 述资源的处理结果发送给所述客户端计算机。 根据本公开实施例的第四方面, 提供了一种移动终端资源处理装置, 所述装置包括: 发送模块, 用于根据用户命令向服务器发送资源处理请求, 所述资源处理请求包括资 源的标识、 以及所述资源的处理方式;
第一接收模块, 用于接收所述服务器返回的所述资源的存储地址和第一指示, 所述第 一指示包括移动终端应用的接口的标识,所述第一指示用于指示移动终端调用所述移动终 端应用的接口处理所述资源;
下载模块, 用于从所述资源的存储地址下载所述资源, 并将下载的所述资源和所述第 一指示发送给移动终端, 以使所述移动终端调用所述移动终端应用的接口处理所述资源。
可选地, 所述下载模块用于:
扫描所述移动终端安装的所有移动终端应用的标识;按照所述服务器发送的所述移动 终端应用的标识, 检测所述移动终端是否安装了所述移动终端应用; 当检测到所述移动终 端安装了所述移动终端应用时, 从所述资源的存储地址下载所述资源, 并将下载的所述资 源和所述第一指示发送给移动终端, 以使所述移动终端调用所述移动终端应用的接口处理 所述资源。
可选地, 所述第一接收模块还用于,
接收所述服务器发送的第二指示,所述第二指示包括所述移动终端应用的接口的标识 和所述资源的标识,所述第二指示用于指示移动终端调用所述移动终端应用的接口返回所 述资源的处理结果;
将所述第二指示发送给所述移动终端,并将所述移动终端返回的所述资源的处理结果 发送给所述服务器。
根据本公开实施例的第五方面, 提供了一种移动终端资源处理装置, 所述装置包括: 第二接收模块, 用于接收客户端计算机发送的资源处理请求, 所述资源处理请求包括 资源的标识、 以及所述资源的处理方式;
获取模块, 用于在预置的资源的处理方式与移动终端应用的接口的标识的对应关系 中, 获取与所述资源的处理方式对应的处理所述资源的移动终端应用的接口的标识, 并在 预置的资源的标识与存储地址的对应关系中,获取所述资源的标识对应的所述资源的存储 地址;
返回模块, 用于生成第一指示, 并将所述资源的存储地址和所述第一指示返回给所述 客户端计算机, 所述第一指示包括移动终端应用的接口的标识, 所述第一指示用于指示移 动终端调用所述移动终端应用的接口处理所述资源。
可选地, 所述返回模块还用于,
生成第二指示, 并将所述第二指示发送给所述客户端计算机, 所述第二指示包括所述 移动终端应用的接口的标识和所述资源的标识,所述第二指示用于指示移动终端调用所述 移动终端应用的接口返回所述资源的处理结果。
根据本公开实施例的第六方面, 提供了一种移动终端资源处理装置, 所述装置包括: 第三接收模块, 用于接收客户端计算机发送的资源和第一指示, 所述第一指示包括移 动终端应用的接口的标识,所述第一指示用于指示移动终端调用所述移动终端应用的接口 处理所述资源;
调用模块, 用于按照所述第一指示, 调用所述移动终端应用的接口对所述资源进行处 理。
可选地, 所述第三接收模块还用于,
接收所述客户端计算机发送的第二指示,所述第二指示包括所述移动终端应用的接口 的标识和所述资源的标识,所述第二指示用于指示移动终端调用所述移动终端应用的接口 返回所述资源的处理结果;
所述调用模块还用于, 按照所述第二指示, 调用所述移动终端应用的接口返回所述资 源的处理结果, 并将所述资源的处理结果发送给所述客户端计算机。 根据本公开实施例的第七方面, 提供了一种客户端计算机, 所述客户端计算机包括处 理器、 存储器、 以及一个或者一个以上的程序, 其中一个或者一个以上程序存储于所述存 储器中, 且经配置以由一个或者一个以上所述处理器执行, 所述一个或者一个以上程序包 含用于进行以下操作的指令:
根据用户命令向服务器发送资源处理请求, 所述资源处理请求包括资源的标识、 以及 所述资源的处理方式;
接收所述服务器返回的所述资源的存储地址和第一指示,所述第一指示包括移动终端 应用的接口的标识,所述第一指示用于指示移动终端调用所述移动终端应用的接口处理所 述资源;
从所述资源的存储地址下载所述资源,并将下载的所述资源和所述第一指示发送给移 动终端, 以使所述移动终端调用所述移动终端应用的接口处理所述资源。
根据本公开实施例的第八方面,提供了一种服务器,所述服务器包括处理器、存储器、 以及一个或者一个以上的程序, 其中一个或者一个以上程序存储于所述存储器中, 且经配 置以由一个或者一个以上所述处理器执行,所述一个或者一个以上程序包含用于进行以下 操作的指令:
接收客户端计算机发送的资源处理请求, 所述资源处理请求包括资源的标识、 以及所 述资源的处理方式;
在预置的资源的处理方式与移动终端应用的接口的标识的对应关系中,获取与所述资 源的处理方式对应的处理所述资源的移动终端应用的接口的标识,并在预置的资源的标识 与存储地址的对应关系中, 获取所述资源的标识对应的所述资源的存储地址;
生成第一指示, 并将所述资源的存储地址和所述第一指示返回给所述客户端计算机, 所述第一指示包括移动终端应用的接口的标识,所述第一指示用于指示移动终端调用所述 移动终端应用的接口处理所述资源。
根据本公开实施例的第九方面, 提供了一种移动终端, 所述移动终端包括处理器、 存 储器、 以及一个或者一个以上的程序, 其中一个或者一个以上程序存储于所述存储器中, 且经配置以由一个或者一个以上所述处理器执行,所述一个或者一个以上程序包含用于进 行以下操作的指令:
接收客户端计算机发送的资源和第一指示,所述第一指示包括移动终端应用的接口的 标识, 所述第一指示用于指示移动终端调用所述移动终端应用的接口处理所述资源; 按照所述第一指示, 调用所述移动终端应用的接口对所述资源进行处理。
应当理解的是, 以上的一般描述和后文的细节描述仅是示例性和解释性的, 并不能限 制本发明。
本公开的一些有益效果可以包括:客户端计算机接收服务器返回的资源的存储地址和 第一指示; 从资源的存储地址下载资源, 并将下载的资源和第一指示发送给移动终端, 移 动终端收到该资源和第一指示后,会按照第一指示自动调用所述移动终端应用的接口处理 资源, 从而完成该资源的使用, 简化了移动终端资源的下载到移动终端资源的使用之间的 操作步骤, 节约了用户的时间。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性的,并不能限制本公开。 附图说明
此处的附图被并入说明书中并构成本说明书的一部分, 示出了符合本发明的实施例, 并与说明书一起用于解释本发明的原理。
在附图中- 图 1是根据一示例性实施例示出的技术方案的适用场景的示例性示意图;
图 2是根据一示例性实施例示出的一种移动终端资源处理方法的示例性流程图; 图 3-图 5 是根据一示例性实施例示出的又一种移动终端资源处理方法的示例性流程 图 6是根据一示例性实施例示出的一种移动终端资源处理装置的示例性结构示意图; 图 7是根据一示例性实施例示出的一种客户端计算机的示例性结构示意图; 图 8是根据一示例性实施例示出的一种移动终端资源处理装置的示例性结构示意图; 图 9是根据一示例性实施例示出的一种服务器的示例性结构示意图;
图 10 是根据一示例性实施例示出的一种移动终端资源处理装置的示例性结构示意 图 11是根据一示例性实施例示出的一种移动终端的示例性结构示意图。
通过上述附图, 已示出本公开明确的实施例, 后文中将有更详细的描述。 这些附图和 文字描述并不是为了通过任何方式限制本公开构思的范围,而是通过参考特定实施例为本 领域技术人员说明本公开的概念。 具体实施方式
为使本公开的目的、 技术方案和优点更加清楚明白, 下面结合实施方式和附图, 对本 公开做进一步详细说明。 在此, 本公开的示意性实施方式及其说明用于解释本公开, 但并 不作为对本公开的限定。
本公开实施例提供的技术方案的适用场景如图 1所示。参见图 1,服务器 10与客户端 计算机 11连接, 客户端计算机 11与移动终端 12连接。服务器 10中存储了各种移动终端 资源, 例如图片、 视频、 电子书、 音乐和应用程序等。 客户端计算机 11与服务器 10组成 计算机网络, 能够通过计算机网络访问服务器 10中存储的移动终端资源, 并能进行下载。 移动终端 12可以通过通用串行总线 (Universal Serial Bus, 简称 USB ) 或者 Wi-Fi与客户 端计算机 11建立连接。客户端计算机 11除了可以提供下载的移动终端资源给移动终端 12, 还可以对移动终端 12进行管理, 例如对移动终端 12中的系统文件、 短信、 联系人的综合 管理、 以及能随时备份还原移动终端 12中的重要数据。客户端计算机 11包括台式电脑和 笔记本电脑等, 移动终端 12包括智能手机和平板电脑等。
需要说明的是, 在本公开实施例中, 移动终端资源可以是由计算机网络提供、 且可以 由移动终端应用 (Application, 简称 APP) 进行处理的资源, 包括但不限于图片、 视频、 电子书、 音乐和应用程序, 资源的处理方式包括但不限于设置图片为壁纸、 播放视频、 阅 览电子书、 设置音乐为铃声、 安装应用程序等。 移动终端 APP 可以是支持移动终端操作 系统的各类应用软件,包括但不限于设置图片为壁纸的 APP、视频播放器、电子书阅览器、 设置音乐为铃声的 APP、 安装应用程序的 APP。
本公开实施例提供了一种移动终端资源处理方法、装置和设备, 该设备包括客户端计 算机、 服务器和移动终端, 以下结合附图对本公开进行详细说明。 图 2显示了本公开实施例提供的一种移动终端资源处理方法,该方法可以由客户端计 算机执行, 如图 2所示, 该方法包括:
在步骤 101中, 根据用户命令向服务器发送资源处理请求。
其中, 该资源处理请求包括资源的标识 (Identity, 简称 ID) 、 以及资源的处理方式。 在步骤 102中, 接收服务器返回的资源的存储地址和第一指示。
其中, 该第一指示包括处理该资源的移动终端 APP的接口的 ID, 第一指示用于指示 移动终端调用该移动终端 APP的接口处理资源。
在步骤 103中, 从资源的存储地址下载该资源, 并将下载的资源和该第一指示发送给 移动终端, 以使移动终端调用该移动终端 APP的接口处理该资源。
本公开实施例通过客户端计算机接收服务器返回的资源的存储地址和第一指示;从资 源的存储地址下载资源, 并将下载的资源和第一指示发送给移动终端, 移动终端收到该资 源和第一指示后, 会按照该第一指示自动调用移动终端 APP的接口的 ID对应的接口处理 该资源, 从而完成该资源的使用, 简化了移动终端资源的下载到移动终端资源的使用之间 的操作步骤, 节约了用户的时间。 图 3显示了本公开实施例提供的另一种移动终端资源处理方法,该方法可以由服务器 执行, 如图 3所示, 该方法包括:
在步骤 201中, 接收客户端计算机发送的资源处理请求。
其中, 该资源处理请求包括资源的 Π 以及资源的处理方式。
在步骤 202中, 在预置的资源的处理方式-移动终端 APP的接口的 ID的对应关系中, 获取与资源的处理方式对应的处理该资源的移动终端 APP的接口的 ID, 并在预置的资源 的 ID-存储地址的对应关系中, 获取资源处理请求中资源的 ID对应的资源的存储地址。
在步骤 203中, 生成第一指示, 并将获取到的资源的存储地址和第一指示返回给客户 端计算机。
其中, 该第一指示包括处理该资源的移动终端 APP的接口的 ID, 第一指示用于指示 移动终端调用该移动终端 APP的接口处理资源。
本公开实施例通过客户端计算机接收服务器返回的资源的存储地址和第一指示;从资 源的存储地址下载资源, 并将下载的资源和第一指示发送给移动终端, 移动终端收到该资 源和第一指示后, 会按照该第一指示自动调用移动终端 APP的接口的 ID对应的接口处理 该资源, 从而完成该资源的使用, 简化了移动终端资源的下载到移动终端资源的使用之间 的操作步骤, 节约了用户的时间。 图 4显示了本公开实施例提供的另一种移动终端资源处理方法,该方法可以由移动终 端执行, 如图 4所示, 该方法包括:
在步骤 301中, 接收客户端计算机发送的资源和第一指示。
其中, 该第一指示包括处理该资源的移动终端 APP的接口的 ID, 第一指示用于指示 移动终端调用该移动终端 APP的接口处理资源。
在步骤 302中, 按照该第一指示, 调用该移动终端 APP的接口对该资源进行处理。 本公开实施例通过客户端计算机接收服务器返回的资源的存储地址和第一指示;从资 源的存储地址下载资源, 并将下载的资源和第一指示发送给移动终端, 移动终端收到该资 源和第一指示后, 会按照该第一指示自动调用移动终端 APP的接口的 ID对应的接口处理 该资源, 从而完成该资源的使用, 简化了移动终端资源的下载到移动终端资源的使用之间 的操作步骤, 节约了用户的时间。 图 5显示了本公开实施例提供的又一种移动终端资源处理方法,在本实施例中将以移 动终端中手机为例, 具体介绍该移动终端资源的处理方法。 如图 5所示, 该方法包括: 在步骤 401中, 客户端计算机根据用户命令向服务器发送资源处理请求。
其中, 该资源处理请求包括资源的 Π 以及资源的处理方式。
可选地, 用户将手机和客户端计算机相连。客户端计算机上安装了用于管理手机的应 用软件 (例如 "手机助手" ) , 用户可以通过该应用软件管理手机。 同时, 用户可以通过 该应用软件访问提供各种手机资源的网站, 该网站由服务器承载。 用户可以査阅网站展示 的资源, 选择手机需要处理的资源, 并向该应用软件发出处理选择的资源的命令。 该应用 软件根据用户命令向服务器发送资源处理请求。
假设用户打算从该网站下载图片, 并希望下载的图片能够直接应用为手机的桌面壁 纸。 用户浏览网站中网页展示的图片, 査找心仪的图片。 当用户找到心仪的图片时, 用户 可以选中该图片图像, 并点击图像下方的 "直接设置为手机桌面壁纸"的按钮, 触发桌面 壁纸设置请求。 该请求中包括选择的图片的 ID和图片的处理方式 (即将该图片设置为手 机壁纸) 。
在步骤 402中, 服务器获取处理该需处理资源的手机 APP的接口的 ID和需处理的资 源的 ID对应的需处理资源的存储地址。
服务器接收客户端计算机发送的资源处理请求后, 在预置的资源的处理方式 -手机
APP的接口的 ID的对应关系中, 获取与需处理资源的处理方式对应的处理该需处理资源 的手机 APP的接口的 ID,并在预置的资源的 ID-存储地址的对应关系中,获取需处理的资 源的 ID对应的需处理资源的存储地址。
例如, 服务器接收资源处理请求为前述桌面壁纸设置请求。 在预置的资源的 ID-存储 地址的对应关系中, 获取桌面壁纸设置请求中携带的图片的 ID对应的存储地址。 该存储 地址存储了该图片。同时,服务器在预置的资源的处理方式 -手机 APP的接口的 ID的对应 关系中, 获取桌面壁纸设置请求中携带的图片的处理方式对应的手机 APP的接口的 ID, 即设置图片为桌面壁纸的 APP的接口的 ID。 又如, 服务器接收的资源处理请求为安装指 定 APP的请求, 该安装指定 APP的请求中携带了指定 APP的 ID和指定 APP的处理方式 (安装该指定 APP) 。 服务器在预置的资源的 ID-存储地址的对应关系中, 获取指定 APP 的 ID对应的存储地址。 该存储地址存储了该 APP的安卓安装包 (Android Package, 简称 APK) 。 同时, 服务器在预置的资源的处理方式 -手机 APP的接口的 ID的对应关系中, 获 取该指定 APP的处理方式对应的手机 APP的接口的 ID, 即安装 APP的接口的 ID。
可选地,网络维护人员预先在服务器中建立资源的处理方式 -手机 APP的接口的 ID的 对应关系。 在建立之前, 服务器的网络维护人员和手机 APP 的开发人员可以共同协商该 对应关系。 值得注意的是, 在本公开实施例中, 手机 APP的接口的 ID用于唯一标识手机 APP的接口。 也就是说, 一个手机 APP的不同接口的 ID是不同的, 例如设置壁纸的 APP 包括设置桌面壁纸的接口和设置锁屏壁纸的接口。 此外, 不同手机 APP的接口的 ID也是 不用的。
可选地,步骤 402还包括:服务器在预置的资源的处理方法 -手机 APP的 ID的对应关 系, 获取该资源对应的手机 APP的 ID, 并将获取的该资源对应的手机 APP的 ID发送给 客户端计算机。
在步骤 403中, 服务器生成第一指示, 将资源的存储地址和第一指示返回给客户端计 算机。
其中, 该第一指示包括处理该资源的手机 APP的接口的 ID, 第一指示用于指示手机 调用该手机 APP的接口处理资源。
例如, 在服务器获取图片的存储地址和设置图片为桌面壁纸的 APP的接口的 ID后, 生成第一指示, 第一指示包括设置图片为桌面壁纸的 APP的接口的 ID。 将该图片的存储 地址和第一指示返回给客户端计算机。
在步骤 404中, 客户端计算机接收服务器发送的该资源对应的手机 APP的 ID后, 检 测手机是否安装了该手机 APP。
当检测到手机安装了该手机 APP时,执行步骤 405; 当检测到手机未安装该手机 APP 时, 退出本次流程。
可选地, 客户端计算机在接收到服务器发送的该资源对应的手机 APP的 ID后, 客户 端计算机可以扫描手机上安装的所有 APP的 ID,判断安装的所有 APP中是否存在该 APP。 若手机上安装了该 APP, 执行步骤 405; 若手机上未安装该 APP, 退出本次流程。
在步骤 405中, 客户端计算机从资源的存储地址下载该资源, 并将下载的资源和第一 指示发送给手机。
可选地, 若检测到手机上安装了该 APP, 则客户端计算机从图片的存储地址将该图片 下载下来, 并将下载的图片和第一指示发送给手机。
在步骤 406中, 手机接收客户端计算机发送的资源和第一指示, 按照该第一指示, 调 用该 APP的接口对该资源进行处理。
可选地, 手机接收客户端计算机发送的下载的图片和第一指示后, 调用该设置图片为 桌面壁纸的 APP的接口, 以将下载的图片设置为桌面壁纸。
在步骤 407中, 服务器生成第二指示, 并将第二指示发送给客户端计算机。
其中, 该第二指示包括手机 APP的接口的 ID和资源的 ID,该第二指示用于指示手机 调用手机 APP的接口返回该资源的处理结果。
其中, 该资源的处理结果用于表示手机是否处理了该资源。 可选地, 本实施例中不限 定本步骤 407和步骤 403的执行顺序, 步骤 407可以与步骤 403同时执行。服务器可以在 将第一指示返回给客户端计算机 (参见步骤 403 ) 时, 携带第二指示。
假设服务器将图片的存储地址、第一指示和第二指示打包成一条命令发送给客户端计 算 机 , 该 命 令 是 callService( " setWallpaper " ,setWallPaperCallback(result){}, "http:〃 example.com/mountain.jpg" )。 其中, "setWallpaper"表示设置桌面壁纸的接口的 ID , " http://example.com/mountain.jpg " 为图片的存储地址, " call Service " 表示调用 "setWallpaper"接口处理该图片, setWallPaperCallback(result){}表示调用 "setWallpaper" 接口返回该图片的处理结果。 "setWallPaperCallback"可以是回调函数。
在步骤 408中, 客户端计算机接收服务器发送的第二指示, 将第二指示发送给手机, 并将手机返回的资源的处理结果发送给服务器。
可选地, 手机按照客户端计算机发送的第二指示, 将返回资源的处理结果给客户端计 算机。 客户端计算机收到资源的处理结果后, 向服务器发送该资源的处理结果。
本公开实施例通过客户端计算机接收服务器返回的资源的存储地址和第一指示;从资 源的存储地址下载资源, 并将下载的资源和第一指示发送给移动终端, 移动终端收到该资 源和第一指示后, 会按照该第一指示自动调用移动终端 APP的接口的 ID对应的接口处理 该资源, 从而完成该资源的使用, 简化了移动终端资源的下载到移动终端资源的使用之间 的操作步骤, 节约了用户的时间。 图 6显示了本公开实施例提供的一种移动终端资源处理装置, 如图 6所示, 该装置包 括- 发送模块 501, 用于向服务器发送资源处理请求, 该资源处理请求包括资源的 Π 以 及资源的处理方式。
第一接收模块 502, 用于接收服务器返回的资源的存储地址和第一指示。 其中, 该第 一指示包括处理该资源的移动终端 APP的接口的 ID, 第一指示用于指示移动终端调用该 移动终端 APP的接口处理资源。
下载模块 503, 用于从资源的存储地址下载该资源, 并将下载的资源和第一指示发送 给移动终端, 使移动终端调用该移动终端 APP的接口处理该资源。
可选地, 下载模块 503用于, 扫描移动终端安装的所有移动终端 APP的 ID; 按照服 务器发送的移动终端 APP的 ID, 检测移动终端是否安装了该移动终端 APP; 当检测到移 动终端安装了该移动终端 APP 时, 从资源的存储地址下载该资源, 并将下载的资源和第 一指示发送给移动终端, 使移动终端调用该移动终端 APP的接口处理该资源。
可选地, 第一接收模块 502还用于, 接收服务器发送的第二指示, 该第二指示包括移 动终端 APP的接口的 ID和资源的 ID,第二指示用于指示移动终端调用移动终端应用的接 口返回资源的处理结果; 将第二指示发送给移动终端, 并将移动终端返回的资源的处理结 果发送给服务器。
可选地, 图 6显示的装置可以设置在图 1所示的客户端计算机 11中。
本公开实施例通过客户端计算机接收服务器返回的资源的存储地址和第一指示;从资 源的存储地址下载资源, 并将下载的资源和第一指示发送给移动终端, 移动终端收到该资 源和第一指示后, 会按照该第一指示自动调用移动终端 APP的接口的 ID对应的接口处理 该资源, 从而完成该资源的使用, 简化了移动终端资源的下载到移动终端资源的使用之间 的操作步骤, 节约了用户的时间。 图 7是本公开实施例中客户端计算机(例如图 1所示的客户端计算机 11 )的结构示意 图。 参见图 7, 该客户端计算机可以用于实施上述实施例中提供的方法。 可选的:
客户端计算机 700可以包括有一个或一个以上计算机可读存储介质的存储器 710、 输 入单元 720、 显示单元 730、 音频电路 740、 WIFI (Wireless Fidelity, 无线保真)模块 750、 包括有一个或者一个以上处理核心的处理器 760、 以及电源 770等部件。 本领域技术人员 可以理解, 图中示出的客户端计算机结构并不构成对客户端计算机的限定, 可以包括比图 示更多或更少的部件, 或者组合某些部件, 或者不同的部件布置。 其中:
存储器 710可用于存储软件程序以及模块,处理器 760通过运行存储在存储器 710的 软件程序以及模块, 从而执行各种功能应用以及数据处理。存储器 710可主要包括存储程 序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比 如声音播放功能、 图像播放功能等)等; 存储数据区可存储根据客户端计算机 700的使用 所创建的数据 (比如音频数据、 电话本等)等。 此外, 存储器 710可以包括高速随机存取 存储器, 还可以包括非易失性存储器, 例如至少一个磁盘存储器件、 闪存器件、 或其他易 失性固态存储器件。 相应地, 存储器 710还可以包括存储器控制器, 以提供处理器 760和 输入单元 720对存储器 710的访问。
输入单元 720可用于接收输入的数字或字符信息, 以及产生与用户设置以及功能控制 有关的键盘、 鼠标、 操作杆、 光学或者轨迹球信号输入。 可选地, 输入单元 720可包括触 敏表面 721 以及其他输入设备 722。 触敏表面 721, 也称为触摸显示屏或者触控板, 可收 集用户在其上或附近的触摸操作(比如用户使用手指、 触笔等任何适合的物体或附件在触 敏表面 721上或在触敏表面 721附近的操作), 并根据预先设定的程式驱动相应的连接装 置。 可选的, 触敏表面 721可包括触摸检测装置和触摸控制器两个部分。 其中, 触摸检测 装置检测用户的触摸方位, 并检测触摸操作带来的信号, 将信号传送给触摸控制器; 触摸 控制器从触摸检测装置上接收触摸信息, 并将它转换成触点坐标, 再送给处理器 760, 并 能接收处理器 760发来的命令并加以执行。 此外, 可以采用电阻式、 电容式、 红外线以及 表面声波等多种类型实现触敏表面 721。 除了触敏表面 721, 输入单元 720还可以包括其 他输入设备 722。 可选地, 其他输入设备 722可以包括但不限于物理键盘、 功能键 (比如 音量控制按键、 开关按键等) 、 轨迹球、 鼠标、 操作杆等中的一种或多种。
显示单元 730 可用于显示由用户输入的信息或提供给用户的信息以及客户端计算机 700的各种图形用户接口, 这些图形用户接口可以由图形、 文本、 图标、 视频和其任意组 合来构成。 显示单元 730可包括显示面板 731, 可选的, 可以采用 LCD (Liquid Crystal
Display, 液晶显示器) 、 OLED (Organic Light-Emitting Diode, 有机发光二极管) 等形式 来配置显示面板 731。 进一步的, 触敏表面 721可覆盖显示面板 731, 当触敏表面 721检 测到在其上或附近的触摸操作后, 传送给处理器 760以确定触摸事件的类型, 随后处理器
760根据触摸事件的类型在显示面板 731上提供相应的视觉输出。 虽然在图 7中, 触敏表 面 721与显示面板 731是作为两个独立的部件来实现输入和输入功能,但是在某些实施例 中, 可以将触敏表面 721与显示面板 731集成而实现输入和输出功能。
音频电路 740包括扬声器 741和传声器 742。 传声器 742可提供用户与客户端计算机 700之间的音频接口。 音频电路 740可将接收到的音频数据转换后的电信号, 传输到扬声 器 741, 由扬声器 741转换为声音信号输出; 另一方面, 传声器 742将收集的声音信号转 换为电信号, 由音频电路 740接收后转换为音频数据, 再将音频数据输出处理器 760处理 后, 发送给比如另一客户端计算机, 或者将音频数据输出至存储器 710以便进一步处理。 音频电路 740还可能包括耳塞插孔, 以提供外设耳机与客户端计算机 700的通信。
为了实现无线通信, 该客户端计算机上可以配置有无线通信单元 750, 该无线通信单 元 750可以为 WIFI模块。 WIFI属于短距离无线传输技术, 客户端计算机 700通过无线通 信单元 750可以帮助用户收发电子邮件、 浏览网页和访问流式媒体等, 它为用户提供了无 线的宽带互联网访问。 虽然图中示出了无线通信单元 750, 但是可以理解的是, 其并不属 于客户端计算机 700 的必须构成, 完全可以根据需要在不改变公开的本质的范围内而省 略。
处理器 760是客户端计算机 700的控制中心,利用各种接口和线路连接整个客户端计 算机的各个部分, 通过运行或执行存储在存储器 710 内的软件程序和 /或模块, 以及调用 存储在存储器 710内的数据, 执行客户端计算机 700的各种功能和处理数据, 从而对客户 端计算机进行整体监控。 可选的, 处理器 760可包括一个或多个处理核心; 可选的, 处理 器 760可集成应用处理器和调制解调处理器, 其中, 应用处理器主要处理操作系统、 用户 界面和应用程序等, 调制解调处理器主要处理无线通信。 可以理解的是, 上述调制解调处 理器也可以不集成到处理器 760中。
客户端计算机 700还包括给各个部件供电的电源 770 (比如电池) , 可选的, 电源可 以通过电源管理系统与处理器 760逻辑相连,从而通过电源管理系统实现管理充电、放电、 以及功耗管理等功能。 电源 770还可以包括一个或一个以上的直流或交流电源、 再充电系 统、 电源故障检测电路、 电源转换器或者逆变器、 电源状态指示器等任意组件。
尽管未示出, 客户端计算机 700还可以包括摄像头、 蓝牙模块等, 在此不再赘述。 在 本实施例中,客户端计算机 700还包括有存储器、处理器、以及一个或者一个以上的程序, 其中一个或者一个以上程序存储于存储器中, 且经配置以由一个或者一个以上处理器执 行, 所述一个或者一个以上程序包含用于进行以下两方面操作的指令:
向服务器发送资源处理请求, 该资源处理请求包括资源的 Π 以及资源的处理方式; 接收服务器返回的资源的存储地址和第一指示; 其中, 该第一指示包括处理该资源的移动 终端 APP的接口的 ID,第一指示用于指示移动终端调用该移动终端 APP的接口处理资源; 从资源的存储地址下载该资源, 并将下载的资源和第一指示发送给移动终端, 使移动终端 调用该移动终端 APP的接口处理该资源。
可选地, 该处理器还可以执行, 扫描移动终端安装的所有移动终端 APP的 ID; 按照 服务器发送的移动终端 APP的 ID, 检测移动终端是否安装了该移动终端 APP; 当检测到 移动终端安装了该移动终端 APP 时, 从资源的存储地址下载该资源, 并将下载的资源和 第一指示发送给移动终端, 使移动终端调用该移动终端 APP的接口处理该资源。
可选地, 该处理器还可以执行, 接收服务器发送的第二指示, 该第二指示包括移动终 端 APP的接口的 ID和资源的 ID,第二指示用于指示移动终端调用移动终端应用的接口返 回资源的处理结果; 将第二指示发送给移动终端, 并将移动终端返回的资源的处理结果发 送给服务器。 图 8显示了本公开实施例提供的另一种移动终端资源处理装置, 如图 8所示, 该装置 包括:
第二接收模块 601, 用于接收客户端计算机发送的资源处理请求, 该资源处理请求包 括资源的 Π 以及资源的处理方式。
获取模块 602, 用于在预置的资源的处理方式-移动终端 APP的接口的 ID的对应关系 中, 获取与资源的处理方式对应的处理该资源的移动终端 APP的接口的 ID, 并在预置的 资源的 ID-存储地址的对应关系中, 获取需处理的资源的 ID对应的资源的存储地址。
返回模块 603, 用于生成第一指示, 并将需处理的资源的存储地址和第一指示返回给 客户端计算机。 其中, 该第一指示包括处理该资源的移动终端 APP的接口的 ID, 第一指 示用于指示移动终端调用该移动终端 APP的接口处理资源。
返回模块 603还用于, 生成第二指示, 并将第二指示发送给客户端计算机, 第二指示 包括移动终端 APP的接口的 ID和资源的 ID, 第二指示用于指示移动终端调用移动终端 APP的接口返回资源的处理结果。
可选地, 图 8显示的装置可以设置在图 1所示的服务器 10中。
本公开实施例通过客户端计算机接收服务器返回的资源的存储地址和第一指示;从资 源的存储地址下载资源, 并将下载的资源和第一指示发送给移动终端, 移动终端收到该资 源和第一指示后, 会按照该第一指示自动调用移动终端 APP的接口的 ID对应的接口处理 该资源, 从而完成该资源的使用, 简化了移动终端资源的下载到移动终端资源的使用之间 的操作步骤, 节约了用户的时间。 图 9是本公开实施例中服务器(例如图 1所示的服务器 10)的结构示意图。参见图 9, 该服务器可以用于实施上述实施例中提供的方法。 可选的:
该服务器 1900可因配置或性能不同而产生比较大的差异, 可以包括一个或一个以上
CPU ( central processing units, 中央处理器) 1922 (例如, 一个或一个以上处理器) 和存 储器 1932, 一个或一个以上存储应用程序 1942或数据 1944的存储介质 1930 (例如一个 或一个以上海量存储设备) 。 其中, 存储器 1932和存储介质 1930可以是短暂存储或持久 存储。 存储在存储介质 1930的程序可以包括一个或一个以上模块 (图示没标出) , 每个 模块可以包括对服务器中的一系列指令操作。 更进一步地, 中央处理器 1922可以设置为 与存储介质 1930通信, 在服务器 1900上执行存储介质 1930中的一系列指令操作。
服务器 1900还可以包括一个或一个以上电源 1926, 一个或一个以上有线或无线网络 接口 1950, 一个或一个以上输入输出接口 1958, 一个或一个以上键盘 1956, 和 /或, 一个 或一个以上操作系统 1941, 例如 Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM等等。
服务器 1900包括 CPU和存储器, 以及一个或者一个以上的程序, 其中一个或者一个 以上程序存储于存储器中, 且经配置以由一个或者一个以上 CPU执行, 一个或者一个以 上程序包含用于进行以下操作的指令:
接收客户端计算机发送的资源处理请求, 该资源处理请求包括资源的 ID、 以及资源 的处理方式;在预置的资源的处理方式-移动终端 APP的接口的 ID的对应关系中,获取与 资源的处理方式对应的处理该资源的移动终端 APP的接口的 ID, 并在预置的资源的 ID- 存储地址的对应关系中, 获取需处理的资源的 ID对应的资源的存储地址; 生成第一指示, 并将需处理的资源的存储地址和第一指示返回给客户端计算机。其中, 该第一指示包括处 理该资源的移动终端 APP的接口的 ID, 第一指示用于指示移动终端调用该移动终端 APP 的接口处理资源。
可选地, CPU还可以执行, 生成第二指示, 并将第二指示发送给客户端计算机, 第二 指示包括移动终端 APP的接口的 ID和资源的 ID,第二指示用于指示移动终端调用移动终 端 APP的接口返回资源的处理结果。 图 10显示了本公开实施例提供的又一种移动终端资源处理装置, 如图 10所示, 该装 置包括- 第三接收模块 701, 用于接收客户端计算机下载的资源和第一指示。 其中, 该第一指 示包括处理该资源的移动终端 APP的接口的 ID, 第一指示用于指示移动终端调用该移动 终端 APP的接口处理资源。
调用模块 702,用于按照该第一指示,调用该移动终端 APP的接口对该资源进行处理。 可选地, 第三接收模块 701还用于, 接收客户端计算机发送的第二指示, 第二指示包 括移动终端 APP的接口的 ID和资源的 ID,第二指示用于指示移动终端调用移动终端 APP 的接口返回资源的处理结果。
调用模块 702还用于, 按照第二指示, 调用移动终端 APP的接口返回资源的处理结 果, 并将资源的处理结果发送给客户端计算机。
可选地, 图 10显示的装置可以设置在图 1所示的移动终端 12中。
本公开实施例通过客户端计算机接收服务器返回的资源的存储地址和第一指示;从资 源的存储地址下载资源, 并将下载的资源和第一指示发送给移动终端, 移动终端收到该资 源和第一指示后, 会按照该第一指示自动调用移动终端 APP的接口的 ID对应的接口处理 该资源, 从而完成该资源的使用, 简化了移动终端资源的下载到移动终端资源的使用之间 的操作步骤, 节约了用户的时间。 图 11是本公开实施例中移动终端 (例如图 1所示的移动终端 12) 的结构示意图。 参 见图 11, 该移动终端可以用于实施上述实施例中提供的方法。 可选的:
移动终端 800可以包括通信单元 110、 包括有一个或一个以上计算机可读存储介质的 存储器 120、输入单元 130、显示单元 140、传感器 150、音频电路 160、WIFI( Wireless Fidelity, 无线保真) 模块 170、 包括有一个或者一个以上处理核心的处理器 180、 以及电源 190等 部件。 本领域技术人员可以理解, 图中示出的移动终端结构并不构成对移动终端的限定, 可以包括比图示更多或更少的部件, 或者组合某些部件, 或者不同的部件布置。 其中: 通信单元 110可用于收发信息或通话过程中, 信号的接收和发送, 该通信单元 no可 以为 RF (Radio Frequency, 射频) 电路、 路由器、 调制解调器、 等网络通信设备。 特别 地, 当通信单元 110为 RF电路时, 将基站的下行信息接收后, 交由一个或者一个以上处 理器 180处理; 另外, 将涉及上行的数据发送给基站。 通常, 作为通信单元的 RF电路包 括但不限于天线、 至少一个放大器、 调谐器、 一个或多个振荡器、 用户身份模块 (SIM) 卡、 收发信机、 耦合器、 LNA (Low Noise Amplifier, 低噪声放大器) 、 双工器等。 此外, 通信单元 110还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通 信标准或协议, 包括但不限于 GSM (Global System of Mobile communication, 全球移动通 讯系统)、 GPRS (General Packet Radio Service,通用分组无线服务)、 CDMA (Code Division Multiple Access, 码分多址) 、 WCDMA (Wideband Code Division Multiple Access, 宽带 码分多址) 、 LTE (Long Term Evolution, 长期演进) 、 电子邮件、 SMS ( Short Messaging Service, 短消息服务)等。 存储器 120可用于存储软件程序以及模块, 处理器 180通过运 行存储在存储器 120的软件程序以及模块, 从而执行各种功能应用以及数据处理。存储器 120可主要包括存储程序区和存储数据区, 其中, 存储程序区可存储操作系统、 至少一个 功能所需的应用程序(比如声音播放功能、 图像播放功能等)等; 存储数据区可存储根据 移动终端 800的使用所创建的数据 (比如音频数据、 电话本等)等。 此外, 存储器 120可 以包括高速随机存取存储器, 还可以包括非易失性存储器, 例如至少一个磁盘存储器件、 闪存器件、 或其他易失性固态存储器件。 相应地, 存储器 120还可以包括存储器控制器, 以提供处理器 180和输入单元 130对存储器 120的访问。
输入单元 130可用于接收输入的数字或字符信息, 以及产生与用户设置以及功能控制 有关的键盘、 鼠标、 操作杆、 光学或者轨迹球信号输入。 可选地, 输入单元 130可包括触 敏表面 131 以及其他输入设备 132。 触敏表面 131, 也称为触摸显示屏或者触控板, 可收 集用户在其上或附近的触摸操作(比如用户使用手指、 触笔等任何适合的物体或附件在触 敏表面 131上或在触敏表面 131附近的操作), 并根据预先设定的程式驱动相应的连接装 置。 可选的, 触敏表面 131可包括触摸检测装置和触摸控制器两个部分。 其中, 触摸检测 装置检测用户的触摸方位, 并检测触摸操作带来的信号, 将信号传送给触摸控制器; 触摸 控制器从触摸检测装置上接收触摸信息, 并将它转换成触点坐标, 再送给处理器 180, 并 能接收处理器 180发来的命令并加以执行。 此外, 可以采用电阻式、 电容式、 红外线以及 表面声波等多种类型实现触敏表面 131。 除了触敏表面 131, 输入单元 130还可以包括其 他输入设备 132。 可选地, 其他输入设备 132可以包括但不限于物理键盘、 功能键 (比如 音量控制按键、 开关按键等) 、 轨迹球、 鼠标、 操作杆等中的一种或多种。
显示单元 140可用于显示由用户输入的信息或提供给用户的信息以及移动终端 800的 各种图形用户接口, 这些图形用户接口可以由图形、 文本、 图标、 视频和其任意组合来构 成。 显示单元 140可包括显示面板 141, 可选的, 可以采用 LCD (Liquid Crystal Display, 液晶显示器) 、 OLED (Organic Light-Emitting Diode, 有机发光二极管) 等形式来配置显 示面板 141。 进一步的, 触敏表面 131可覆盖显示面板 141, 当触敏表面 131检测到在其 上或附近的触摸操作后, 传送给处理器 180以确定触摸事件的类型, 随后处理器 180根据 触摸事件的类型在显示面板 141上提供相应的视觉输出。 虽然在图 11 中, 触敏表面 131 与显示面板 141是作为两个独立的部件来实现输入和输入功能, 但是在某些实施例中, 可 以将触敏表面 131与显示面板 141集成而实现输入和输出功能。
移动终端 800还可包括至少一种传感器 150, 比如光传感器、 运动传感器以及其他传 感器。 光传感器可包括环境光传感器及接近传感器, 其中, 环境光传感器可根据环境光线 的明暗来调节显示面板 141的亮度, 接近传感器可在移动终端 800移动到耳边时, 关闭显 示面板 141和 /或背光。作为运动传感器的一种, 重力加速度传感器可检测各个方向上(一 般为三轴)加速度的大小, 静止时可检测出重力的大小及方向, 可用于识别移动终端姿态 的应用 (比如横竖屏切换、 相关游戏、 磁力计姿态校准) 、 振动识别相关功能 (比如计步 器、 敲击) 等; 至于移动终端 800还可配置的陀螺仪、 气压计、 湿度计、 温度计、 红外线 传感器等其他传感器, 在此不再赘述。
音频电路 160、扬声器 161, 传声器 162可提供用户与移动终端 800之间的音频接口。 音频电路 160可将接收到的音频数据转换后的电信号, 传输到扬声器 161, 由扬声器 161 转换为声音信号输出; 另一方面, 传声器 162将收集的声音信号转换为电信号, 由音频电 路 160接收后转换为音频数据, 再将音频数据输出处理器 180处理后, 经 RF电路 110以 发送给比如另一移动终端, 或者将音频数据输出至存储器 120以便进一步处理。 音频电路 160还可能包括耳塞插孔, 以提供外设耳机与移动终端 800的通信。
为了实现无线通信,该移动终端上可以配置有无线通信单元 170,该无线通信单元 170 可以为 WIFI模块。 WIFI属于短距离无线传输技术, 移动终端 800通过无线通信单元 170 可以帮助用户收发电子邮件、 浏览网页和访问流式媒体等, 它为用户提供了无线的宽带互 联网访问。 虽然图中示出了无线通信单元 170, 但是可以理解的是, 其并不属于移动终端 800的必须构成, 完全可以根据需要在不改变公开的本质的范围内而省略。
处理器 180是移动终端 800的控制中心,利用各种接口和线路连接整个移动终端的各 个部分, 通过运行或执行存储在存储器 120 内的软件程序和 /或模块, 以及调用存储在存 储器 120内的数据, 执行移动终端 800的各种功能和处理数据, 从而对移动终端进行整体 监控。 可选的, 处理器 180可包括一个或多个处理核心; 可选的, 处理器 180可集成应用 处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等, 调制解调处理器主要处理无线通信。可以理解的是, 上述调制解调处理器也可以不集成到 处理器 180中。
移动终端 800还包括给各个部件供电的电源 190 (比如电池) , 可选的, 电源可以通 过电源管理系统与处理器 180逻辑相连, 从而通过电源管理系统实现管理充电、 放电、 以 及功耗管理等功能。电源 190还可以包括一个或一个以上的直流或交流电源、再充电系统、 电源故障检测电路、 电源转换器或者逆变器、 电源状态指示器等任意组件。
尽管未示出, 移动终端 800还可以包括摄像头、 蓝牙模块等, 在此不再赘述。 在本实 施例中, 移动终端还包括有存储器, 以及一个或者一个以上的程序, 其中一个或者一个以 上程序存储于存储器中, 且经配置以由一个或者一个以上处理器执行, 所述一个或者一个 以上程序包含用于进行以下两方面操作的指令:
接收客户端计算机下载的资源和第一指示。其中, 该第一指示包括处理该资源的移动 终端 APP的接口的 ID,第一指示用于指示移动终端调用该移动终端 APP的接口处理资源; 按照该第一指示, 调用该移动终端 APP的接口对该资源进行处理。
可选地, 该处理器还可以执行, 接收客户端计算机发送的第二指示, 第二指示包括移 动终端 APP的接口的 ID和资源的 ID, 第二指示用于指示移动终端调用移动终端 APP的 接口返回资源的处理结果; 按照第二指示, 调用移动终端 APP 的接口返回资源的处理结 果, 并将资源的处理结果发送给客户端计算机。 此外, 典型地, 本公开所述的移动终端可为各种手持移动终端, 本公开的保护范围不 应限定为某种特定类型的移动终端。 此外, 根据本公开的方法还可以被实现为由 CPU执行的计算机程序。 在该计算机程 序被 CPU执行时, 执行本公开的方法中限定的上述功能。
此外,上述方法步骤以及系统单元也可以利用控制器以及用于存储使得控制器实现上 述步骤或单元功能的计算机程序的计算机可读存储设备实现。 此外, 应该明白的是, 本文所述的计算机可读存储设备 (例如, 存储器)可以是易失性 存储器或非易失性存储器, 或者可以包括易失性存储器和非易失性存储器两者。作为例子 而非限制性的, 非易失性存储器可以包括只读存储器 (ROM;)、 可编程 ROM(PROM;)、 电可 编程 ROM(EPROM;)、 电可擦写可编程 ROM(EEPROM)或快闪存储器。 易失性存储器可以 包括随机存取存储器 (RAM), 该 RAM可以充当外部高速缓存存储器。 作为例子而非限制 性的, RAM 可以以多种形式获得, 比如同步 RAM(DRAM;)、 动态 RAM(DRAM;)、 同步 DRAM(SDRAM)、双数据速率 SDRAM(DDR SDRAM)、增强 SDRAM(E SDRAM)、 同步链 路 DRAM(SLDRAM)以及直接 RambusRAM(DRRAM)。所公开的方面的存储设备意在包括 但不限于这些和其它合适类型的存储器。 本领域技术人员还将明白的是, 结合这里的公开所描述的各种示例性逻辑块、 模块、 电路和算法步骤可以被实现为电子硬件、计算机软件或两者的组合。 为了清楚地说明硬件 和软件的这种可互换性, 已经就各种示意性组件、 方块、 模块、 电路和步骤的功能对其进 行了一般性的描述。这种功能是被实现为软件还是被实现为硬件取决于具体应用以及施加 给整个系统的设计约束。本领域技术人员可以针对每种具体应用以各种方式来实现所述的 功能, 但是这种实现决定不应被解释为导致脱离本公开的范围。
结合这里的公开所描述的各种示例性逻辑块、模块和电路可以利用被设计成用于执行 这里所述功能的下列部件来实现或执行: 通用处理器、 数字信号处理器 (DSP)、 专用集成 电路 (ASIC)、 现场可编程门阵列 (FPGA) 或其它可编程逻辑器件、 分立门或晶体管逻辑、 分立的硬件组件或者这些部件的任何组合。 通用处理器可以是微处理器, 但是可替换地, 处理器可以是任何传统处理器、 控制器、 微控制器或状态机。 处理器也可以被实现为计算 设备的组合, 例如, DSP 和微处理器的组合、 多个微处理器、 一个或多个微处理器结合 DSP 核、 或任何其它这种配置。
结合这里的公开所描述的方法或算法的步骤可以直接包含在硬件中、由处理器执行的 软件模块中或这两者的组合中。软件模块可以驻留在 RAM存储器、快闪存储器、 ROM存 储器、 EPROM存储器、 EEPROM存储器、 寄存器、 硬盘、 可移动盘、 CD-ROM、 或本领 域已知的任何其它形式的存储介质中。示例性的存储介质被耦合到处理器, 使得处理器能 够从该存储介质中读取信息或向该存储介质写入信息。在一个替换方案中, 所述存储介质 可以与处理器集成在一起。 处理器和存储介质可以驻留在 ASIC 中。 ASIC可以驻留在用 户移动终端中。在一个替换方案中, 处理器和存储介质可以作为分立组件驻留在用户移动 终端中。
在一个或多个示例性设计中,所述功能可以在硬件、软件、固件或其任意组合中实现。 如果在软件中实现,则可以将所述功能作为一个或多个指令或代码存储在计算机可读介质 上或通过计算机可读介质来传送。计算机可读介质包括计算机存储介质和通信介质, 该通 信介质包括有助于将计算机程序从一个位置传送到另一个位置的任何介质。存储介质可以 是能够被通用或专用计算机访问的任何可用介质。作为例子而非限制性的, 该计算机可读 介质可以包括 RAM、 ROM、 EEPROM ^ CD-ROM或其它光盘存储设备、 磁盘存储设备或 其它磁性存储设备,或者是可以用于携带或存储形式为指令或数据结构的所需程序代码并 且能够被通用或专用计算机或者通用或专用处理器访问的任何其它介质。此外, 任何连接 都可以适当地称为计算机可读介质。 例如, 如果使用同轴线缆、 光纤线缆、 双绞线、 数字 用户线路 (DSL)或诸如红外线、 无线电和微波的无线技术来从网站、 服务器或其它远程源 发送软件, 则上述同轴线缆、 光纤线缆、 双绞线、 DSL 或诸如红外先、 无线电和微波的 无线技术均包括在介质的定义。 如这里所使用的, 磁盘和光盘包括压缩盘 (CD)、 激光盘、 光盘、 数字多功能盘 (DVD)、 软盘、 蓝光盘, 其中磁盘通常磁性地再现数据, 而光盘利用 激光光学地再现数据。 上述内容的组合也应当包括在计算机可读介质的范围内。
尽管前面公开的内容示出了本公开的示例性实施例, 但是应当注意, 在不背离权利要 求限定的本公开的范围的前提下, 可以进行多种改变和修改。根据这里描述的公开实施例 的方法权利要求的功能、 步骤和 /或动作不需以任何特定顺序执行。 此外, 尽管本公开的 元素可以以个体形式描述或要求, 但是也可以设想多个, 除非明确限制为单数。 以上所述的具体实施方式, 对本公开的目的、 技术方案和有益效果进行了进一步详细 说明, 所应理解的是, 以上所述仅为本公开的具体实施方式而已, 并不用于限定本公开的 保护范围, 凡在本公开的精神和原则之内, 所做的任何修改、 等同替换、 改进等, 均应包 含在本公开的保护范围之内。

Claims

权利要求
1、 一种移动终端资源处理方法, 其特征在于, 所述方法包括:
客户端计算机根据用户命令向服务器发送资源处理请求,所述资源处理请求包括资源 的标识、 以及所述资源的处理方式;
接收所述服务器返回的所述资源的存储地址和第一指示,所述第一指示包括移动终端 应用的接口的标识,所述第一指示用于指示移动终端调用所述移动终端应用的接口处理所 述资源;
从所述资源的存储地址下载所述资源,并将下载的所述资源和所述第一指示发送给移 动终端, 以使所述移动终端调用所述移动终端应用的接口处理所述资源。
2、 根据权利要求 1所述的方法, 其特征在于, 所述从所述资源的存储地址下载所述 资源, 包括:
扫描所述移动终端安装的所有移动终端应用的标识;
按照所述服务器发送的所述移动终端应用的标识,检测所述移动终端是否安装了所述 移动终端应用;
当检测到所述移动终端安装了所述移动终端应用时,从所述资源的存储地址下载所述 资源。
3、 根据权利要求 1或 2所述的方法, 其特征在于, 所述方法还包括:
接收所述服务器发送的第二指示,所述第二指示包括所述移动终端应用的接口的标识 和所述资源的标识,所述第二指示用于指示移动终端调用所述移动终端应用的接口返回所 述资源的处理结果;
将所述第二指示发送给所述移动终端,并将所述移动终端返回的所述资源的处理结果 发送给所述服务器。
4、 一种移动终端资源处理方法, 其特征在于, 所述方法包括:
服务器接收客户端计算机发送的资源处理请求, 所述资源处理请求包括资源的标识、 以及所述资源的处理方式;
在预置的资源的处理方式与移动终端应用的接口的标识的对应关系中,获取与所述资 源的处理方式对应的处理所述资源的移动终端应用的接口的标识,并在预置的资源的标识 与存储地址的对应关系中, 获取所述资源的标识对应的所述资源的存储地址;
生成第一指示, 并将所述资源的存储地址和所述第一指示返回给所述客户端计算机, 所述第一指示包括移动终端应用的接口的标识,所述第一指示用于指示移动终端调用所述 移动终端应用的接口处理所述资源。
5、 根据权利要求 4所述的方法, 其特征在于, 所述方法还包括:
生成第二指示,并将所述第二指示发送给所述客户端计算机,所述第二指示包括所述 移动终端应用的接口的标识和所述资源的标识,所述第二指示用于指示移动终端调用所述 移动终端应用的接口返回所述资源的处理结果。
6、 一种移动终端资源处理方法, 其特征在于, 所述方法包括:
移动终端接收客户端计算机发送的资源和第一指示,所述第一指示包括移动终端应用 的接口的标识,所述第一指示用于指示移动终端调用所述移动终端应用的接口处理所述资 源;
按照所述第一指示, 调用所述移动终端应用的接口对所述资源进行处理。
7、 根据权利要求 6所述的方法, 其特征在于, 所述方法还包括:
接收所述客户端计算机发送的第二指示,所述第二指示包括所述移动终端应用的接口 的标识和所述资源的标识,所述第二指示用于指示移动终端调用所述移动终端应用的接口 返回所述资源的处理结果;
按照所述第二指示,调用所述移动终端应用的接口返回所述资源的处理结果,并将所 述资源的处理结果发送给所述客户端计算机。
8、 一种移动终端资源处理装置, 其特征在于, 所述装置包括:
发送模块,用于根据用户命令向服务器发送资源处理请求,所述资源处理请求包括资 源的标识、 以及所述资源的处理方式;
第一接收模块,用于接收所述服务器返回的所述资源的存储地址和第一指示,所述第 一指示包括移动终端应用的接口的标识,所述第一指示用于指示移动终端调用所述移动终 端应用的接口处理所述资源;
下载模块,用于从所述资源的存储地址下载所述资源,并将下载的所述资源和所述第 一指示发送给移动终端, 以使所述移动终端调用所述移动终端应用的接口处理所述资源。
9、 根据权利要求 8所述的装置, 其特征在于, 所述下载模块用于:
扫描所述移动终端安装的所有移动终端应用的标识;按照所述服务器发送的所述移动 终端应用的标识,检测所述移动终端是否安装了所述移动终端应用; 当检测到所述移动终 端安装了所述移动终端应用时,从所述资源的存储地址下载所述资源,并将下载的所述资 源和所述第一指示发送给移动终端,以使所述移动终端调用所述移动终端应用的接口处理 所述资源。
10、 根据权利要求 8或 9所述的装置, 其特征在于, 所述第一接收模块还用于, 接收所述服务器发送的第二指示,所述第二指示包括所述移动终端应用的接口的标识 和所述资源的标识,所述第二指示用于指示移动终端调用所述移动终端应用的接口返回所 述资源的处理结果;
将所述第二指示发送给所述移动终端,并将所述移动终端返回的所述资源的处理结果 发送给所述服务器。
11、 一种移动终端资源处理装置, 其特征在于, 所述装置包括:
第二接收模块,用于接收客户端计算机发送的资源处理请求,所述资源处理请求包括 资源的标识、 以及所述资源的处理方式;
获取模块, 用于在预置的资源的处理方式与移动终端应用的接口的标识的对应关系 中,获取与所述资源的处理方式对应的处理所述资源的移动终端应用的接口的标识,并在 预置的资源的标识与存储地址的对应关系中,获取所述资源的标识对应的所述资源的存储 地址;
返回模块,用于生成第一指示,并将所述资源的存储地址和所述第一指示返回给所述 客户端计算机,所述第一指示包括移动终端应用的接口的标识,所述第一指示用于指示移 动终端调用所述移动终端应用的接口处理所述资源。
12、 根据权利要求 11所述的装置, 其特征在于, 所述返回模块还用于,
生成第二指示,并将所述第二指示发送给所述客户端计算机,所述第二指示包括所述 移动终端应用的接口的标识和所述资源的标识,所述第二指示用于指示移动终端调用所述 移动终端应用的接口返回所述资源的处理结果。
13、 一种移动终端资源处理装置, 其特征在于, 所述装置包括:
第三接收模块,用于接收客户端计算机发送的资源和第一指示,所述第一指示包括移 动终端应用的接口的标识,所述第一指示用于指示移动终端调用所述移动终端应用的接口 处理所述资源;
调用模块,用于按照所述第一指示,调用所述移动终端应用的接口对所述资源进行处 理。
14、 根据权利要求 11所述的装置, 其特征在于, 所述第三接收模块还用于, 接收所述客户端计算机发送的第二指示,所述第二指示包括所述移动终端应用的接口 的标识和所述资源的标识,所述第二指示用于指示移动终端调用所述移动终端应用的接口 返回所述资源的处理结果;
所述调用模块还用于,按照所述第二指示,调用所述移动终端应用的接口返回所述资 源的处理结果, 并将所述资源的处理结果发送给所述客户端计算机。
15、 一种客户端计算机, 其特征在于, 所述客户端计算机包括处理器、 存储器、 以及 一个或者一个以上的程序,其中一个或者一个以上程序存储于所述存储器中,且经配置以 由一个或者一个以上所述处理器执行,所述一个或者一个以上程序包含用于进行以下操作 的指令- 根据用户命令向服务器发送资源处理请求,所述资源处理请求包括资源的标识、 以及 所述资源的处理方式;
接收所述服务器返回的所述资源的存储地址和第一指示,所述第一指示包括移动终端 应用的接口的标识,所述第一指示用于指示移动终端调用所述移动终端应用的接口处理所 述资源;
从所述资源的存储地址下载所述资源,并将下载的所述资源和所述第一指示发送给移 动终端, 以使所述移动终端调用所述移动终端应用的接口处理所述资源。
16、 一种服务器, 其特征在于, 所述服务器包括处理器、 存储器、 以及一个或者一个 以上的程序,其中一个或者一个以上程序存储于所述存储器中,且经配置以由一个或者一 个以上所述处理器执行, 所述一个或者一个以上程序包含用于进行以下操作的指令: 接收客户端计算机发送的资源处理请求,所述资源处理请求包括资源的标识、 以及所 述资源的处理方式;
在预置的资源的处理方式与移动终端应用的接口的标识的对应关系中,获取与所述资 源的处理方式对应的处理所述资源的移动终端应用的接口的标识,并在预置的资源的标识 与存储地址的对应关系中, 获取所述资源的标识对应的所述资源的存储地址;
生成第一指示, 并将所述资源的存储地址和所述第一指示返回给所述客户端计算机, 所述第一指示包括移动终端应用的接口的标识,所述第一指示用于指示移动终端调用所述 移动终端应用的接口处理所述资源。
17、 一种移动终端, 其特征在于, 所述移动终端包括处理器、 存储器、 以及一个或者 一个以上的程序,其中一个或者一个以上程序存储于所述存储器中,且经配置以由一个或 者一个以上所述处理器执行, 所述一个或者一个以上程序包含用于进行以下操作的指令: 接收客户端计算机发送的资源和第一指示,所述第一指示包括移动终端应用的接口的 标识, 所述第一指示用于指示移动终端调用所述移动终端应用的接口处理所述资源; 按照所述第一指示, 调用所述移动终端应用的接口对所述资源进行处理。
PCT/CN2014/077097 2013-10-31 2014-05-09 移动终端资源处理方法、装置和设备 WO2015062234A1 (zh)

Priority Applications (6)

Application Number Priority Date Filing Date Title
RU2015122487A RU2614578C2 (ru) 2013-10-31 2014-05-09 Способ, устройство и установка для обработки ресурса для мобильного терминала
BR112014017992A BR112014017992A8 (pt) 2013-10-31 2014-05-09 Método, dispositivo e aparelho para processar um recurso de terminal móvel, computador, servidor e terminal móvel
KR1020147021526A KR101621637B1 (ko) 2013-10-31 2014-05-09 이동 단말기 리소스 처리 방법과 장치, 클라이언트측 컴퓨터, 서버, 이동 단말기, 프로그램 및 기록매체
MX2014008884A MX345148B (es) 2013-10-31 2014-05-09 Metodo, dispositivo de aparato para el procesamiento de recursos de terminal movil.
JP2015544351A JP5997848B2 (ja) 2013-10-31 2014-05-09 移動端末リソースの処理方法、装置、クライアント側のコンピュータ、サーバ、移動端末、プログラム、及び記録媒体
US14/461,512 US10057740B2 (en) 2013-10-31 2014-08-18 Methods and devices for processing mobile terminal resource

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310530384.3 2013-10-31
CN201310530384.3A CN103607431B (zh) 2013-10-31 2013-10-31 移动终端资源处理方法、装置和设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/461,512 Continuation US10057740B2 (en) 2013-10-31 2014-08-18 Methods and devices for processing mobile terminal resource

Publications (1)

Publication Number Publication Date
WO2015062234A1 true WO2015062234A1 (zh) 2015-05-07

Family

ID=50125631

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/077097 WO2015062234A1 (zh) 2013-10-31 2014-05-09 移动终端资源处理方法、装置和设备

Country Status (8)

Country Link
EP (1) EP2869604B1 (zh)
JP (1) JP5997848B2 (zh)
KR (1) KR101621637B1 (zh)
CN (1) CN103607431B (zh)
BR (1) BR112014017992A8 (zh)
MX (1) MX345148B (zh)
RU (1) RU2614578C2 (zh)
WO (1) WO2015062234A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607431B (zh) * 2013-10-31 2016-04-27 小米科技有限责任公司 移动终端资源处理方法、装置和设备
US10057740B2 (en) 2013-10-31 2018-08-21 Xiaomi Inc. Methods and devices for processing mobile terminal resource
CN104615623B (zh) * 2014-07-17 2018-03-02 腾讯科技(深圳)有限公司 一种获取网络资源的方法和装置
CN108664342A (zh) * 2018-04-28 2018-10-16 广州市百果园信息技术有限公司 扩展基于web规范小程序运算能力的方法、系统及存储介质
CN110138833B (zh) * 2019-04-12 2023-05-30 中国平安人寿保险股份有限公司 APP中React Native模块的快速调试方法、装置、介质和设备
CN112866404B (zh) * 2021-02-03 2023-01-24 视若飞信息科技(上海)有限公司 一种半云系统及执行方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102752457A (zh) * 2012-07-19 2012-10-24 腾讯科技(深圳)有限公司 一种安装应用的方法及系统
CN103108032A (zh) * 2012-12-31 2013-05-15 王玉娇 多设备协同下载和管理应用程序的方法及相关设备
CN103338254A (zh) * 2013-06-28 2013-10-02 腾讯科技(深圳)有限公司 跨终端的应用推送方法、装置、终端及系统
CN103607431A (zh) * 2013-10-31 2014-02-26 小米科技有限责任公司 移动终端资源处理方法、装置和设备

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000322359A (ja) * 1999-05-11 2000-11-24 Sony Computer Entertainment Inc 通信システム、通信方法及び記録媒体
EP1703382A1 (en) * 2005-03-16 2006-09-20 Sun Microsystems, Inc. Method for loading applications to a mobile device
GB2445991B (en) * 2007-01-26 2009-04-01 Key Criteria Connect Ltd Method of loading software in mobile and desktop environments
CA2682731A1 (en) * 2007-04-11 2008-10-23 Vinod Anupam System and method for delivering content to a user of a telephony device
US20090083765A1 (en) * 2007-09-20 2009-03-26 Microsoft Corporation Accessing device-hosted services from scripting and other programming environments
EP2360583A3 (en) * 2010-02-12 2011-09-28 Samsung Electronics Co., Ltd. Method and system for installing applications
JP5530320B2 (ja) * 2010-09-16 2014-06-25 株式会社Nttドコモ サーバ、システム、及び方法
US20120131570A1 (en) * 2010-11-18 2012-05-24 Nokia Corporation Method and apparatus for customizing device content
US20120159388A1 (en) * 2010-12-20 2012-06-21 Fanhattan, L.L.C. System and method for in-context applications

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102752457A (zh) * 2012-07-19 2012-10-24 腾讯科技(深圳)有限公司 一种安装应用的方法及系统
CN103108032A (zh) * 2012-12-31 2013-05-15 王玉娇 多设备协同下载和管理应用程序的方法及相关设备
CN103338254A (zh) * 2013-06-28 2013-10-02 腾讯科技(深圳)有限公司 跨终端的应用推送方法、装置、终端及系统
CN103607431A (zh) * 2013-10-31 2014-02-26 小米科技有限责任公司 移动终端资源处理方法、装置和设备

Also Published As

Publication number Publication date
KR20150061614A (ko) 2015-06-04
JP5997848B2 (ja) 2016-09-28
MX2014008884A (es) 2015-08-26
EP2869604A1 (en) 2015-05-06
BR112014017992A8 (pt) 2017-07-11
EP2869604B1 (en) 2016-05-25
RU2015122487A (ru) 2017-01-10
CN103607431A (zh) 2014-02-26
JP2016504671A (ja) 2016-02-12
KR101621637B1 (ko) 2016-05-16
MX345148B (es) 2017-01-17
BR112014017992A2 (zh) 2017-06-20
CN103607431B (zh) 2016-04-27
RU2614578C2 (ru) 2017-03-28

Similar Documents

Publication Publication Date Title
JP6467526B2 (ja) 通信メッセージ送信方法及びウェアラブル・デバイス
WO2017206916A1 (zh) 处理器中内核运行配置的确定方法以及相关产品
WO2016150331A1 (zh) 一种运行游戏客户端的方法和装置
US10853437B2 (en) Method and apparatus for invoking application programming interface
WO2016150270A1 (zh) 群组会话消息处理方法和装置
WO2016127795A1 (zh) 业务处理方法、服务器及终端
CN107329901B (zh) 数据包抓取方法、终端、服务器和存储介质
WO2014206143A1 (zh) 未读消息数目显示方法、装置和设备
WO2018077041A1 (zh) 应用运行的方法及装置
WO2015062234A1 (zh) 移动终端资源处理方法、装置和设备
WO2018095130A1 (zh) 一种确定直播时长的方法和系统
WO2014206138A1 (zh) 一种更新网页数据的方法、装置和终端设备
WO2015010466A1 (zh) 信息显示方法、装置和移动终端
WO2014000652A1 (zh) 浏览器插件安装方法、装置及终端
WO2018049894A1 (zh) 数据传输方法及设备
WO2017096909A1 (zh) 建立数据连接的方法及装置
JP2018504708A (ja) 情報の推薦を管理するための方法、デバイス、およびシステム
US10298590B2 (en) Application-based service providing method, apparatus, and system
WO2015062240A1 (zh) 一种应用安装的方法、装置和设备
WO2014026581A1 (zh) 信息管理的方法、客户端及移动终端
KR101876394B1 (ko) 단말기에 미디어 데이터를 재생하는 방법 및 장치
WO2017000495A1 (zh) 一种添加联系人的方法及设备
JP5976233B2 (ja) アプリ保護方法、装置、端末、プログラム、及び記録媒体
CN107463395B (zh) 组件调用方法及装置
WO2015067206A1 (zh) 一种文件查找的方法及终端

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: MX/A/2014/008884

Country of ref document: MX

ENP Entry into the national phase

Ref document number: 20147021526

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2015544351

Country of ref document: JP

Kind code of ref document: A

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112014017992

Country of ref document: BR

ENP Entry into the national phase

Ref document number: 2015122487

Country of ref document: RU

Kind code of ref document: A

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

Ref document number: 14857013

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: 14857013

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 112014017992

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20140722