WO2014015795A1 - 在移动设备中为多个候选应用提供通信连接的方法与设备 - Google Patents

在移动设备中为多个候选应用提供通信连接的方法与设备 Download PDF

Info

Publication number
WO2014015795A1
WO2014015795A1 PCT/CN2013/079921 CN2013079921W WO2014015795A1 WO 2014015795 A1 WO2014015795 A1 WO 2014015795A1 CN 2013079921 W CN2013079921 W CN 2013079921W WO 2014015795 A1 WO2014015795 A1 WO 2014015795A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
candidate
connection
message
communication
Prior art date
Application number
PCT/CN2013/079921
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 US14/412,295 priority Critical patent/US10506021B2/en
Priority to JP2015523399A priority patent/JP6243906B2/ja
Publication of WO2014015795A1 publication Critical patent/WO2014015795A1/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/01Protocols
    • H04L67/04Protocols specially adapted for terminals or networks with limited capabilities; specially adapted for terminal portability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor

Definitions

  • the present invention relates to the field of mobile communication technologies, and in particular, to a technique for providing a communication connection for a plurality of candidate applications in a mobile device. Background technique
  • a method of providing a communication connection for a plurality of candidate applications in a mobile device comprising:
  • the application related information includes at least one of the following:
  • a mobile device providing a communication connection for a plurality of candidate applications, wherein the device comprises:
  • An application obtaining device configured to acquire a plurality of candidate applications in the mobile device to be provided with a communication connection, where at least one of the plurality of candidate applications includes a communication module for providing a communication connection;
  • An application selection device configured to select a target connection application from the plurality of candidate applications according to application related information of the candidate application, where the target connection application includes the communication module;
  • a communication providing device configured to enable a communication module of the target connection application to provide a communication connection for the plurality of candidate applications
  • the application related information includes at least one of the following:
  • the present invention acquires a plurality of candidate applications in a mobile device to be provided with a communication connection, selects a target connection application from the plurality of candidate applications according to application related information of the candidate application, and enables the target Connecting the communication module of the application to provide a communication connection for the plurality of candidate applications; greatly saving system resources, improving system resource utilization of the mobile device, and correspondingly improving the user experience.
  • the present invention connects the application through the target, and forwards the message between the multiple candidate applications and the corresponding communication end, thereby further improving the utilization of system resources.
  • 1 shows a schematic diagram of an apparatus for providing a communication connection for a plurality of candidate applications in a mobile device in accordance with an aspect of the present invention
  • 2 shows a schematic diagram of an apparatus for providing a communication connection for a plurality of candidate applications in a mobile device in accordance with a preferred embodiment of the present invention
  • FIG. 3 illustrates a flow diagram of a method for providing a communication connection for a plurality of candidate applications in a mobile device in accordance with another aspect of the present invention
  • FIG. 4 shows a flow diagram of a method for providing a communication connection for a plurality of candidate applications in a mobile device in accordance with a preferred embodiment of the present invention.
  • the mobile device 1 shows a schematic diagram of an apparatus for providing a communication connection for a plurality of candidate applications in a mobile device in accordance with an aspect of the present invention.
  • the mobile device 1 includes an application acquisition device 101, an application selection device 102, and a communication providing device 103.
  • the mobile device 1 includes, but is not limited to, any mobile terminal that can perform network communication, including but not limited to a mobile phone, a game machine, a palmtop computer (PPC), a tablet computer or a notebook computer.
  • PPC palmtop computer
  • the above-mentioned mobile device is only an example, and other existing or future mobile devices that may be applicable to the present invention are also included in the scope of the present invention and are herein incorporated by reference. this.
  • the application obtaining device 101 acquires a plurality of candidate applications in the mobile device to be provided with a communication connection, wherein at least one of the plurality of candidate applications includes a communication module for providing a communication connection.
  • a communication module for providing a communication connection.
  • the communication module for example, the communication module for providing a communication connection is built in each of the plurality of candidate applications, and the application obtaining device 101 acquires the application connection request of the plurality of candidate applications, for example, in the mobile device 1 Multiple candidate applications to be provided with a communication connection.
  • “plurality" in the present invention means two or more.
  • the application selecting means 102 selects a target connection application from the plurality of candidate applications according to the application related information of the candidate application, wherein the target connection application includes the communication module.
  • the application selecting device 102 is configured according to the application related information of the candidate application according to the application related information of the candidate application acquired according to the application obtaining device 101, such as the communication requirement information of the candidate application, and the communication module of the candidate application.
  • the communication protocol information, the application classification information of the candidate application, and the like select a target connection application from the plurality of candidate applications, so that the target connection application provides a communication connection for the plurality of candidate applications, where the selected target connection is
  • the application includes the communication module.
  • the application selection device 102 is configured according to the application-related information of the candidate application according to the application-related information of the candidate application acquired by the application obtaining device 101, such as a communication requirement information of the candidate application, communication protocol information of the communication module of the candidate application, application classification information of the candidate application, and the like, selecting a target connection application from the plurality of candidate applications, so that the target connection application is the multiple candidates
  • the application provides a communication connection, where the selected target connection application includes the communication module.
  • the application selection device 102 When the application-related information includes the communication request information of the candidate application, the application selection device 102, according to the plurality of candidate applications of the communication connection to be provided acquired by the application obtaining device 101, according to the communication demand information of the candidate application, from the plurality of The target connection application is selected among the candidate applications, so that the target connection application provides a communication connection for the plurality of candidate applications, where the selected target connection application includes the communication module.
  • the communication demand information includes demand information that can be used to describe the candidate application for the communication connection, such as communication rate demand information, communication bandwidth requirement information, and the like.
  • the application selecting device 102 uses the candidate application A as the target connection application, or An application that selects a higher communication rate among the plurality of candidate applications is used as a target connection application.
  • the application selecting device 102 selects a target connection application from the plurality of candidate applications according to the communication protocol information of the communication module of the candidate application, according to the plurality of candidate applications of the communication connection to be provided acquired by the application obtaining device 101, so that the application connection device
  • the target connection application provides a communication connection for the plurality of candidate applications, where the selected target connection application includes the communication module.
  • the communication protocol information includes a communication protocol that can be used to describe a communication module included in the candidate application to establish a communication connection with the corresponding communication terminal, such as a TCP/IP protocol, a UDP protocol, and the like.
  • the communication protocols of the communication modules of the multiple candidate applications may be different, assuming that the communication module of the candidate application A adopts the TCP/IP protocol, and the communication module of the candidate application B adopts the UDP protocol, and the current communication network also adopts the TCP/IP protocol.
  • the IP protocol, the application selecting means 102 selects an application corresponding to the communication module having the communication protocol matching the current communication network from the plurality of candidate applications according to the matching information of the communication protocol and the current communication network, as the target The application is connected, such as selecting the candidate application A as the target connection application among the candidate applications A and B.
  • the application selection device 102 is configured according to the application classification information of the candidate application according to the application classification information of the candidate application to be provided by the application acquisition device 101.
  • the target connection application is selected among the candidate applications, so that the target connection application provides a communication connection for the plurality of candidate applications, where the selected target connection application includes the communication module.
  • the application classification information includes information that can be used to describe the application type, server type, and the like corresponding to the candidate application.
  • the mobile device 1 has six candidate applications to be provided with a communication connection, wherein the application classification information corresponding to the two candidate applications is the same, for example, corresponding application server A, and the application classification information corresponding to the other four candidate applications is the same, for example, corresponding Application server B, the application selection device 102 selects one target connection application from the two candidate applications of the corresponding application server A, for example, according to the running time, selects the candidate application that runs first as the target connection application, and then the corresponding application.
  • One of the four candidate applications of server B selects a target connection application.
  • the application selecting device 102 selects a target connection application from the plurality of candidate applications according to the plurality of candidate application related to the candidate application, according to the plurality of candidate applications to be provided by the application obtaining device 101.
  • the selected target connection application includes the communication module.
  • the communication providing device 103 enables the communication module of the target connection application to provide a communication connection for the plurality of candidate applications. Specifically, after the application selecting device 102 selects the target connection application from the plurality of candidate applications, the communication providing device 103 enables the communication module of the target connection application to provide a communication connection for the plurality of candidate applications through the communication module. Providing a communication connection with other mobile devices or servers for the plurality of candidate applications. For example, the communication providing device 103 provides a communication connection for candidate applications other than the target connection application among the plurality of candidate applications. When the candidate application needs to communicate with a corresponding mobile device, a server, or the like, the target connection application is The candidate application delivers a message with the corresponding communication end. As another example, the communication providing device 103 provides a communication connection for the target connection application such that the target connection application can communicate with the corresponding communication terminal.
  • the present invention acquires a plurality of candidate applications in a mobile device to be provided with a communication connection, selects a target connection application from the plurality of candidate applications, and enables communication of the target connection application according to application related information of the candidate application.
  • the module is configured to provide a communication connection for the plurality of candidate applications; greatly saving system resources, improving system resource utilization of the mobile device, and correspondingly improving the user experience.
  • the various devices of the mobile device 1 are continuously working.
  • the application obtaining apparatus 101 acquires a plurality of candidate applications in the mobile device to be provided with a communication connection, wherein at least one of the plurality of candidate applications includes a communication module for providing a communication connection; and the application selecting device 102 is configured according to the candidate Selecting a target connection application from the plurality of candidate applications, wherein the target connection application includes the communication module; the communication providing device 103 enables the communication module of the target connection application to A communication connection is provided for the plurality of candidate applications.
  • continuous means that each device of the mobile device 1 continuously performs acquisition of a plurality of candidate applications, selection of a target connection application, and activation of a communication module until the mobile device 1 is long.
  • the multiple candidate applications to be provided for the communication connection are stopped within the time.
  • the application selecting device 102 selects a target connection application from the plurality of candidate applications according to the application related information of the candidate application and the predetermined application quantity threshold, wherein the target connection application includes the communication module .
  • the mobile device 1 may preset a predetermined application quantity threshold, where the predetermined application quantity threshold is used to determine whether a target connection application should be newly selected, and enable the communication module of the target connection application, such as when the mobile device 1 is to be When the candidate application providing the communication connection exceeds the predetermined application number threshold, at least one target connection application is added.
  • the application selection device 102 associates the application-related information of the candidate application with the predetermined number of applications. Threshold 5, selecting two target connection applications from the six candidate applications, such as communication requirement information according to the six candidate applications, communication protocol information of the communication modules of the six candidate applications, and application classification of the six candidate applications Information, etc., selects two applications from the six candidate applications as the target connection application. For example, if the predetermined number of application thresholds is 5, when there are 11 candidate applications for providing a communication connection in the mobile device 1, the application selection device 102 combines the application-related information of the candidate application with the predetermined application. The number threshold 5 is selected from the 11 candidate applications as the target connection application.
  • the present invention acquires a plurality of candidate applications for providing a communication connection in the mobile device, and selects a target connection application from the plurality of candidate applications according to the application related information of the candidate application and combined with a predetermined application number threshold.
  • the communication module of the target connection application provides a communication connection for the plurality of candidate applications, so that the selection of the target connection application is more rationalized, and the system resource utilization and processing speed of the mobile device are further improved.
  • the mobile device 1 further includes a module scheduling device (not shown) that, when the communication module of the target connection application is enabled, broadcasts an application connection message to the candidate connection application through the target connection application, wherein
  • the candidate connection application includes a candidate application, except for the target connection application, where the application connection message includes an application identifier of the target connection application; and the application connection message is received by at least one of the plurality of candidate connection applications, And closing, according to the application connection message, a communication module corresponding to at least one of the plurality of candidate connection applications.
  • the target connection application when the communication providing device 103 enables the communication module of the target connection application, the target connection application establishes a communication connection with the corresponding communication terminal, and the module scheduling device adds the application identifier of the target connection application to the communication connection according to the communication connection.
  • Generating an application connection message by means of a specific field or the like, and then, by the target connection application, broadcasting the application connection message to the candidate connection application, where the application connection message includes an application identifier of the target connection application; subsequently, the communication providing device 103
  • the application connection message is received by at least one of the plurality of candidate connection applications, and the communication module corresponding to at least one of the plurality of candidate connection applications is closed according to the application connection message.
  • the candidate connection application includes candidate applications of the plurality of candidate applications except the target connection application.
  • the present invention sends an application connection message to the candidate connection application through the target connection application, so that the candidate connection application closes the communication module according to the application connection message, which greatly saves system resources and improves system resource utilization of the mobile device.
  • the rate, and thus the user experience, is correspondingly improved.
  • the mobile device 1 shows a schematic diagram of an apparatus for providing a communication connection for a plurality of candidate applications in a mobile device in accordance with a preferred embodiment of the present invention.
  • the mobile device 1 also includes an application messaging device 204 and an application message forwarding device 205.
  • the preferred embodiment is described in detail below with reference to FIG. 2.
  • the application obtaining apparatus 201 acquires a plurality of candidate applications in a mobile device to be provided with a communication connection, wherein at least one of the plurality of candidate applications includes a communication for providing a connected communication module; the application selecting means 202 selects a target connection application from the plurality of candidate applications according to application related information of the candidate application, wherein the target connection application includes the communication module; and the communication providing device 203 is enabled
  • the target is connected to the communication module of the application to provide a communication connection for the plurality of candidate applications;
  • the application message sending device 204 connects to the target application according to the application identifier of the target connection application by using the first candidate connection application Transmitting a first application message; the application message forwarding device 205 receives, by the target connection application, the first response sent by the first candidate application And transmitting, by the communication module, the first application message to a corresponding communication end by using a message.
  • the application obtaining device 201, the application selecting device 202, and the communication providing device 203 are the same as
  • the plurality of candidate connection applications includes a first candidate connection application, and the application message sending device 204 sends the first application to the target connection application according to the application identifier of the target connection application by using the first candidate connection application.
  • the plurality of candidate connection applications include a first candidate connection application, and after the target connection application successfully enables the communication module thereon, and establishes a communication connection with the corresponding communication terminal, the application connection message is broadcasted to the candidate connection application,
  • the application connection message includes an application identifier of the target connection application; the application message sending device 204 receives the broadcast application connection message by using the first candidate connection application, and extracts the target connection from a specific field of the application connection message.
  • the application identifier of the application and then sending the first application message to the target connection application according to the application identifier.
  • the first application message includes an application message to be transmitted to a communication terminal such as another mobile device or server, such as an instant message, a data request message, or the like.
  • H does not apply A as the target connection application.
  • the application connection message is broadcasted to the candidate connection application B, C, D, the application.
  • the connection message includes the application ID of the application A; subsequently, the application message sending device 204 receives the application connection message broadcasted by the application A through the application B therein, and extracts the application A from the specific field of the application connection message. Applying the ID, and then sending the first application message to the application A according to the application ID, for example, sending a data request message requesting data to the server A to the application A.
  • the application message forwarding device 205 receives the first application message sent by the first candidate application by using the target connection application, and sends the first application message to the corresponding communication terminal by using the communication module. Specifically, when the application message sending device 204 sends the first application message to the target connection application by using the first candidate connection application, the application message forwarding device 205 receives the first message sent by the first candidate application by using the target connection application. Applying a message, and in turn, connecting the first enabled application to the communication module enabled by the target The message is sent to the communication end corresponding to the first application message.
  • the application message forwarding device 205 receives the data request message sent by the application B through the application A, and sends the data request message to the corresponding server A through the communication module on the application A to request data.
  • the plurality of candidate connection applications include a first candidate connection application
  • the mobile device 1 further includes an application message broadcast device (not shown), the application message broadcast device broadcasts through the first candidate connection application a first application message sent to the corresponding communication terminal; the application message forwarding device 205 receives the first application message broadcast by the first candidate application through the target connection application, and sends the first application message by using the communication module To the corresponding communication end.
  • the application message broadcast apparatus broadcasts the first application message to be sent to the corresponding communication terminal through the first candidate connection application;
  • the application message forwarding device 205 receives the first application message broadcast by the first candidate application through the target connection application, and sends the first application message to the corresponding communication terminal by using the communication module.
  • the present invention further improves the utilization of system resources by forwarding the corresponding application message to the corresponding communication terminal by using the selected target connection application.
  • the first application message includes an application identifier corresponding to the first candidate connection application
  • the application message forwarding device 205 further includes an identifier extraction unit (not shown) and an application determining unit (not shown) ).
  • the identifier extraction unit extracts the application identifier from the first application message by using the target connection application; the application determining unit determines, according to the application identifier, a first candidate connection application corresponding to the application identifier.
  • the first application message that is sent by the first candidate connection application to the target connection application or that is broadcast by the first candidate connection application may include an application identifier corresponding to the first candidate connection application, such as the first The application ID of the candidate connection application, when the application message forwarding device 205 receives the first application message through the target connection application, the identifier
  • the extracting unit extracts the application identifier from the specific field of the first application message by using the target connection application; subsequently, the application determining unit determines the first candidate connection application corresponding to the application identifier according to the application identifier, That is, determining whether to forward the corresponding first application information to the corresponding communication terminal for the first candidate connection application, for example, when the identifier extraction unit can successfully extract the application identifier from the first application message, the application determining unit determines The first application message corresponding to the application identifier may be forwarded to the corresponding communication end.
  • the application determining unit determines the first candidate connection application corresponding to the application identifier according to the application identifier and the application 4 authorized information. Specifically, after the identifier extraction unit extracts the application identifier from the specific field of the first application message, the application determining unit compares the application identifier with the application 4 authorized information, such as whether the application identifier is authorized according to the application identifier. Determining whether the first candidate connection application corresponding to the application identifier has the same application classification information or the like as the target connection application, and determining a first candidate connection application corresponding to the application identifier, that is, determining whether the first candidate connection application is the first candidate connection application. Forwarding the corresponding first application information to the corresponding communication end.
  • the present invention determines the first candidate connection application according to the application identifier in the application message, and forwards the corresponding first application message to the corresponding communication terminal for the first candidate connection application, so that the forwarding process is more reliable, The system resource utilization of the mobile device is further improved.
  • the application message forwarding device 205 receives the first application message sent by the first candidate application by using the target connection application; and according to the historical message delivery record between the target connection application and the corresponding communication terminal, Encoding the first application message to reduce the data amount of the first application message; and sending the first application message after the encoding process to the corresponding communication end by using the communication module.
  • the application message forwarding device 205 receives the first application message sent by the first candidate application by using the target connection application; and further, obtains the target connection application and the corresponding, for example, by interacting with the application record library of the mobile device 1
  • the first application message is encoded to reduce the amount of data of the first application message, such as when the first application message is included
  • the delivered message is deleted, and the first application message is re-encoded; then, the encoded first application message is passed through the communication module of the target connection application, Send to the corresponding communication end.
  • the present invention encodes the first application message according to the historical message transmission record to reduce the data amount of the first application message, further improves the system resource utilization rate of the mobile device, and improves the processing speed of the system.
  • the multiple candidate connection applications include a second candidate connection application, where the application message forwarding device 205 receives the second application message sent by the second candidate connection application by using the target connection application; The first application message is merged with the second application message to obtain a merged target application message; and the merged target application message is sent to the corresponding communication end.
  • the multiple candidate connection application may further include a second candidate connection application, where the second candidate connection application may also send a second application message to the target connection application, and the application message forwarding device 205 receives the target through the target connection application.
  • the second candidate connection application sends the second application message; and further, the first application message is combined with the second application message to obtain the merged target application message, preferably, the application message forwarding device
  • the 205 may further combine the first application message with the second application message, remove redundant information, and reduce the data amount of the target application message; subsequently, the target module is connected to the communication module on the application, and the merged The processed target application message is sent to the corresponding communication end.
  • the present invention combines the first application message and the second application message, and sends the merged target application message to the corresponding communication terminal, thereby further improving the system resource utilization of the mobile device, and improving the system. Processing speed.
  • the plurality of candidate connection applications includes a third candidate connection application
  • the mobile device 1 further comprises a service message receiving device (not shown) and a service message forwarding device (not shown).
  • the service message receiving device receives, by the target connection application, a service message sent by the corresponding communication terminal, where the service message includes an application identifier of the third candidate application; and the service message forwarding device is configured according to the application identifier. Sending the service message to the third candidate corresponding to the application identifier use.
  • the target connection application in the mobile device 1 can forward the first application message of the candidate connection application to the corresponding communication terminal, and the target connection application can also forward the service message of the corresponding communication terminal to the candidate connection application.
  • the service message includes a service message, such as a service notification message, that the communication terminal needs to push to the application, such as a mobile device or a server.
  • the server B sends a service notification message to the mobile device 1, and the service notification message includes an application identifier of the application A for notifying the application A in the mobile device 1, and the target connection application in the mobile device 1 is the application B.
  • the service message receiving device receives the service notification message sent by the server B through the application B.
  • the service message forwarding device extracts the application identifier from the specific field of the service notification message, and determines the corresponding application according to the application identifier.
  • the service notification message is sent to the application A.
  • the present invention forwards the service message of the corresponding communication end to the plurality of candidate applications, thereby further improving the utilization of system resources.
  • FIG. 3 shows a flow diagram of a method for providing a communication connection for a plurality of candidate applications in a mobile device in accordance with another aspect of the present invention.
  • the mobile device 1 includes, but is not limited to, any mobile terminal that can perform network communication, including but not limited to a mobile phone, a game machine, a palmtop computer (PPC), a tablet computer or a notebook computer.
  • PPC palmtop computer
  • the above-mentioned mobile device is only an example, and other existing or future mobile devices that may be applicable to the present invention are also included in the scope of the present invention and are herein incorporated by reference. this.
  • the mobile device 1 acquires a plurality of candidate applications in the mobile device to be provided with a communication connection, wherein at least one of the plurality of candidate applications includes a communication module for providing a communication connection.
  • the plurality of candidate applications includes a communication connection.
  • the communication module such as the communication module for providing a communication connection, is built in each of the plurality of candidate applications.
  • the mobile device 1 obtains, for example, an application connection request of the plurality of candidate applications. Communication to be provided in mobile device 1 Multiple candidate applications connected.
  • plural in the present invention means two or more.
  • step S302 the mobile device 1 selects a target connection application from the plurality of candidate applications according to the application related information of the candidate application, where the target connection application includes the communication module. Specifically, in step S302, the mobile device 1 according to the multiple candidate applications to be provided in the communication connection acquired in step S301, according to the application related information of the candidate application, such as the communication requirement information of the candidate application, the candidate application.
  • the communication protocol information of the communication module, the application classification information of the candidate application, and the like select a target connection application from the plurality of candidate applications, so that the target connection application provides a communication connection for the plurality of candidate applications, where the The selected target connection application includes the communication module.
  • the mobile device 1 when the application related information includes the communication requirement information of the candidate application, in step S302, the mobile device 1 according to the plurality of candidate applications to be provided in the communication connection acquired in step S301, according to the application related information of the candidate application. And selecting a target connection application from the plurality of candidate applications, such as the communication requirement information of the candidate application, the communication protocol information of the communication module of the candidate application, the application classification information of the candidate application, etc., so that the target connection application is the A plurality of candidate applications provide a communication connection, where the selected target connection application includes the communication module.
  • the mobile device 1 When the application related information includes communication request information of the candidate application, in step S302, the mobile device 1 according to the communication request information of the candidate application according to the plurality of candidate applications of the communication connection to be provided acquired in step S301
  • the target connection application is selected among the plurality of candidate applications, so that the target connection application provides a communication connection for the plurality of candidate applications, where the selected target connection application includes the communication module.
  • the communication demand information includes demand information that can be used to describe the candidate application for the communication connection, such as communication rate requirement information, communication bandwidth requirement information, and the like. For example, suppose the candidate application A is a video access application, and the candidate application A needs a higher communication rate to establish with the corresponding communication terminal. In the normal connection, in step S302, the mobile device 1 uses the candidate application A as a target connection application, or selects an application with a higher communication rate from the plurality of candidate applications as the target connection application.
  • the mobile device 1 When the application related information includes communication protocol information of the communication module of the candidate application, in step S302, the mobile device 1 according to the plurality of candidate applications to be provided in the communication connection acquired in step S301, according to the communication module of the candidate application Communication protocol information, selecting a target connection application from the plurality of candidate applications, so that the target connection application provides a communication connection for the plurality of candidate applications, where the selected target connection application includes the communication module.
  • the communication protocol information includes a communication protocol usable for describing a communication module included in the candidate application to establish a communication connection with the corresponding communication terminal, such as a TCP/IP protocol, a UDP protocol, and the like.
  • the communication protocols of the communication modules of the multiple candidate applications may be different, assuming that the communication module of the candidate application A adopts the TCP/IP protocol, and the communication module of the candidate application B adopts the UDP protocol, and the current communication network also adopts the TCP/IP protocol.
  • IP protocol in step S302, the mobile device 1 selects an application corresponding to the communication module having the communication protocol matching the current communication network from the plurality of candidate applications according to the matching information of the communication protocol and the current communication network, The application is connected as a target, such as selecting the candidate application A as the target connection application among the candidate applications A and B.
  • the mobile device 1 When the application related information includes the application classification information of the candidate application, in step S302, the mobile device 1 according to the application classification information of the candidate application according to the candidate application to be provided in the communication connection acquired in step S301.
  • the target connection application is selected among the plurality of candidate applications, so that the target connection application provides a communication connection for the plurality of candidate applications, where the selected target connection application includes the communication module.
  • the application classification information includes information that can be used to describe an application type, a server type, and the like corresponding to the candidate application.
  • the mobile device 1 has six candidate applications to be provided with a communication connection, wherein the application classification information corresponding to the two candidate applications is the same, for example, corresponding application server A, and the application classification information corresponding to the other four candidate applications is the same, for example, corresponding Application server B, in step S302, the mobile device 1 selects one target connection application from the two candidate applications of the corresponding application server A, for example, according to the running time, selects the candidate application that runs first as the target connection application, and then Four candidate applications from the corresponding application server B Select a target connection application.
  • the mobile device 1 selects from the plurality of candidate applications according to any of the plurality of application related information of the candidate application according to the plurality of candidate applications to be provided in the communication connection acquired in step S301.
  • the target connects the application such that the target connection application provides a communication connection for the plurality of candidate applications, where the selected target connection application includes the communication module.
  • step S303 the mobile device 1 enables the communication module of the target connection application to provide a communication connection for the plurality of candidate applications. Specifically, after the mobile device 1 selects the target connection application from the plurality of candidate applications, in step S303, the mobile device 1 enables the communication module of the target connection application to pass the communication module.
  • a plurality of candidate applications provide a communication connection, such as providing a communication connection with other mobile devices or servers for the plurality of candidate applications.
  • the mobile device 1 provides a communication connection for candidate applications other than the target connection application among the plurality of candidate applications, and when the candidate application needs to communicate with a corresponding mobile device, server, or the like, the target The connection application delivers a message to the candidate application and the corresponding communication end.
  • the mobile device 1 provides a communication connection for the target connection application, so that the target connection application can communicate with the corresponding communication terminal.
  • the present invention acquires a plurality of candidate applications in a mobile device to be provided with a communication connection, selects a target connection application from the plurality of candidate applications, and enables communication of the target connection application according to application related information of the candidate application.
  • the module is configured to provide a communication connection for the plurality of candidate applications; greatly saving system resources, improving system resource utilization of the mobile device, and correspondingly improving the user experience.
  • the various steps of the mobile device 1 are continuously working.
  • the mobile device 1 acquires a plurality of candidate applications in the mobile device to be provided with a communication connection, wherein at least one of the plurality of candidate applications includes a communication module for providing a communication connection; in step S302, the mobile device Selecting a target connection application from the plurality of candidate applications according to application related information of the candidate application, wherein the target connection application includes the communication module; in step S303, the mobile device 1 enables the target connection A communication module of the application to provide a communication connection for the plurality of candidate applications.
  • continuous means that each step of the mobile device 1 continuously performs acquisition of multiple candidate applications, selection of a target connection application, and activation of a communication module until the mobile device 1 is long.
  • the multiple candidate applications to be provided for the communication connection are stopped within the time.
  • the mobile device 1 selects a target connection application from the plurality of candidate applications according to the application related information of the candidate application and in combination with a predetermined application quantity threshold, wherein the target connection application includes The communication module.
  • the mobile device 1 may preset a predetermined application quantity threshold, where the predetermined application quantity threshold is used to determine whether a target connection application should be newly selected, and enable the communication module of the target connection application, such as when the mobile device 1 is to be When the candidate application providing the communication connection exceeds the predetermined application number threshold, at least one target connection application is added.
  • the mobile device 1 when there are 6 candidate applications for providing a communication connection in the mobile device 1, in step S302, the mobile device 1 according to the application related information of the candidate application, and combined with the a predetermined application number threshold 5, selecting two target connection applications from the six candidate applications, such as communication requirement information according to the six candidate applications, communication protocol information of the communication modules of the six candidate applications, and the six candidate applications.
  • the application classification information or the like selects two applications from the six candidate applications as the target connection application.
  • the predetermined number of application thresholds is 5, when there are 11 candidate applications for providing a communication connection in the mobile device 1, in step S302, the mobile device 1 combines the application related information of the candidate application according to the application.
  • the predetermined application number threshold 5 is selected from the 11 candidate applications as the target connection application.
  • the present invention acquires a plurality of candidate applications in a mobile device to be provided with a communication connection, according to application related information of the candidate application, and combined with a predetermined application number threshold, from the Selecting a target connection application among the plurality of candidate applications, enabling the communication module of the target connection application to provide a communication connection for the plurality of candidate applications, so that the selection of the target connection application is more rationalized, and further improving the system resource utilization of the mobile device. With processing speed.
  • the method further includes a step S306 (not shown), in step S306, the mobile device 1, when the communication module of the target connection application is enabled, broadcasts an application connection message to the candidate connection application through the target connection application, wherein
  • the candidate connection application includes a candidate application of the plurality of candidate applications except the target connection application, the application connection message includes an application identifier of the target connection application, and at least the plurality of candidate connection applications Receiving the application connection message, and closing, according to the application connection message, a communication module corresponding to at least one of the plurality of candidate connection applications.
  • the target connection application when the mobile device 1 enables the communication module of the target connection application in step S303, the target connection application establishes a communication connection with the corresponding communication terminal, and in step S306, the mobile device 1 passes the communication connection according to the communication connection.
  • the application connection identifier of the target connection application is added to a specific field, and the application connection message is generated, and then the application connection message is broadcasted to the candidate connection application by the target connection application, where the application connection message includes the application identifier of the target connection application.
  • the mobile device 1 receives the application connection message through at least one of the plurality of candidate connection applications, and closes the communication module corresponding to at least one of the plurality of candidate connection applications according to the application connection message.
  • the candidate connection application includes candidate applications of the plurality of candidate applications except the target connection application.
  • the present invention sends an application connection message to the candidate connection application through the target connection application, so that the candidate connection application closes the communication module according to the application connection message, which greatly saves system resources and improves system resource utilization of the mobile device.
  • the rate, and thus the user experience, is correspondingly improved.
  • step S401 the mobile device 1 acquires a plurality of candidate applications in the mobile device to be provided with a communication connection, wherein at least one of the plurality of candidate applications includes a communication module for providing a communication connection; in step S402, the mobile device 1 selecting, according to application related information of the candidate application, a target connection application from the plurality of candidate applications, wherein the target connection application includes the communication module;
  • the mobile device 1 enables the communication module of the target connection application to provide a communication connection for the plurality of candidate applications; in step S404, the mobile device 1 connects through the first candidate connection application according to the target connection An application identifier of the application, sending a first application message to the target connection application; in step S405, the mobile device 1 receives the first application message sent by the first candidate application by using the target connection application, and by using the The communication module sends the first application message to a corresponding communication end.
  • the steps S401-S403 are the same as or similar to the corresponding steps shown in FIG. 3, and therefore are not mentioned here, and are included herein by reference.
  • the plurality of candidate connection applications includes a first candidate connection application, and in step S404, the mobile device 1 sends, by using the first candidate connection application, an application identifier of the target connection application to the target connection application.
  • First application message the plurality of candidate connection applications include a first candidate connection application, and after the target connection application successfully enables the communication module thereon, and establishes a communication connection with the corresponding communication terminal, the application connection message is broadcasted to the candidate connection application,
  • the application connection message includes an application identifier of the target connection application; in step S404, the mobile device 1 receives the broadcast application connection message through the first candidate connection application, and extracts the specific field from the application connection message.
  • the target connects the application identifier of the application, and then sends the first application message to the target connection application according to the application identifier.
  • the first application message includes an application message to be transmitted to a communication terminal such as another mobile device or server, such as an instant message, a data request message, or the like.
  • H does not apply A as the target connection application.
  • the application connection message is broadcasted to the candidate connection application B, C, D, the application.
  • the connection message includes the application ID of the application A.
  • the mobile device 1 receives the application connection message broadcasted by the application A through the application B therein, and extracts the application from the specific field of the application connection message.
  • the application ID of A according to the application ID, sends a first application message to the application A, such as sending a data request message requesting data to the server A to the application A.
  • step S405 the mobile device 1 receives the first application message sent by the first candidate application by using the target connection application, and sends the first application message to the corresponding communication terminal by using the communication module. Specifically, in step S404, the mobile device 1 sends a first application message to the target connection application by using the first candidate connection application, and in step S405, the mobile device 1 receives the first candidate application through the target connection application. And sending, by the communication module enabled by the target connection application, the first application message to the communication end corresponding to the first application message.
  • step S405 the mobile device 1 receives the data request message sent by the application B through the application, and sends the data request message to the corresponding server A through the communication module on the application A to request data.
  • the plurality of candidate connection applications include a first candidate connection application
  • the method further includes step S407 (not shown), in step S407, the mobile device 1 broadcasts to be sent by the first candidate connection application. a first application message to the corresponding communication end; in step S405, the mobile device 1 receives the first application message broadcast by the first candidate application through the target connection application, and sends the first message through the communication module Apply a message to the corresponding communication end.
  • step S407 the mobile device 1 broadcasts the first application message to be sent to the corresponding communication terminal by using the first candidate connection application. Then, in step S405, the mobile device 1 receives the first application message broadcast by the first candidate application through the target connection application, and sends the first application message to the corresponding communication terminal by using the communication module.
  • the present invention further improves the utilization of system resources by forwarding the corresponding application message to the corresponding communication terminal by using the selected target connection application.
  • the first application message includes an application identifier corresponding to the first candidate connection application
  • the step S405 further includes sub-step S4051 (not shown) and sub-step S4052 (not shown).
  • the mobile device 1 connects through the target The application extracts the application identifier from the first application message; in the sub-step S4052, the mobile device 1 determines, according to the application identifier, a first candidate connection application corresponding to the application identifier.
  • the first application message that is sent by the first candidate connection application to the target connection application or that is broadcast by the first candidate connection application may include an application identifier corresponding to the first candidate connection application, such as the first The application ID of the candidate connection application, when the mobile device 1 receives the first application message through the target connection application in step S405, in sub-step S4051, the mobile device 1 connects the application through the target, from the first Extracting the application identifier in a specific field of an application message; subsequently, in sub-step S4052, the mobile device 1 determines, according to the application identifier, a first candidate connection application corresponding to the application identifier, that is, determining whether the The first candidate connection application forwards the corresponding first application information to the corresponding communication end, for example, in the sub-step S4051, the mobile device 1 can successfully extract the application identifier from the first application message, then in sub-step S4052, The mobile device 1 determines that the first application connection message corresponding to the application identifier can be forwarded to the
  • the mobile device 1 determines the first candidate connection application corresponding to the application identifier according to the application identifier and in combination with the application authorization information. Specifically, in sub-step S4051, after the mobile device 1 extracts the application identifier from the specific field of the first application message, in sub-step S4052, the mobile device 1 combines the application authorization information according to the application identifier, according to the Determining whether the application identifier is authorized, whether the first candidate connection application corresponding to the application identifier has the same application classification information or the like, and determining the first candidate connection application corresponding to the application identifier, that is, determining whether The first candidate connection application forwards the corresponding first application information to the corresponding communication end.
  • the present invention determines the first candidate connection application according to the application identifier in the application message, and forwards the corresponding first application message to the corresponding communication terminal for the first candidate connection application, so that the forwarding process is more reliable and further improved.
  • System resource utilization of mobile devices
  • the mobile device 1 receives through the target connection application.
  • the first application message sent by the first candidate application encoding the first application message according to a historical message delivery record between the target connection application and the corresponding communication terminal, to reduce the The data amount of the first application message; the first application message after the encoding process is sent to the corresponding communication terminal by using the communication module.
  • step S405 the mobile device 1 receives the first application message sent by the first candidate application by using the target connection application; and further, the target connection is obtained, for example, by interacting with the application record library of the mobile device 1.
  • the message includes the message that has been passed by the history, the delivered message is deleted, and the first application message is re-encoded; then, the encoded first application message is passed through the target connection application.
  • the communication module is sent to the corresponding communication end.
  • the present invention encodes the first application message according to the historical message transmission record to reduce the data amount of the first application message, further improves the system resource utilization rate of the mobile device, and improves the processing speed of the system.
  • the plurality of candidate connection applications include a second candidate connection application, wherein, in step S405, the mobile device 1 receives the second application message sent by the second candidate connection application through the target connection application; The first application message is merged with the second application message to obtain a merged target application message; and the merged target application message is sent to the corresponding communication end.
  • the multiple candidate connection applications may further include a second candidate connection application, where the second candidate connection application may also send the second application message to the target connection application, and then, in step S405, the mobile device 1 connects through the target.
  • the application receives the second application message sent by the second candidate connection application; and further, the first application message is combined with the second application message to obtain the merged target application message, preferably, in the step In S405, the mobile device 1 may further process the first application message and the second application message to remove redundant information, reduce the data amount of the target application message; and subsequently, connect the communication module on the application through the target. And sending the merged target application message to the corresponding communication end.
  • the present invention combines the first application message and the second application message, and sends the merged target application message to the corresponding communication terminal, thereby further improving the system resource utilization of the mobile device, and improving the system. Processing speed.
  • the plurality of candidate connection applications includes a third candidate connection application
  • the mobile device 1 further includes step S408 (not shown) and step S409 (not shown).
  • step S408 the mobile device 1 receives, by the target connection application, a service message sent by the corresponding communication terminal, where the service message includes an application identifier of the third candidate application; in step S409, the mobile device 1 And sending the service message to the third candidate application corresponding to the application identifier according to the application identifier.
  • the target connection application in the mobile device 1 can forward the first application message of the candidate connection application to the corresponding communication terminal, and the target connection application can also forward the service message of the corresponding communication terminal to the candidate connection application.
  • the service message includes a service message, such as a service notification message, that the communication terminal needs to push to the application, such as a mobile device or a server.
  • the server B sends a service notification message to the mobile device 1, and the service notification message includes an application identifier of the application A for notifying the application A in the mobile device 1, and the target connection application in the mobile device 1 is the application B.
  • the mobile device 1 receives the service notification message sent by the server B through the application B.
  • the mobile device 1 extracts the application identifier from the specific field of the service notification message. According to the application identifier, the corresponding application A is determined, and then the service notification message is sent to the application A.
  • the present invention forwards the service message of the corresponding communication end to the plurality of candidate applications, thereby further improving the utilization of system resources.
  • the software program of the present invention can be executed by a processor to implement the steps or functions described above.
  • the software program (including related data structures) of the present invention can be stored in a computer readable recording medium such as a RAM memory, a magnetic or optical drive or a floppy disk and the like.
  • some of the steps or functions of the present invention may be implemented in hardware, for example, as a circuit that cooperates with a processor to perform various functions or steps.
  • a portion of the present invention can be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can be invoked or For the method and/or technical solution according to the invention.
  • the program instructions for invoking the method of the present invention may be stored in a fixed or removable recording medium, and/or transmitted by a data stream in a broadcast or other signal bearing medium, and/or stored in a The working memory of the computer device in which the program instructions are run.
  • an embodiment in accordance with the present invention includes a device including a memory for storing computer program instructions and a processor for executing program instructions, wherein when the computer program instructions are executed by the processor, triggering
  • the apparatus operates based on the foregoing methods and/or technical solutions of various embodiments of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

本发明的目的是提供一种在移动设备中为多个候选应用提供通信连接的方法与设备,通过获取移动设备中待提供通信连接的多个候选应用,其中,所述多个候选应用中至少一个包括用于提供通信连接的通信模块;根据所述候选应用的应用相关信息,从所述多个候选应用中选择目标连接应用,其中,所述目标连接应用包括所述通信模块;启用所述目标连接应用的通信模块,以为所述多个候选应用提供通信连接。与现有技术相比,本发明极大地节省了系统资源,提高了移动设备的系统资源利用率,进而也相应地提高了用户的使用体验。而且,本发明通过该目标连接应用,为该多个候选应用与对应的通信端之间转发消息,进一步提升了系统资源的利用率。

Description

在移动设备中为多个候选应用提供通信连接的方法与设备
技术领域
本发明涉及移动通信技术领域, 尤其涉及一种用于在移动设备中 为多个候选应用提供通信连接的技术。 背景技术
随着移动应用的飞速发展, 移动设备中的应用也程现数量级的增 长。 通常, 当移动设备中存在多个应用需要建立通信连接时, 该多个 应用同时开启其上所包括的通信模块,每一个应用分别与对应的通信 端建立通信连接。 然而, 对于内存受限的移动设备来讲, 显然这种方 式极大地占用了系统资源, 同时也不利于用户的使用体验。
因此, 如何在移动设备中, 为多个候选应用提供通信连接, 使得 该种通信连接的方式占用较少的系统资源, 成为本领域技术人员亟需 解决的问题之一。 发明内容
本发明的目的是提供一种在移动设备中为多个候选应用提供通信 连接的方法与设备。
根据本发明的一个方面, 提供了一种在移动设备中为多个候选应 用提供通信连接的方法, 其中, 该方法包括:
a 获取移动设备中待提供通信连接的多个候选应用, 其中, 所述 多个候选应用中至少一个包括用于提供通信连接的通信模块;
b 根据所述候选应用的应用相关信息, 从所述多个候选应用中选 择目标连接应用, 其中, 所述目标连接应用包括所述通信模块; c 启用所述目标连接应用的通信模块, 以为所述多个候选应用提 供通信连接;
其中, 所述应用相关信息包括以下至少任一项:
- 所述候选应用的通信需求信息; - 所述候选应用的通信模块的通信协议信息;
- 所述候选应用的应用分类信息。
根据本发明的另一方面, 还提供了一种为多个候选应用提供通信 连接的移动设备, 其中, 该设备包括:
应用获取装置, 用于获取移动设备中待提供通信连接的多个候选 应用, 其中, 所述多个候选应用中至少一个包括用于提供通信连接的 通信模块;
应用选择装置, 用于根据所述候选应用的应用相关信息, 从所述 多个候选应用中选择目标连接应用, 其中, 所述目标连接应用包括所 述通信模块;
通信提供装置, 用于启用所述目标连接应用的通信模块, 以为所 述多个候选应用提供通信连接;
其中, 所述应用相关信息包括以下至少任一项:
- 所述候选应用的通信需求信息;
- 所述候选应用的通信模块的通信协议信息;
- 所述候选应用的应用分类信息。
与现有技术相比, 本发明获取移动设备中待提供通信连接的多个 候选应用, 根据所述候选应用的应用相关信息, 从所述多个候选应用 中选择目标连接应用, 启用所述目标连接应用的通信模块, 以为所述 多个候选应用提供通信连接; 极大地节省了系统资源, 提高了移动设 备的系统资源利用率, 进而也相应地提高了用户的使用体验。 而且, 本发明通过该目标连接应用, 为该多个候选应用与对应的通信端之间 转发消息, 进一步提升了系统资源的利用率。 附图说明
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述, 本发明的其它特征、 目的和优点将会变得更明显:
图 1示出根据本发明一个方面的用于在移动设备中为多个候选应 用提供通信连接的设备示意图; 图 2示出根据本发明一个优选实施例的用于在移动设备中为多个 候选应用提供通信连接的设备示意图;
图 3示出根据本发明另一个方面的用于在移动设备中为多个候选 应用提供通信连接的方法流程图;
图 4示出根据本发明一个优选实施例的用于在移动设备中为多个 候选应用提供通信连接的方法流程图。
附图中相同或相似的附图标记代表相同或相似的部件。 具体实施方式
下面结合附图对本发明作进一步详细描述。
图 1示出根据本发明一个方面的用于在移动设备中为多个候选应 用提供通信连接的设备示意图。 移动设备 1包括应用获取装置 101、 应用选择装置 102和通信提供装置 103。
在此, 移动设备 1包括但不限于任意一种可以进行网络通信的移 动终端, 包括但不限于手机、 游戏机、 掌上电脑(PPC )、 平板电脑或 笔记本电脑等。 本领域技术人员应能理解上述移动设备仅为举例, 其 他现有的或今后可能出现的移动设备如可适用于本发明, 也应包含在 本发明保护范围以内, 并在此以引用方式包含于此。
其中, 应用获取装置 101获取移动设备中待提供通信连接的多个 候选应用, 其中, 所述多个候选应用中至少一个包括用于提供通信 连接的通信模块。 具体地, 同一移动设备中可能存在多个需要提供 通信连接的候选应用, 如多个需要连接至其他移动设备、 服务器等 的候选应用, 所述多个候选应用中至少一个包括用于提供通信连接 的通信模块, 如该多个候选应用中每一个都内置有该用于提供通信 连接的通信模块, 应用获取装置 101例如通过获取该多个候选应用的 应用连接请求等方式, 获取移动设备 1中待提供通信连接的多个候选 应用。 在此, 本发明中的"多个"意指两个或两个以上。
本领域技术人员应能理解上述获取多个候选应用的方式仅为举 例, 其他现有的或今后可能出现的获取多个候选应用的方式如可适用 于本发明, 也应包含在本发明保护范围以内, 并在此以引用方式包含 于此。
应用选择装置 102根据所述候选应用的应用相关信息, 从所述多 个候选应用中选择目标连接应用, 其中, 所述目标连接应用包括所述 通信模块。 具体地, 应用选择装置 102根据应用获取装置 101所获取 的待提供通信连接的多个候选应用, 根据该候选应用的应用相关信 息, 如该候选应用的通信需求信息、 该候选应用的通信模块的通信协 议信息、 该候选应用的应用分类信息等, 从该多个候选应用中选择目 标连接应用, 以使该目标连接应用为该多个候选应用提供通信连接, 在此, 该被选择的目标连接应用包括该通信模块。
例如, 当该应用相关信息包括该候选应用的通信需求信息, 该应 用选择装置 102根据应用获取装置 101所获取的待提供通信连接的多 个候选应用, 根据该候选应用的应用相关信息, 如该候选应用的通信 需求信息、 该候选应用的通信模块的通信协议信息、 该候选应用的应 用分类信息等, 从该多个候选应用中选择目标连接应用, 以使该目标 连接应用为该多个候选应用提供通信连接, 在此, 该被选择的目标连 接应用包括该通信模块。
当该应用相关信息包括该候选应用的通信需求信息, 该应用选择 装置 102根据应用获取装置 101所获取的待提供通信连接的多个候选 应用, 根据该候选应用的通信需求信息, 从该多个候选应用中选择目 标连接应用, 以使该目标连接应用为该多个候选应用提供通信连接, 在此, 该被选择的目标连接应用包括该通信模块。 在此, 通信需求信 息包括可用于描述候选应用对于通信连接的需求信息, 如通信速率需 求信息、 通信带宽需求信息等。 例如, 假设候选应用 A为视频访问应 用, 该候选应用 A需要较高通信速率, 才能与对应的通信端建立正常 的连接, 则应用选择装置 102将该候选应用 A作为目标连接应用, 或 者, 从该多个候选应用中选择较高通信速率的应用作为目标连接应 用。
当该应用相关信息包括该候选应用的通信模块的通信协议信息, 该应用选择装置 102根据应用获取装置 101所获取的待提供通信连接 的多个候选应用, 根据该候选应用的通信模块的通信协议信息, 从该 多个候选应用中选择目标连接应用, 以使该目标连接应用为该多个候 选应用提供通信连接, 在此, 该被选择的目标连接应用包括该通信模 块。 在此, 通信协议信息包括可用于描述候选应用所包括的通信模块 与对应的通信端建立通信连接所使用的通信协议,诸如 TCP/IP协议、 UDP协议等。例如,该多个候选应用的通信模块的通信协议可能不同, 假设候选应用 A的通信模块采用 TCP/IP协议, 而候选应用 B的通信 模块采用 UDP协议, 当前通信网络所采用的也为 TCP/IP协议, 则该 应用选择装置 102根据该通信协议与当前通信网络的匹配信息, 从该 多个候选应用中选择具有与当前通信网络相匹配的通信协议的通信 模块所对应的应用, 以作为目标连接应用, 如在该候选应用 A 与 B 中选择该候选应用 A作为目标连接应用。
当该应用相关信息包括该候选应用的应用分类信息, 该应用选择 装置 102根据应用获取装置 101所获取的待提供通信连接的多个候选 应用, 根据该候选应用的应用分类信息, 从该多个候选应用中选择目 标连接应用, 以使该目标连接应用为该多个候选应用提供通信连接, 在此, 该被选择的目标连接应用包括该通信模块。 在此, 应用分类信 息包括可用于描述候选应用所对应的应用类型、 服务器类型等的信 息。 例如, 该移动设备 1中有 6个待提供通信连接的候选应用, 其中 两个候选应用对应的应用分类信息相同, 如对应应用服务器甲, 另外 四个候选应用对应的应用分类信息相同, 如对应应用服务器乙, 则该 应用选择装置 102分别自对应应用服务器甲的两个候选应用中选择一 个目标连接应用, 如根据运行时间的先后, 选择先运行的候选应用作 为目标连接应用,再自对应应用服务器乙的四个候选应用中选择一个 目标连接应用。
优选地, 应用选择装置 102根据应用获取装置 101所获取的待提 供通信连接的多个候选应用,根据该候选应用的上述任意多种应用相 关信息, 从该多个候选应用中选择目标连接应用, 以使该目标连接应 用为该多个候选应用提供通信连接, 在此, 该被选择的目标连接应用 包括该通信模块。
本领域技术人员应能理解上述选择目标连接应用的方式仅为举 例, 其他现有的或今后可能出现的选择目标连接应用的方式如可适用 于本发明, 也应包含在本发明保护范围以内, 并在此以引用方式包含 于此。 本领域技术人员还应能理解上述应用相关信息仅为举例, 其他 现有的或今后可能出现的应用相关信息如可适用于本发明, 也应包含 在本发明保护范围以内, 并在此以引用方式包含于此。
通信提供装置 103启用所述目标连接应用的通信模块, 以为所述 多个候选应用提供通信连接。 具体地, 当应用选择装置 102从该多个 候选应用中选择目标连接应用之后, 该通信提供装置 103启用该目标 连接应用的通信模块, 以通过该通信模块, 为该多个候选应用提供通 信连接, 如为该多个候选应用提供与其他移动设备或服务器的通信连 接。 例如, 该通信提供装置 103为该多个候选应用中除该目标连接应 用外的候选应用提供通信连接, 当该候选应用需与对应的移动设备、 服务器等通信端通信时, 该目标连接应用为该候选应用与该对应的通 信端传递消息。 又如, 该通信提供装置 103为该目标连接应用提供通 信连接, 使得该目标连接应用可与对应的通信端进行通信。
在此, 本发明获取移动设备中待提供通信连接的多个候选应用, 根据所述候选应用的应用相关信息, 从所述多个候选应用中选择目标 连接应用, 启用所述目标连接应用的通信模块, 以为所述多个候选应 用提供通信连接; 极大地节省了系统资源, 提高了移动设备的系统资 源利用率, 进而也相应地提高了用户的使用体验。
优选地,移动设备 1的各个装置之间是持续不断工作的。具体地, 应用获取装置 101获取移动设备中待提供通信连接的多个候选应用, 其中, 所述多个候选应用中至少一个包括用于提供通信连接的通信模 块; 应用选择装置 102根据所述候选应用的应用相关信息, 从所述多 个候选应用中选择目标连接应用, 其中, 所述目标连接应用包括所述 通信模块; 通信提供装置 103启用所述目标连接应用的通信模块, 以 为所述多个候选应用提供通信连接。在此,本领域技术人员应理解"持 续" 是指移动设备 1的各装置分别不断地进行多个候选应用的获取、 目标连接应用的选择、 通信模块的启用, 直至该移动设备 1在较长时 间内停止获取待提供通信连接的多个候选应用。
优选地, 该应用选择装置 102根据所述候选应用的应用相关信息, 并结合预定应用数量阈值, 从所述多个候选应用中选择目标连接应 用, 其中, 所述目标连接应用包括所述通信模块。 具体地, 移动设备 1可以预设一个预定应用数量阈值, 该预定应用数量阈值用于判断是 否应新选择一个目标连接应用, 并启用该目标连接应用的通信模块, 如当该移动设备 1中待提供通信连接的候选应用超过该预定应用数量 阈值时, 新增至少一个目标连接应用。 例如, 假设该预定应用数量阈 值为 5 , 则当该移动设备 1中有 6个待提供通信连接的候选应用时, 该应用选择装置 102根据该候选应用的应用相关信息, 并结合该预定 应用数量阈值 5 , 从该 6个候选应用中选择 2个目标连接应用, 如根 据该 6个候选应用的通信需求信息、该 6个候选应用的通信模块的通 信协议信息、 该 6个候选应用的应用分类信息等, 从该 6个候选应用 中选择 2个应用, 作为目标连接应用。 又如, 假设该预定应用数量阈 值为 5 , 则当该移动设备 1中有 11个待提供通信连接的候选应用时, 该应用选择装置 102根据该候选应用的应用相关信息, 并结合该预定 应用数量阈值 5 , 从该 11个候选应用中选择 3个应用,作为目标连接 应用。
在此, 本发明获取移动设备中待提供通信连接的多个候选应用, 根据所述候选应用的应用相关信息, 并结合预定应用数量阈值, 从该 多个候选应用中选择目标连接应用, 启用所述目标连接应用的通信模 块, 以为所述多个候选应用提供通信连接, 使得目标连接应用的选择 更合理化, 进一步提高了移动设备的系统资源利用率与处理速度。
优选地, 该移动设备 1 还包括模块调度装置 (未示出), 该模块调 度装置当启用所述目标连接应用的通信模块, 通过所述目标连接应用 向候选连接应用广播应用连接消息, 其中, 所述候选连接应用包括所 述多个候选应用中除所述目标连接应用外的候选应用, 所述应用连接 消息包括所述目标连接应用的应用标识; 通过所述多个候选连接应用 中至少一个接收所述应用连接消息, 根据所述应用连接消息, 关闭所 述多个候选连接应用中至少一个所对应的通信模块。
具体地, 当通信提供装置 103启用该目标连接应用的通信模块, 该目标连接应用与对应的通信端建立了通信连接, 模块调度装置根据 该通信连接, 通过将该目标连接应用的应用标识添加至特定字段等方 式, 生成了应用连接消息, 进而, 通过该目标连接应用向候选连接应 用广播该应用连接消息, 该应用连接消息中包括该目标连接应用的应 用标识; 随后, 该通信提供装置 103再通过多个候选连接应用中的至 少一个, 接收该应用连接消息, 才艮据该应用连接消息, 关闭该多个候 选连接应用中至少一个所对应的通信模块。 在此, 该候选连接应用包 括该多个候选应用中除所述目标连接应用外的候选应用。
在此, 本发明通过目标连接应用发送应用连接消息至候选连接应 用, 使得候选连接应用根据该应用连接消息, 关闭其上的通信模块, 极大地节省了系统资源, 提高了移动设备的系统资源利用率, 进而也 相应地提高了用户的使用体验。
图 2示出根据本发明一个优选实施例的用于在移动设备中为多个 候选应用提供通信连接的设备示意图。 该移动设备 1还包括应用消息 发送装置 204和应用消息转发装置 205。 以下参照图 2对该优选实施 例进行详细描述: 具体地, 应用获取装置 201获取移动设备中待提供 通信连接的多个候选应用, 其中, 所述多个候选应用中至少一个包括 用于提供通信连接的通信模块; 应用选择装置 202根据所述候选应用 的应用相关信息, 从所述多个候选应用中选择目标连接应用, 其中, 所述目标连接应用包括所述通信模块; 通信提供装置 203启用所述目 标连接应用的通信模块, 以为所述多个候选应用提供通信连接; 应用 消息发送装置 204通过所述第一候选连接应用, 根据所述目标连接应用 的应用标识, 向所述目标连接应用发送第一应用消息; 应用消息转发装 置 205通过所述目标连接应用接收所述第一候选应用所发送的第一应 用消息, 并通过所述通信模块发送所述第一应用消息至对应的通信 端。其中,应用获取装置 201、应用选择装置 202和通信提供装置 203 与图 1所示对应装置相同或相似, 故此处不再赘述, 并通过引用的方 式包含于此。
其中, 所述多个候选连接应用包括第一候选连接应用, 应用消息 发送装置 204通过所述第一候选连接应用, 根据所述目标连接应用的应 用标识, 向所述目标连接应用发送第一应用消息。 具体地, 该多个候选 连接应用包括第一候选连接应用, 当该目标连接应用成功启用其上的通 信模块, 并建立与对应的通信端的通信连接之后, 会向候选连接应用广 播应用连接消息, 该应用连接消息中包括有该目标连接应用的应用标 识; 该应用消息发送装置 204通过该第一候选连接应用接收到该广播 的应用连接消息, 自该应用连接消息的特定字段中提取该目标连接应 用的应用标识, 再才艮据该应用标识, 向该目标连接应用发送第一应用 消息。
在此, 第一应用消息包括需发送至其他移动设备或服务器等通信端 的应用消息, 如即时消息、 数据请求消息等。
例如, H没应用 A为目标连接应用, 当该应用 A成功启用其上的通 信模块, 并建立与对应的通信端的通信连接之后, 向候选连接应用 B、 C、 D广播应用连接消息, 该应用连接消息中包括有该应用 A的应用 ID; 随后, 该应用消息发送装置 204通过其中的应用 B接收到该应用 A广播的应用连接消息, 自该应用连接消息的特定字段中提取该应用 A的应用 ID, 再才艮据该应用 ID, 向该应用 A发送第一应用消息, 如 向该应用 A发送向服务器甲请求数据的数据请求消息。
应用消息转发装置 205 通过所述目标连接应用接收所述第一候选 应用所发送的第一应用消息, 并通过所述通信模块发送所述第一应用 消息至对应的通信端。 具体地, 当应用消息发送装置 204通过第一候 选连接应用, 向该目标连接应用发送第一应用消息, 该应用消息转发装 置 205通过该目标连接应用, 接收该第一候选应用所发送的第一应用 消息, 进而, 通过该目标连接应用所启用的通信模块, 将该第一应用 消息发送至该第一应用消息对应的通信端。
接上例, 应用消息转发装置 205通过该应用 A接收该应用 B所发 送的数据请求消息, 通过该应用 A上的通信模块, 将该数据请求消息 发送至对应的服务器甲, 以请求数据。
优选地, 所述多个候选连接应用包括第一候选连接应用, 其中, 该移动设备 1还包括应用消息广播装置(未示出), 该应用消息广播装 置通过所述第一候选连接应用广播待发送至对应的通信端的第一应 用消息;应用消息转发装置 205通过所述目标连接应用接收所述第一候 选应用所广播的第一应用消息, 并通过所述通信模块发送所述第一应 用消息至所述对应的通信端。
具体地, 若当该目标连接应用成功建立与对应的通信端的通信连 接后, 未广播应用连接消息, 或该第一候选连接应用未收到该目标连 接应用所广播的应用连接消息, 或该第一候选连接应用未成功从该应 用连接消息中提取出该目标连接应用的应用标识, 则该应用消息广播 装置通过第一候选连接应用, 广播待发送至对应的通信端的第一应用 消息; 随后,应用消息转发装置 205通过该目标连接应用接收该第一候 选应用所广播的第一应用消息, 并通过所述通信模块发送该第一应用 消息至对应的通信端。
在此, 本发明通过选择的目标连接应用, 为该多个候选应用转发 相应的应用消息至对应的通信端, 进一步提升了系统资源的利用率。
优选地, 所述第一应用消息包括所述第一候选连接应用所对应的应 用标识, 其中, 所述应用消息转发装置 205还包括标识提取单元(未示 出)和应用确定单元 (未示出)。 该标识提取单元通过所述目标连接应 用自所述第一应用消息中提取所述应用标识; 该应用确定单元根据所 述应用标识, 确定与所述应用标识相对应的第一候选连接应用。
具体地, 该第一候选连接应用发送至该目标连接应用的、 或该第 一候选连接应用所广播的第一应用消息, 可以包括该第一候选连接应 用所对应的应用标识, 如该第一候选连接应用的应用 ID, 则当应用消息 转发装置 205通过该目标连接应用, 接收到该第一应用消息时, 该标识 提取单元通过该目标连接应用, 自该第一应用消息的特定字段中提取 该应用标识; 随后, 该应用确定单元才艮据该应用标识, 确定与该应用 标识相对应的第一候选连接应用, 即, 确定是否为该第一候选连接应 用转发相应的第一应用信息至对应的通信端, 如当该标识提取单元能 成功从该第一应用消息中提取出应用标识, 则该应用确定单元确定可 为该应用标识对应的第一候选连接应用转发该第一应用消息至对应 的通信端。
更优选地, 该应用确定单元^ f艮据所述应用标识, 并结合应用 4受权 信息, 确定与所述应用标识相对应的第一候选连接应用。 具体地, 在 标识提取单元自该第一应用消息的特定字段中提取应用标识后, 应用 确定单元才艮据该应用标识, 并结合应用 4受权信息, 如才艮据该应用标识 是否已获得授权、该应用标识对应的第一候选连接应用与该目标连接 应用是否具有相同的应用分类信息等,确定与该应用标识相对应的第 一候选连接应用, 即, 确定是否为该第一候选连接应用转发相应的第 一应用信息至对应的通信端。
在此, 本发明才艮据应用消息中的应用标识, 确定第一候选连接应 用, 为该第一候选连接应用转发相应的第一应用消息至对应的通信 端, 使得转发的过程更加可靠, 也进一步提高了移动设备的系统资源 利用率。
优选地,应用消息转发装置 205通过所述目标连接应用接收所述第 一候选应用所发送的第一应用消息; 根据所述目标连接应用与所述对 应的通信端之间的历史消息传递记录, 对所述第一应用消息进行编码 处理, 以减少所述第一应用消息的数据量; 将编码处理后的所述第一 应用消息通过所述通信模块发送至所述对应的通信端。
具体地,应用消息转发装置 205通过该目标连接应用接收该第一候 选应用所发送的第一应用消息; 进而, 例如通过与该移动设备 1的应 用记录库的交互, 获取该目标连接应用与对应的通信端之间的历史消 息传递记录, 根据该历史消息传递记录, 对该第一应用消息进行编码 处理, 以减少该第一应用消息的数据量, 如当该第一应用消息中包含 历史已传递过的消息时, 将该已传递的消息进行删除, 并对该第一应 用消息进行重新编码处理; 随后, 将经编码处理后的第一应用消息通 过该目标连接应用的通信模块, 发送至该对应的通信端。
在此, 本发明根据历史消息传递记录, 对第一应用消息进行编码 处理, 以减少该第一应用消息的数据量, 进一步提高了移动设备的系 统资源利用率, 提升了系统的处理速度。
优选地, 所述多个候选连接应用包括第二候选连接应用, 其中, 所述应用消息转发装置 205通过所述目标连接应用接收所述第二候选 连接应用所发送的第二应用消息; 将所述第一应用消息与所述第二应 用消息进行合并处理, 以获得合并处理后的目标应用消息; 将所述合 并处理后的目标应用消息发送至所述对应的通信端。
具体地, 该多个候选连接应用还可以包括第二候选连接应用, 该 第二候选连接应用也可以发送第二应用消息至该目标连接应用, 则应 用消息转发装置 205通过该目标连接应用接收该第二候选连接应用所 发送的第二应用消息; 进而, 将该第一应用消息与该第二应用消息进 行合并处理, 以获得合并处理后的目标应用消息, 较佳地, 该应用消 息转发装置 205还可以将该第一应用消息与该第二应用消息进行合并 处理, 去除冗余的信息, 减少该目标应用消息的数据量; 随后, 通过 该目标连接应用上的通信模块, 将该经合并处理后的目标应用消息发 送至对应的通信端。
在此, 本发明对第一应用消息和第二应用消息进行合并处理, 将 经合并处理后的目标应用消息发送至对应的通信端, 进一步提高了移 动设备的系统资源利用率, 提升了系统的处理速度。
在一优选实施例中, 所述多个候选连接应用包括第三候选连接应 用, 其中, 该移动设备 1还包括服务消息接收装置 (未示出)和服务 消息转发装置 (未示出)。 该服务消息接收装置通过所述目标连接应 用接收对应的通信端所发送的服务消息, 其中, 所述服务消息包括所 述第三候选应用的应用标识; 该服务消息转发装置根据所述应用标 识, 将所述服务消息发送至所述应用标识所对应的所述第三候选应 用。
具体地, 该移动设备 1中的目标连接应用除了可以将候选连接应 用的第一应用消息转发至对应的通信端, 该目标连接应用也可以将该 对应的通信端的服务消息转发至该候选连接应用, 在此, 该服务消息 包括移动设备或服务器等通信端需推送至应用的服务消息, 如服务通知 消息等。 例如, 服务器乙向该移动设备 1发送服务通知消息, 该服务 通知消息包括应用 A的应用标识,用于通知该移动设备 1中的应用 A, 该移动设备 1中的目标连接应用为应用 B, 则服务消息接收装置通过 该应用 B, 接收该服务器乙所发送的服务通知消息; 随后, 服务消息 转发装置自该服务通知消息的特定字段中提取该应用标识,根据该应 用标识, 确定对应的应用 A, 进而, 将该服务通知消息发送至该应用 A。
在此, 本发明将对应的通信端的服务消息转发至该多个候选应 用, 进一步提升了系统资源的利用率。
图 3示出根据本发明另一个方面的用于在移动设备中为多个候选 应用提供通信连接的方法流程图。
在此, 移动设备 1包括但不限于任意一种可以进行网络通信的移 动终端, 包括但不限于手机、 游戏机、 掌上电脑(PPC )、 平板电脑或 笔记本电脑等。 本领域技术人员应能理解上述移动设备仅为举例, 其 他现有的或今后可能出现的移动设备如可适用于本发明, 也应包含在 本发明保护范围以内, 并在此以引用方式包含于此。
在步骤 S301 中, 移动设备 1获取移动设备中待提供通信连接的 多个候选应用, 其中, 所述多个候选应用中至少一个包括用于提供 通信连接的通信模块。 具体地, 同一移动设备中可能存在多个需要 提供通信连接的候选应用, 如多个需要连接至其他移动设备、 服务 器等的候选应用, 所述多个候选应用中至少一个包括用于提供通信 连接的通信模块, 如该多个候选应用中每一个都内置有该用于提供 通信连接的通信模块, 在步骤 S301 中, 移动设备 1例如通过获取该 多个候选应用的应用连接请求等方式, 获取移动设备 1中待提供通信 连接的多个候选应用。 在此, 本发明中的"多个"意指两个或两个以 上。
本领域技术人员应能理解上述获取多个候选应用的方式仅为举 例, 其他现有的或今后可能出现的获取多个候选应用的方式如可适用 于本发明, 也应包含在本发明保护范围以内, 并在此以引用方式包含 于此。
在步骤 S302中,移动设备 1根据所述候选应用的应用相关信息, 从所述多个候选应用中选择目标连接应用, 其中, 所述目标连接应用 包括所述通信模块。 具体地, 在步骤 S302中, 移动设备 1根据在步 骤 S301 中所获取的待提供通信连接的多个候选应用, 根据该候选应 用的应用相关信息, 如该候选应用的通信需求信息、 该候选应用的通 信模块的通信协议信息、 该候选应用的应用分类信息等, 从该多个候 选应用中选择目标连接应用, 以使该目标连接应用为该多个候选应用 提供通信连接, 在此, 该被选择的目标连接应用包括该通信模块。
例如, 当该应用相关信息包括该候选应用的通信需求信息, 在步 骤 S302中,移动设备 1根据在步骤 S301中所获取的待提供通信连接 的多个候选应用, 根据该候选应用的应用相关信息, 如该候选应用的 通信需求信息、 该候选应用的通信模块的通信协议信息、 该候选应用 的应用分类信息等, 从该多个候选应用中选择目标连接应用, 以使该 目标连接应用为该多个候选应用提供通信连接, 在此, 该被选择的目 标连接应用包括该通信模块。
当该应用相关信息包括该候选应用的通信需求信息,在步骤 S302 中, 移动设备 1根据在步骤 S301 中所获取的待提供通信连接的多个 候选应用, 根据该候选应用的通信需求信息, 从该多个候选应用中选 择目标连接应用, 以使该目标连接应用为该多个候选应用提供通信连 接, 在此, 该被选择的目标连接应用包括该通信模块。 在此, 通信需 求信息包括可用于描述候选应用对于通信连接的需求信息, 如通信速 率需求信息、 通信带宽需求信息等。 例如, 假设候选应用 A为视频访 问应用, 该候选应用 A需要较高通信速率, 才能与对应的通信端建立 正常的连接, 则在步骤 S302中, 移动设备 1将该候选应用 A作为目 标连接应用, 或者, 从该多个候选应用中选择较高通信速率的应用作 为目标连接应用。
当该应用相关信息包括该候选应用的通信模块的通信协议信息, 在步骤 S302中,移动设备 1根据在步骤 S301中所获取的待提供通信 连接的多个候选应用, 根据该候选应用的通信模块的通信协议信息, 从该多个候选应用中选择目标连接应用, 以使该目标连接应用为该多 个候选应用提供通信连接, 在此, 该被选择的目标连接应用包括该通 信模块。 在此, 通信协议信息包括可用于描述候选应用所包括的通信 模块与对应的通信端建立通信连接所使用的通信协议, 诸如 TCP/IP 协议、 UDP协议等。 例如, 该多个候选应用的通信模块的通信协议可 能不同, 假设候选应用 A的通信模块采用 TCP/IP协议, 而候选应用 B的通信模块采用 UDP协议, 当前通信网络所采用的也为 TCP/IP协 议, 则在步骤 S302中, 移动设备 1根据该通信协议与当前通信网络 的匹配信息, 从该多个候选应用中选择具有与当前通信网络相匹配的 通信协议的通信模块所对应的应用, 以作为目标连接应用, 如在该候 选应用 A与 B中选择该候选应用 A作为目标连接应用。
当该应用相关信息包括该候选应用的应用分类信息,在步骤 S302 中, 移动设备 1根据在步骤 S301 中所获取的待提供通信连接的多个 候选应用, 根据该候选应用的应用分类信息, 从该多个候选应用中选 择目标连接应用, 以使该目标连接应用为该多个候选应用提供通信连 接, 在此, 该被选择的目标连接应用包括该通信模块。 在此, 应用分 类信息包括可用于描述候选应用所对应的应用类型、服务器类型等的 信息。 例如, 该移动设备 1中有 6个待提供通信连接的候选应用, 其 中两个候选应用对应的应用分类信息相同, 如对应应用服务器甲, 另 外四个候选应用对应的应用分类信息相同, 如对应应用服务器乙, 则 在步骤 S302中, 移动设备 1分别自对应应用服务器甲的两个候选应 用中选择一个目标连接应用, 如根据运行时间的先后, 选择先运行的 候选应用作为目标连接应用,再自对应应用服务器乙的四个候选应用 中选择一个目标连接应用。
优选地, 在步骤 S302中, 移动设备 1根据在步骤 S301中所获取 的待提供通信连接的多个候选应用,根据该候选应用的上述任意多种 应用相关信息, 从该多个候选应用中选择目标连接应用, 以使该目标 连接应用为该多个候选应用提供通信连接, 在此, 该被选择的目标连 接应用包括该通信模块。
本领域技术人员应能理解上述选择目标连接应用的方式仅为举 例, 其他现有的或今后可能出现的选择目标连接应用的方式如可适用 于本发明, 也应包含在本发明保护范围以内, 并在此以引用方式包含 于此。 本领域技术人员还应能理解上述应用相关信息仅为举例, 其他 现有的或今后可能出现的应用相关信息如可适用于本发明, 也应包含 在本发明保护范围以内, 并在此以引用方式包含于此。
在步骤 S303中,移动设备 1启用所述目标连接应用的通信模块, 以为所述多个候选应用提供通信连接。 具体地, 当在步骤 S302 中, 移动设备 1从该多个候选应用中选择目标连接应用之后,在步骤 S303 中,移动设备 1启用该目标连接应用的通信模块,以通过该通信模块, 为该多个候选应用提供通信连接, 如为该多个候选应用提供与其他移 动设备或服务器的通信连接。 例如, 在步骤 S303中, 移动设备 1为 该多个候选应用中除该目标连接应用外的候选应用提供通信连接, 当 该候选应用需与对应的移动设备、 服务器等通信端通信时, 该目标连 接应用为该候选应用与该对应的通信端传递消息。 又如,在步骤 S303 中, 移动设备 1为该目标连接应用提供通信连接, 使得该目标连接应 用可与对应的通信端进行通信。
在此, 本发明获取移动设备中待提供通信连接的多个候选应用, 根据所述候选应用的应用相关信息, 从所述多个候选应用中选择目标 连接应用, 启用所述目标连接应用的通信模块, 以为所述多个候选应 用提供通信连接; 极大地节省了系统资源, 提高了移动设备的系统资 源利用率, 进而也相应地提高了用户的使用体验。
优选地,移动设备 1的各个步骤之间是持续不断工作的。具体地, 在步骤 S301 中, 移动设备 1获取移动设备中待提供通信连接的多个 候选应用, 其中, 所述多个候选应用中至少一个包括用于提供通信连 接的通信模块; 在步骤 S302中, 移动设备 1根据所述候选应用的应 用相关信息, 从所述多个候选应用中选择目标连接应用, 其中, 所述 目标连接应用包括所述通信模块; 在步骤 S303中, 移动设备 1启用 所述目标连接应用的通信模块, 以为所述多个候选应用提供通信连 接。 在此, 本领域技术人员应理解 "持续" 是指移动设备 1的各步骤 分别不断地进行多个候选应用的获取、 目标连接应用的选择、 通信模 块的启用, 直至该移动设备 1在较长时间内停止获取待提供通信连接 的多个候选应用。
优选地, 在步骤 S302 中, 移动设备 1根据所述候选应用的应用 相关信息, 并结合预定应用数量阈值, 从所述多个候选应用中选择目 标连接应用, 其中, 所述目标连接应用包括所述通信模块。 具体地, 移动设备 1可以预设一个预定应用数量阈值, 该预定应用数量阈值用 于判断是否应新选择一个目标连接应用, 并启用该目标连接应用的通 信模块, 如当该移动设备 1中待提供通信连接的候选应用超过该预定 应用数量阈值时, 新增至少一个目标连接应用。 例如, 假设该预定应 用数量阈值为 5 , 则当该移动设备 1中有 6个待提供通信连接的候选 应用时, 在步骤 S302中, 移动设备 1根据该候选应用的应用相关信 息, 并结合该预定应用数量阈值 5 , 从该 6个候选应用中选择 2个目 标连接应用, 如根据该 6个候选应用的通信需求信息、 该 6个候选应 用的通信模块的通信协议信息、 该 6个候选应用的应用分类信息等, 从该 6个候选应用中选择 2个应用, 作为目标连接应用。 又如, 假设 该预定应用数量阈值为 5 ,则当该移动设备 1中有 11个待提供通信连 接的候选应用时, 在步骤 S302中, 移动设备 1根据该候选应用的应 用相关信息, 并结合该预定应用数量阈值 5 , 从该 11个候选应用中选 择 3个应用, 作为目标连接应用。
在此, 本发明获取移动设备中待提供通信连接的多个候选应用, 根据所述候选应用的应用相关信息, 并结合预定应用数量阈值, 从该 多个候选应用中选择目标连接应用, 启用所述目标连接应用的通信模 块, 以为所述多个候选应用提供通信连接, 使得目标连接应用的选择 更合理化, 进一步提高了移动设备的系统资源利用率与处理速度。
优选地, 该方法还包括步骤 S306 (未示出), 在步骤 S306中, 移 动设备 1 当启用所述目标连接应用的通信模块, 通过所述目标连接应 用向候选连接应用广播应用连接消息, 其中, 所述候选连接应用包括 所述多个候选应用中除所述目标连接应用外的候选应用, 所述应用连 接消息包括所述目标连接应用的应用标识; 通过所述多个候选连接应 用中至少一个接收所述应用连接消息, 根据所述应用连接消息, 关闭 所述多个候选连接应用中至少一个所对应的通信模块。
具体地, 当在步骤 S303中, 移动设备 1启用该目标连接应用的 通信模块, 该目标连接应用与对应的通信端建立了通信连接, 在步骤 S306中, 移动设备 1根据该通信连接, 通过将该目标连接应用的应用 标识添加至特定字段等方式, 生成了应用连接消息, 进而, 通过该目 标连接应用向候选连接应用广播该应用连接消息, 该应用连接消息中 包括该目标连接应用的应用标识; 随后, 在步骤 S303 中, 移动设备 1再通过多个候选连接应用中的至少一个, 接收该应用连接消息, 根 据该应用连接消息, 关闭该多个候选连接应用中至少一个所对应的通 信模块。 在此, 该候选连接应用包括该多个候选应用中除所述目标连 接应用外的候选应用。
在此, 本发明通过目标连接应用发送应用连接消息至候选连接应 用, 使得候选连接应用根据该应用连接消息, 关闭其上的通信模块, 极大地节省了系统资源, 提高了移动设备的系统资源利用率, 进而也 相应地提高了用户的使用体验。
图 4示出根据本发明一个优选实施例的用于在移动设备中为多个 候选应用提供通信连接的方法流程图。 以下参照图 4对该优选实施例 进行详细描述: 具体地, 在步骤 S401 中, 移动设备 1获取移动设备 中待提供通信连接的多个候选应用, 其中, 所述多个候选应用中至少 一个包括用于提供通信连接的通信模块; 在步骤 S402中, 移动设备 1根据所述候选应用的应用相关信息, 从所述多个候选应用中选择目 标连接应用, 其中, 所述目标连接应用包括所述通信模块; 在步骤
S403 中, 移动设备 1 启用所述目标连接应用的通信模块, 以为所述 多个候选应用提供通信连接; 在步骤 S404中, 移动设备 1通过所述 第一候选连接应用, ^据所述目标连接应用的应用标识, 向所述目标连 接应用发送第一应用消息; 在步骤 S405中, 移动设备 1通过所述目标 连接应用接收所述第一候选应用所发送的第一应用消息, 并通过所述 通信模块发送所述第一应用消息至对应的通信端。 其中, 步骤 S401-S403分别与图 3所示对应步骤相同或相似, 故此处不再赞述, 并通过引用的方式包含于此。
其中, 所述多个候选连接应用包括第一候选连接应用, 在步骤 S404中, 移动设备 1通过所述第一候选连接应用, 根据所述目标连接 应用的应用标识, 向所述目标连接应用发送第一应用消息。 具体地, 该 多个候选连接应用包括第一候选连接应用, 当该目标连接应用成功启用 其上的通信模块, 并建立与对应的通信端的通信连接之后, 会向候选连 接应用广播应用连接消息, 该应用连接消息中包括有该目标连接应用 的应用标识; 在步骤 S404中, 移动设备 1通过该第一候选连接应用 接收到该广播的应用连接消息, 自该应用连接消息的特定字段中提取 该目标连接应用的应用标识, 再才艮据该应用标识, 向该目标连接应用 发送第一应用消息。
在此, 第一应用消息包括需发送至其他移动设备或服务器等通信端 的应用消息, 如即时消息、 数据请求消息等。
例如, H没应用 A为目标连接应用, 当该应用 A成功启用其上的通 信模块, 并建立与对应的通信端的通信连接之后, 向候选连接应用 B、 C、 D广播应用连接消息, 该应用连接消息中包括有该应用 A的应用 ID; 随后, 在步骤 S404中, 移动设备 1通过其中的应用 B接收到该 应用 A广播的应用连接消息, 自该应用连接消息的特定字段中提取该 应用 A的应用 ID, 再根据该应用 ID, 向该应用 A发送第一应用消息, 如向该应用 A发送向服务器甲请求数据的数据请求消息。 在步骤 S405中,移动设备 1通过所述目标连接应用接收所述第一 候选应用所发送的第一应用消息, 并通过所述通信模块发送所述第一 应用消息至对应的通信端。 具体地, 当在步骤 S404 中, 移动设备 1 通过第一候选连接应用, 向该目标连接应用发送第一应用消息, 在步 骤 S405中, 移动设备 1通过该目标连接应用,接收该第一候选应用所 发送的第一应用消息,进而,通过该目标连接应用所启用的通信模块, 将该第一应用消息发送至该第一应用消息对应的通信端。
接上例,在步骤 S405中, 移动设备 1通过该应用 Α接收该应用 B 所发送的数据请求消息, 通过该应用 A上的通信模块, 将该数据请求 消息发送至对应的服务器甲, 以请求数据。
优选地, 所述多个候选连接应用包括第一候选连接应用, 其中, 该方法还包括步骤 S407 (未示出), 在步骤 S407中, 移动设备 1通过 所述第一候选连接应用广播待发送至对应的通信端的第一应用消息; 在步骤 S405中,移动设备 1通过所述目标连接应用接收所述第一候选 应用所广播的第一应用消息, 并通过所述通信模块发送所述第一应用 消息至所述对应的通信端。
具体地, 若当该目标连接应用成功建立与对应的通信端的通信连 接后, 未广播应用连接消息, 或该第一候选连接应用未收到该目标连 接应用所广播的应用连接消息, 或该第一候选连接应用未成功从该应 用连接消息中提取出该目标连接应用的应用标识,则在步骤 S407中, 移动设备 1通过第一候选连接应用, 广播待发送至对应的通信端的第 一应用消息; 随后, 在步骤 S405中, 移动设备 1通过该目标连接应用 接收该第一候选应用所广播的第一应用消息, 并通过所述通信模块发 送该第一应用消息至对应的通信端。
在此, 本发明通过选择的目标连接应用, 为该多个候选应用转发 相应的应用消息至对应的通信端, 进一步提升了系统资源的利用率。
优选地, 所述第一应用消息包括所述第一候选连接应用所对应的应 用标识, 其中, 所述步骤 S405还包括子步骤 S4051 (未示出)和子步骤 S4052 (未示出)。 在子步骤 S4051中, 移动设备 1通过所述目标连接 应用自所述第一应用消息中提取所述应用标识;该在子步骤 S4052中, 移动设备 1根据所述应用标识, 确定与所述应用标识相对应的第一候 选连接应用。
具体地, 该第一候选连接应用发送至该目标连接应用的、 或该第 一候选连接应用所广播的第一应用消息, 可以包括该第一候选连接应 用所对应的应用标识, 如该第一候选连接应用的应用 ID, 则当在步骤 S405中, 移动设备 1通过该目标连接应用, 接收到该第一应用消息时, 在子步骤 S4051中, 移动设备 1通过该目标连接应用, 自该第一应用 消息的特定字段中提取该应用标识; 随后, 在子步骤 S4052中, 移动 设备 1才艮据该应用标识, 确定与该应用标识相对应的第一候选连接应 用, 即, 确定是否为该第一候选连接应用转发相应的第一应用信息至 对应的通信端, 如当在子步骤 S4051中, 移动设备 1能成功从该第一 应用消息中提取出应用标识, 则在子步骤 S4052中, 移动设备 1确定 可为该应用标识对应的第一候选连接应用转发该第一应用消息至对 应的通信端。
更优选地, 在子步骤 S4052中, 移动设备 1才艮据所述应用标识, 并结合应用授权信息, 确定与所述应用标识相对应的第一候选连接应 用。 具体地, 在子步骤 S4051中, 移动设备 1 自该第一应用消息的特 定字段中提取应用标识后, 在子步骤 S4052中, 移动设备 1根据该应 用标识, 并结合应用授权信息, 如根据该应用标识是否已获得授权、 该应用标识对应的第一候选连接应用与该目标连接应用是否具有相 同的应用分类信息等, 确定与该应用标识相对应的第一候选连接应 用, 即, 确定是否为该第一候选连接应用转发相应的第一应用信息至 对应的通信端。
在此, 本发明根据应用消息中的应用标识, 确定第一候选连接应 用, 为该第一候选连接应用转发相应的第一应用消息至对应的通信 端, 使得转发的过程更加可靠, 也进一步提高了移动设备的系统资源 利用率。
优选地, 在步骤 S405中, 移动设备 1通过所述目标连接应用接收 所述第一候选应用所发送的第一应用消息; 根据所述目标连接应用与 所述对应的通信端之间的历史消息传递记录, 对所述第一应用消息进 行编码处理, 以减少所述第一应用消息的数据量; 将编码处理后的所 述第一应用消息通过所述通信模块发送至所述对应的通信端。
具体地, 在步骤 S405中, 移动设备 1通过该目标连接应用接收该 第一候选应用所发送的第一应用消息; 进而, 例如通过与该移动设备 1的应用记录库的交互, 获取该目标连接应用与对应的通信端之间的 历史消息传递记录, 才艮据该历史消息传递记录, 对该第一应用消息进 行编码处理, 以减少该第一应用消息的数据量, 如当该第一应用消息 中包含历史已传递过的消息时, 将该已传递的消息进行删除, 并对该 第一应用消息进行重新编码处理; 随后, 将经编码处理后的第一应用 消息通过该目标连接应用的通信模块, 发送至该对应的通信端。
在此, 本发明根据历史消息传递记录, 对第一应用消息进行编码 处理, 以减少该第一应用消息的数据量, 进一步提高了移动设备的系 统资源利用率, 提升了系统的处理速度。
优选地, 所述多个候选连接应用包括第二候选连接应用, 其中, 在步骤 S405中, 移动设备 1通过所述目标连接应用接收所述第二候 选连接应用所发送的第二应用消息; 将所述第一应用消息与所述第二 应用消息进行合并处理, 以获得合并处理后的目标应用消息; 将所述 合并处理后的目标应用消息发送至所述对应的通信端。
具体地, 该多个候选连接应用还可以包括第二候选连接应用, 该 第二候选连接应用也可以发送第二应用消息至该目标连接应用, 则在 步骤 S405中, 移动设备 1通过该目标连接应用接收该第二候选连接 应用所发送的第二应用消息; 进而, 将该第一应用消息与该第二应用 消息进行合并处理, 以获得合并处理后的目标应用消息, 较佳地, 在 步骤 S405中, 移动设备 1 还可以将该第一应用消息与该第二应用消 息进行合并处理, 去除冗余的信息, 减少该目标应用消息的数据量; 随后, 通过该目标连接应用上的通信模块, 将该经合并处理后的目标 应用消息发送至对应的通信端。 在此, 本发明对第一应用消息和第二应用消息进行合并处理, 将 经合并处理后的目标应用消息发送至对应的通信端, 进一步提高了移 动设备的系统资源利用率, 提升了系统的处理速度。
在一优选实施例中, 所述多个候选连接应用包括第三候选连接应 用, 其中, 该移动设备 1还包括步骤 S408 (未示出)和步骤 S409 (未 示出)。 在步骤 S408中, 移动设备 1通过所述目标连接应用接收对应 的通信端所发送的服务消息, 其中, 所述服务消息包括所述第三候选 应用的应用标识; 在步骤 S409中, 移动设备 1才艮据所述应用标识, 将所述服务消息发送至所述应用标识所对应的所述第三候选应用。
具体地, 该移动设备 1中的目标连接应用除了可以将候选连接应 用的第一应用消息转发至对应的通信端, 该目标连接应用也可以将该 对应的通信端的服务消息转发至该候选连接应用, 在此, 该服务消息 包括移动设备或服务器等通信端需推送至应用的服务消息, 如服务通知 消息等。 例如, 服务器乙向该移动设备 1发送服务通知消息, 该服务 通知消息包括应用 A的应用标识,用于通知该移动设备 1中的应用 A, 该移动设备 1 中的目标连接应用为应用 B, 则在步骤 S408中, 移动 设备 1通过该应用 B,接收该服务器乙所发送的服务通知消息; 随后, 在步骤 S409中, 移动设备 1 自该服务通知消息的特定字段中提取该 应用标识, 才艮据该应用标识, 确定对应的应用 A, 进而, 将该良务通 知消息发送至该应用 A。
在此, 本发明将对应的通信端的服务消息转发至该多个候选应 用, 进一步提升了系统资源的利用率。
本发明的软件程序可以通过处理器执行以实现上文所述步骤或功 能。 同样地, 本发明的软件程序 (包括相关的数据结构)可以被存储到 计算机可读记录介质中, 例如, RAM存储器, 磁或光驱动器或软磁盘 及类似设备。 另外, 本发明的一些步骤或功能可采用硬件来实现, 例 如, 作为与处理器配合从而执行各个功能或步骤的电路。
另外, 本发明的一部分可被应用为计算机程序产品, 例如计算机程 序指令, 当其被计算机执行时, 通过该计算机的操作, 可以调用或提 供根据本发明的方法和 /或技术方案。 而调用本发明的方法的程序指 令, 可能被存储在固定的或可移动的记录介质中, 和 /或通过广播或其 他信号承载媒体中的数据流而被传输, 和 /或被存储在根据所述程序指 令运行的计算机设备的工作存储器中。 在此, 根据本发明的一个实施 例包括一个装置, 该装置包括用于存储计算机程序指令的存储器和用 于执行程序指令的处理器, 其中, 当该计算机程序指令被该处理器执 行时, 触发该装置运行基于前述^ f艮据本发明的多个实施例的方法和 /或 技术方案。
对于本领域技术人员而言, 显然本发明不限于上述示范性实施例的 细节, 而且在不背离本发明的精神或基本特征的情况下, 能够以其他的 具体形式实现本发明。 因此, 无论从哪一点来看, 均应将实施例看作是 示范性的, 而且是非限制性的, 本发明的范围由所附权利要求而不是上 述说明限定, 因此旨在将落在权利要求的等同要件的含义和范围内的所 有变化涵括在本发明内。 不应将权利要求中的任何附图标记视为限制所 涉及的权利要求。 此外, 显然"包括"一词不排除其他单元或步骤, 单数 不排除复数。 装置权利要求中陈述的多个单元或装置也可以由一个单元 或装置通过软件或者硬件来实现。 第一, 第二等词语用来表示名称, 而 并不表示任何特定的顺序。

Claims

权 利 要 求 书
1. 一种在移动设备中为多个候选应用提供通信连接的方法, 其 中, 该方法包括:
a 获取移动设备中待提供通信连接的多个候选应用, 其中, 所述 多个候选应用中至少一个包括用于提供通信连接的通信模块;
b 根据所述候选应用的应用相关信息, 从所述多个候选应用中选 择目标连接应用, 其中, 所述目标连接应用包括所述通信模块;
c 启用所述目标连接应用的通信模块, 以为所述多个候选应用提 供通信连接;
其中, 所述应用相关信息包括以下至少任一项:
- 所述候选应用的通信需求信息;
- 所述候选应用的通信模块的通信协议信息;
- 所述候选应用的应用分类信息。
2. 根据权利要求 1所述的方法, 其中, 该方法还包括:
- 当启用所述目标连接应用的通信模块, 通过所述目标连接应用 向候选连接应用广播应用连接消息, 其中, 所述候选连接应用包括所 述多个候选应用中除所述目标连接应用外的候选应用, 所述应用连接 消息包括所述目标连接应用的应用标识;
- 通过所述多个候选连接应用中至少一个接收所述应用连接消 息, 根据所述应用连接消息, 关闭所述多个候选连接应用中至少一个 所对应的通信模块。
3. 根据权利要求 2所述的方法, 其中, 所述多个候选连接应用包 括第一候选连接应用, 其中, 该方法还包括:
- 通过所述第一候选连接应用,根据所述目标连接应用的应用标识, 向所述目标连接应用发送第一应用消息;
g通过所述目标连接应用接收所述第一候选应用所发送的第一应 用消息, 并通过所述通信模块发送所述第一应用消息至对应的通信 山
4. 根据权利要求 1或 2所述的方法, 其中, 所述多个候选连接应 用包括第一候选连接应用, 其中, 该方法还包括:
- 通过所述第一候选连接应用广播待发送至对应的通信端的第 一应用消息;
g通过所述目标连接应用接收所述第一候选应用所广播的第一应 用消息, 并通过所述通信模块发送所述第一应用消息至所述对应的通 信端。
5. 根据权利要求 3或 4所述的方法, 其中, 所述第一应用消息包 括所述第一候选连接应用所对应的应用标识,其中,所述步骤 g还包括:
- 通过所述目标连接应用自所述第一应用消息中提取所述应用标 识;
r才艮据所述应用标识, 确定与所述应用标识相对应的第一候选连 接应用。
6. 根据权利要求 5所述的方法, 其中, 所述步骤 r包括:
- 根据所述应用标识, 并结合应用授权信息, 确定与所述应用标 识相对应的第一候选连接应用。
7. 根据权利要求 3至 6中任一项所述的方法, 其中, 所述步骤 g 还包括:
- 通过所述目标连接应用接收所述第一候选应用所发送的第一应 用消息;
- 根据所述目标连接应用与所述对应的通信端之间的历史消息 传递记录, 对所述第一应用消息进行编码处理, 以减少所述第一应用 消息的数据量;
- 将编码处理后的所述第一应用消息通过所述通信模块发送至 所述对应的通信端。
8. 根据权利要求 3至 7中任一项所述的方法, 其中, 所述多个 候选连接应用包括第二候选连接应用, 其中, 所述步骤 g还包括:
- 通过所述目标连接应用接收所述第二候选连接应用所发送的 第二应用消息; - 将所述第一应用消息与所述第二应用消息进行合并处理, 以获 得合并处理后的目标应用消息;
- 将所述合并处理后的目标应用消息发送至所述对应的通信端。
9. 根据权利要求 1至 8中任一项所述的方法, 其中, 所述多个 候选连接应用包括第三候选连接应用, 其中, 该方法还包括:
- 通过所述目标连接应用接收对应的通信端所发送的服务消息, 其中, 所述服务消息包括所述第三候选应用的应用标识;
- 根据所述应用标识, 将所述服务消息发送至所述应用标识所对 应的所述第三候选应用。
10. 根据权利要求 1至 9中任一项所述的方法, 其中, 所述步骤 b还包括:
- 根据所述候选应用的应用相关信息, 并结合预定应用数量阈 值, 从所述多个候选应用中选择目标连接应用, 其中, 所述目标连接 应用包括所述通信模块。
11. 一种为多个候选应用提供通信连接的移动设备, 其中, 该设 备包括:
应用获取装置, 用于获取移动设备中待提供通信连接的多个候选 应用, 其中, 所述多个候选应用中至少一个包括用于提供通信连接的 通信模块;
应用选择装置, 用于根据所述候选应用的应用相关信息, 从所述 多个候选应用中选择目标连接应用, 其中, 所述目标连接应用包括所 述通信模块;
通信提供装置, 用于启用所述目标连接应用的通信模块, 以为所 述多个候选应用提供通信连接;
其中, 所述应用相关信息包括以下至少任一项:
- 所述候选应用的通信需求信息;
- 所述候选应用的通信模块的通信协议信息;
- 所述候选应用的应用分类信息。
12. 根据权利要求 11 所述的移动设备, 其中, 该设备还包括模块 调度装置, 用于:
- 当启用所述目标连接应用的通信模块, 通过所述目标连接应用 向候选连接应用广播应用连接消息, 其中, 所述候选连接应用包括所 述多个候选应用中除所述目标连接应用外的候选应用, 所述应用连接 消息包括所述目标连接应用的应用标识;
- 通过所述多个候选连接应用中至少一个接收所述应用连接消 息, 根据所述应用连接消息, 关闭所述多个候选连接应用中至少一个 所对应的通信模块。
13. 根据权利要求 12所述的移动设备, 其中, 所述多个候选连接 应用包括第一候选连接应用, 其中, 该设备还包括:
应用消息发送装置, 用于通过所述第一候选连接应用, 根据所述目 标连接应用的应用标识, 向所述目标连接应用发送第一应用消息;
应用消息转发装置,用于通过所述目标连接应用接收所述第一候选 应用所发送的第一应用消息, 并通过所述通信模块发送所述第一应用 消息至对应的通信端。
14. 才艮据权利要求 11或 12所述的移动设备, 其中, 所述多个候选 连接应用包括第一候选连接应用, 其中, 该设备还包括:
应用消息广播装置, 用于通过所述第一候选连接应用广播待发送 至对应的通信端的第一应用消息;
应用消息转发装置,用于通过所述目标连接应用接收所述第一候选 应用所广播的第一应用消息, 并通过所述通信模块发送所述第一应用 消息至所述对应的通信端。
15. 根据权利要求 13或 14所述的移动设备, 其中, 所述第一应用 消息包括所述第一候选连接应用所对应的应用标识, 其中, 所述应用消 息转发装置还包括:
标识提取单元,用于通过所述目标连接应用自所述第一应用消息中 提取所述应用标识;
应用确定单元, 用于才艮据所述应用标识, 确定与所述应用标识相 对应的第一候选连接应用。
16. 才艮据权利要求 15所述的移动设备, 其中, 所述应用确定单 元用于:
- 根据所述应用标识, 并结合应用授权信息, 确定与所述应用标 识相对应的第一候选连接应用。
17. 根据权利要求 13至 16中任一项所述的移动设备, 其中, 应 用消息转发装置还用于:
- 通过所述目标连接应用接收所述第一候选应用所发送的第一应 用消息;
- 根据所述目标连接应用与所述对应的通信端之间的历史消息 传递记录, 对所述第一应用消息进行编码处理, 以减少所述第一应用 消息的数据量;
- 将编码处理后的所述第一应用消息通过所述通信模块发送至 所述对应的通信端。
18. 根据权利要求 13至 17中任一项所述的移动设备, 其中, 所 述多个候选连接应用包括第二候选连接应用, 其中, 所述应用消息转 发装置还用于:
- 通过所述目标连接应用接收所述第二候选连接应用所发送的 第二应用消息;
- 将所述第一应用消息与所述第二应用消息进行合并处理, 以获 得合并处理后的目标应用消息;
- 将所述合并处理后的目标应用消息发送至所述对应的通信端。
19. 根据权利要求 11至 18中任一项所述的移动设备, 其中, 所 述多个候选连接应用包括第三候选连接应用, 其中, 该设备还包括: 服务消息接收装置, 用于通过所述目标连接应用接收对应的通信 端所发送的服务消息, 其中, 所述服务消息包括所述第三候选应用的 应用标识;
服务消息转发装置, 用于根据所述应用标识, 将所述服务消息发 送至所述应用标识所对应的所述第三候选应用。
20. 根据权利要求 11至 19中任一项所述的移动设备, 其中, 所 述应用选择装置用于:
- 根据所述候选应用的应用相关信息, 并结合预定应用数量阈 值, 从所述多个候选应用中选择目标连接应用, 其中, 所述目标连接 应用包括所述通信模块。
PCT/CN2013/079921 2012-07-23 2013-07-23 在移动设备中为多个候选应用提供通信连接的方法与设备 WO2014015795A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US14/412,295 US10506021B2 (en) 2012-07-23 2013-07-23 Method and device for providing communication connection for a plurality of candidate applications in a mobile device
JP2015523399A JP6243906B2 (ja) 2012-07-23 2013-07-23 モバイルデバイス内で複数の候補アプリケーションのための通信接続を提供するための方法及びデバイス

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210257090.3A CN103582170B (zh) 2012-07-23 2012-07-23 在移动设备中为多个候选应用提供通信连接的方法与设备
CN201210257090.3 2012-07-23

Publications (1)

Publication Number Publication Date
WO2014015795A1 true WO2014015795A1 (zh) 2014-01-30

Family

ID=49996595

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/079921 WO2014015795A1 (zh) 2012-07-23 2013-07-23 在移动设备中为多个候选应用提供通信连接的方法与设备

Country Status (4)

Country Link
US (1) US10506021B2 (zh)
JP (1) JP6243906B2 (zh)
CN (1) CN103582170B (zh)
WO (1) WO2014015795A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103313111A (zh) * 2012-10-29 2013-09-18 中兴通讯股份有限公司 一种媒体播放方法及装置
CN105873239B (zh) 2015-12-14 2017-10-17 上海连尚网络科技有限公司 用于为用户设备的应用建立无线连接的方法
CN106843952B (zh) * 2017-01-13 2023-02-28 百度在线网络技术(北京)有限公司 更新应用中功能模块的方法与装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001076279A2 (en) * 2000-03-30 2001-10-11 Qualcomm Incorporated Method and apparatus for a mobile station application to identify specified status messages
CN101167327A (zh) * 2005-04-18 2008-04-23 捷讯研究有限公司 通过移动应用程序访问多个数据源的系统和方法
CN101655892A (zh) * 2009-09-22 2010-02-24 成都市华为赛门铁克科技有限公司 一种移动终端和访问控制方法

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6928468B2 (en) * 1999-10-29 2005-08-09 Koninklijke Philips Electronics N.V. System for broadcasting software applications and portable data communications device for use in such a system
AU2003207878A1 (en) * 2003-02-28 2004-09-17 Nokia Corporation Broadcast messaging in a telecommunication network
US8254358B2 (en) * 2003-03-06 2012-08-28 Ericsson Ab Communicating a broadcast message to change data rates of mobile stations
JP2004328151A (ja) * 2003-04-22 2004-11-18 Toshiba Corp 電子機器及び無線モジュール割当て方法
CN100518366C (zh) * 2003-09-30 2009-07-22 夏普株式会社 通信系统、基站、终端电台、通信装置、通信管理方法、控制程序和记录它的计算机可读记录介质
US7505443B2 (en) * 2004-06-24 2009-03-17 Kapsch Trafficcom Inc. System and method for broadcasting application-specific information in wireless local area networks
US7860923B2 (en) * 2004-08-18 2010-12-28 Time Warner Inc. Method and device for the wireless exchange of media content between mobile devices based on user information
US7675933B2 (en) * 2005-09-23 2010-03-09 Palm, Inc. System and method for enabling radio operations on a wireless computing device
US20090207790A1 (en) * 2005-10-27 2009-08-20 Qualcomm Incorporated Method and apparatus for settingtuneawaystatus in an open state in wireless communication system
US8849297B2 (en) 2006-07-14 2014-09-30 Qualcomm Incorporated Call establishment and maintenance in a wireless network
US8358596B2 (en) * 2010-09-20 2013-01-22 Research In Motion Limited Communications system providing mobile wireless communications device application module associations for respective wireless communications formats and related methods
US9178965B2 (en) * 2011-03-18 2015-11-03 Qualcomm Incorporated Systems and methods for synchronization of application communications
US9247577B2 (en) * 2011-03-31 2016-01-26 Lg Electronics Inc. Method for transmitting/receiving message for receiving broadcasting service reception in wireless communication system and apparatus for same
US9326248B2 (en) * 2012-03-22 2016-04-26 Sharp Kabushiki Kaisha Terminal device, communication method, program, storage medium having program stored thereon, and radio communication system
JP5993599B2 (ja) * 2012-04-05 2016-09-14 株式会社Nttドコモ 無線通信システム、ユーザ装置、基地局、ネットワーク、および通信制御方法。
CN102842007B (zh) * 2012-07-16 2015-03-11 腾讯科技(深圳)有限公司 移动终端应用程序的访问控制方法和系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001076279A2 (en) * 2000-03-30 2001-10-11 Qualcomm Incorporated Method and apparatus for a mobile station application to identify specified status messages
CN101167327A (zh) * 2005-04-18 2008-04-23 捷讯研究有限公司 通过移动应用程序访问多个数据源的系统和方法
CN101655892A (zh) * 2009-09-22 2010-02-24 成都市华为赛门铁克科技有限公司 一种移动终端和访问控制方法

Also Published As

Publication number Publication date
US10506021B2 (en) 2019-12-10
CN103582170A (zh) 2014-02-12
US20150172371A1 (en) 2015-06-18
JP2015528260A (ja) 2015-09-24
JP6243906B2 (ja) 2017-12-06
CN103582170B (zh) 2018-08-10

Similar Documents

Publication Publication Date Title
JP6383424B2 (ja) クラウドストリーミングサービスのためのアプリケーションエラー検出方法、そのための装置及びシステム
CN113132376B (zh) 媒体数据处理方法及装置、系统、电子设备和存储介质
CN108092995B (zh) 流媒体数据处理方法、装置、计算机设备和存储介质
CN110958281B (zh) 基于物联网的数据传输方法及通信装置
WO2016127884A1 (zh) 消息推送方法及装置
CN113157466A (zh) 一种消息推送方法、装置、系统、电子设备和存储介质
US20170164016A1 (en) Data transfer method and device
US8892149B2 (en) Interoperability and communications system dynamic media proxy based on capability negotiation
JP7465370B2 (ja) 情報共有方法、装置、電子機器及び記憶媒体
CN113741762A (zh) 一种多媒体播放方法、装置、电子设备和存储介质
CN108965359B (zh) 通信方法、通信装置、可读介质和电子设备
CN112346751A (zh) 应用程序的安装方法、装置、电子设备和存储介质
WO2014015795A1 (zh) 在移动设备中为多个候选应用提供通信连接的方法与设备
CN106411713B (zh) 一种状态通知方法及服务器
CN113038192B (zh) 视频处理方法、装置、电子设备和存储介质
WO2016110258A1 (zh) 用户数据存储方法和装置
CN110474891B (zh) 基于多系统智能设备的业务访问控制方法及装置
CN109100944B (zh) 一种基于ims的数据采集与处理系统
CN111866544A (zh) 数据处理方法、装置、设备及计算机可读存储介质
CN110572350B (zh) 一种进行ims业务注册的方法和设备
CN114745564B (zh) 服务调度方法及装置
JP2015528260A5 (zh)
CN112511884B (zh) 一种音视频流的混流控制方法、系统和存储介质
WO2012103670A1 (zh) 一种基于云服务提供和处理多媒体数据的方法、装置及系统
CN113014961A (zh) 视频推送及传输方法、视角同步方法及装置、存储介质

Legal Events

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

Ref document number: 13823608

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2015523399

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 14412295

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13823608

Country of ref document: EP

Kind code of ref document: A1