CN109194639A - Message sink processing method, device, terminal and readable storage medium storing program for executing - Google Patents

Message sink processing method, device, terminal and readable storage medium storing program for executing Download PDF

Info

Publication number
CN109194639A
CN109194639A CN201810974235.9A CN201810974235A CN109194639A CN 109194639 A CN109194639 A CN 109194639A CN 201810974235 A CN201810974235 A CN 201810974235A CN 109194639 A CN109194639 A CN 109194639A
Authority
CN
China
Prior art keywords
application
space
terminal
message
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810974235.9A
Other languages
Chinese (zh)
Other versions
CN109194639B (en
Inventor
秦碧
李丙立
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201810974235.9A priority Critical patent/CN109194639B/en
Publication of CN109194639A publication Critical patent/CN109194639A/en
Application granted granted Critical
Publication of CN109194639B publication Critical patent/CN109194639B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • 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/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure is directed to a kind of message sink processing method, device, terminal and readable storage medium storing program for executing, the described method includes: receiving the first message for being sent to target application, the target application is the first application or the second application, it include the mark of the target application in the first message, the mark of the target application includes: the login account number of the corresponding space identification of the target application or the target application;According to the mark of the target application, the first message is distributed to the target application.This method can enable the terminal to the application for determining to receive message by carrying the space identification of application or the login account number of application in the message of transmission so that attend to anything else in system or using the scene more opened under message be able to carry out correct distribution.

Description

Message sink processing method, device, terminal and readable storage medium storing program for executing
Technical field
This disclosure relates to computer field, in particular to a kind of message sink processing method, device, terminal and readable storage Medium.
Background technique
Traditional terminal generally uses the functional mode of " one-to-one ", that is, is directed to a kind of application, in a terminal while only An account number can be used to log in the application.For some users, it may be desirable to one can be used in a terminal simultaneously Multiple account numbers of application.System attends to anything else and is the two ways that can satisfy the above-mentioned requirements of user more using opening.In system point Body or application are opened in technology more, multiple spaces are divided into a terminal, multiple account numbers of same application can be respectively not Same space is managed maintenance.When being attended to anything else based on system or used an application using technology is opened in a terminal more When multiple account numbers, how it will be sent to correct account number from the received information of external network, and be problem to be solved.
Summary of the invention
The embodiment of the present disclosure provides a kind of message sink processing method, device, terminal and readable storage medium storing program for executing, the skill Art scheme is as follows.
According to the first aspect of the embodiments of the present disclosure, a kind of message sink processing method is provided, terminal, the end are applied to The first application of installation and the second application in end, first application and the second application are identical application, first application It is different with the login account number of second application to log in account number, which comprises
It receiving and is sent to the first message of target application, the target application is the first application or the second application, described the It include the mark of the target application in one message, the mark of the target application includes: the corresponding space of the target application The login account number of mark or the target application;
According to the mark of the target application, the first message is distributed to the target application.
The technical solution that the embodiment of the present disclosure provides can include the following benefits:
By carrying the space identification of application or the login account number of application in the message of transmission, terminal can be enabled Enough determine receive message application so that attend to anything else in system or using the scene more opened under message be able to carry out correctly Distribution.
Further, the first message is distributed to the target application by the mark according to the target application, Include:
If including the corresponding space identification of the target application in the first message, the first message is distributed to It is mounted on the space identification and corresponds to the target application in space.
The technical solution that the embodiment of the present disclosure provides can include the following benefits:
When allow to install in a space of terminal one of same application in application, terminal in judging first message After the corresponding space identification of target application, directly first message can be distributed to and be mounted on the space identification and correspond to space Interior target application so that message can correctly distribute, while being distributed high-efficient.
Further, the first message is distributed to the target application by the mark according to the target application, Include:
If in the first message including the login account number of the target application, according to login account number determination The installation space of target application, and the first message is distributed to the target application in the installation space.
The technical solution that the embodiment of the present disclosure provides can include the following benefits:
When allow in a space of terminal install same application it is multiple in application, terminal is in judging first message After the corresponding login account number of target application, the installation space of target application can be determined according to account number is logged in, and by message The target application being distributed in installation space, so that message can correctly distribute.
Further, the reception is sent to before the first message of target application, further includes:
After the installation file for receiving first application, installation space is distributed for first application, and will be described First application is mounted in distributed installation space;
According to the registration information that user inputs, the first application described in the application server registers to first application is stepped on Record account number;
To it is described first application application server send it is described first application logins account number and it is described first apply The corresponding relationship of the mark of installation space.
The technical solution that the embodiment of the present disclosure provides can include the following benefits:
By the way that the corresponding relationship of the login account number of registration and application installation space is sent to server in application registration, Server can be allowed to carry correct space identification when sending message, so that terminal can be according to space identification Carry out correct message distribution.
It is further, described for the first application distribution installation space, comprising:
According to the priority sequence from high to low in space in the terminal, for the first application distribution installation space.
Further, the sequence of the priority according to space in the terminal from high to low, for first application Distribute installation space, comprising:
According to the application identities of first application, determine whether the first space of the terminal can install described first Using if it is not, it is described then to determine whether the second space of the terminal can be installed according to the application identities of first application First application, if so, using the second space as the installation space of first application;
Wherein, the priority in first space is higher than the priority of the second space.
Further, the application identities according to first application, determine that the first space of the terminal whether may be used To install first application, comprising:
According to the application identities of first application, judge whether be mounted in first space and first application Identical application, if not, it is determined that the first space of the terminal can install first application.
Further, the application identities according to first application, determine that the first space of the terminal whether may be used To install first application, comprising:
According to the application identities of first application, judge to install in first space identical as first application The quantity of application whether be less than preset threshold, if so, determining that the first space of the terminal can install described first and answer With.
According to the second aspect of an embodiment of the present disclosure, a kind of message sink processing unit is provided, terminal, the end are applied to The first application of installation and the second application in end, first application and the second application are identical application, first application It is different with the login account number of second application to log in account number, comprising:
Receiving module is configured as receiving the first message for being sent to target application, and the target application is the first application Or second application, it include the mark of the target application in the first message, the mark of the target application includes: the mesh The login account number of the mark corresponding space identification of application or the target application;
Processing module is configured as the mark according to the target application, and the first message is distributed to the target Using.
Further, the processing module, comprising:
First processing submodule, is configured as including the corresponding space identification of the target application in the first message When, the first message is distributed to and is mounted on the space identification and corresponds to the target application in space.
Further, the processing module, comprising:
Second processing submodule, be configured as in the first message include the target application login account number when, The installation space of the target application is determined according to the login account number, and the first message is distributed to the installation space The interior target application.
Further, further includes:
Distribution module is configured as after the installation file for receiving first application, for the first application distribution Installation space, and first application is mounted in distributed installation space;
Registration module is configured as the registration information inputted according to user, to the application server note of first application The login account number of volume first application;
Sending module is configured as sending the login account number of first application to the application server of first application With the corresponding relationship of the mark of the installation space of first application.
Further, the distribution module is configured as:
According to the priority sequence from high to low in space in the terminal, for the first application distribution installation space.
Further, the distribution module is configured as:
According to the application identities of first application, determine whether the first space of the terminal can install described first Using if it is not, it is described then to determine whether the second space of the terminal can be installed according to the application identities of first application First application, if so, using the second space as the installation space of first application;
Wherein, the priority in first space is higher than the priority of the second space.
Further, the distribution module is configured as:
According to the application identities of first application, judge whether be mounted in first space and first application Identical application, if not, it is determined that the first space of the terminal can install first application.
Further, the distribution module is configured as:
According to the application identities of first application, judge to install in first space identical as first application The quantity of application whether be less than preset threshold, if so, determining that the first space of the terminal can install described first and answer With.
According to the third aspect of an embodiment of the present disclosure, a kind of terminal is provided, the terminal includes:
Processor;
For storing the memory of the executable instruction of the processor;
Wherein, the processor is configured to executing method described in above-mentioned first aspect.
According to a fourth aspect of embodiments of the present disclosure, a kind of terminal is provided, the terminal includes:
Memory, processor and computer program, the processor run the computer program and execute above-mentioned first Method described in aspect.
According to a fifth aspect of the embodiments of the present disclosure, a kind of computer readable storage medium is provided, is stored on the medium There is computer program, method described in above-mentioned first aspect is realized when described program is executed by processor.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is the system architecture diagram for the message sink processing method that the disclosure provides;
Fig. 2 is a kind of schematic diagram of message sink processing method shown according to an exemplary embodiment;
Fig. 3 is a kind of schematic diagram of message sink processing method shown according to an exemplary embodiment;
Fig. 4 is a kind of schematic diagram of message sink processing method shown according to an exemplary embodiment;
Fig. 5 is a kind of schematic diagram of message sink processing method shown according to an exemplary embodiment;
Fig. 6 is a kind of schematic diagram of message sink processing method shown according to an exemplary embodiment;
Fig. 7 is a kind of function structure chart of message sink processing unit shown according to an exemplary embodiment;
Fig. 8 is a kind of function structure chart of message sink processing unit shown according to an exemplary embodiment;
Fig. 9 is a kind of function structure chart of message sink processing unit shown according to an exemplary embodiment;
Figure 10 is a kind of function structure chart of message sink processing unit shown according to an exemplary embodiment;
Figure 11 is a kind of block diagram of the entity of terminal shown according to an exemplary embodiment;
Figure 12 is a kind of block diagram of terminal 1200 shown according to an exemplary embodiment.
Through the above attached drawings, it has been shown that the specific embodiment of the disclosure will be hereinafter described in more detail.These attached drawings It is not intended to limit the scope of this disclosure concept by any means with verbal description, but is by referring to specific embodiments Those skilled in the art illustrate the concept of the disclosure.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
For the terminal of traditional use " one-to-one " functional mode, application server is to installation answering on the terminal When with sending message, it is only necessary to specify the hardware identifier of the terminal, such as international mobile equipment identification number (International Mobile Equipment Identity, abbreviation IMEI).Due to being directed to a kind of application, in a terminal while being only capable of making The application is logged in an account number, i.e., one application of installation is only capable of in terminal, therefore, when message is sent to terminal according to IMEI Afterwards, message can be correctly distributed to the application by terminal.And attend to anything else in system or using under more prologue scapes, it can be in a terminal Using multiple account numbers of an application, i.e. multiple applications can be installed in a terminal, when message is sent to end according to IMEI Behind end, terminal can not determine which application is the message need to be distributed to, it is thus possible to message distribution be caused mistake occur.
The disclosure based on the above issues, proposes a kind of message sink processing method, is answered by carrying in the message of transmission Space identification or the login account number of application can enable the terminal to the application for determining to receive message, so that Attend to anything else in system or using the scene more opened under message be able to carry out correct distribution.
Fig. 1 is the system architecture diagram for the message sink processing method that the disclosure provides, as shown in Figure 1, this method is related to end End and server.Wherein, which can be mounted in the application server of the application in terminal.Involved in the disclosure System attends to anything else or using under more prologue scapes, multiple spaces is divided into terminal.For each space, if installed in the space The application of the application server then needs to establish long connection for the space and application server.That is terminal needs to be different Safeguard different long connections in space.
Fig. 2 is a kind of schematic diagram of message sink processing method shown according to an exemplary embodiment, and this method is held Row main body is above-mentioned terminal, i.e., this method is applied to above-mentioned terminal, the first application of installation and the second application in the terminal, should First application and the second application are identical application, and the login account number of the login account number of first application and second application is not Together.As shown in Fig. 2, this method comprises:
In step s 201, the first message for being sent to target application is received, which is the first application or second Using including the mark of above-mentioned target application in above-mentioned first message, the mark of above-mentioned target application includes: above-mentioned target application The login account number of corresponding space identification or above-mentioned target application.
It should be noted that two spaces may be divided into mobile terminal in specific implementation process, alternatively, may also It is divided into more than two spaces.An application of same application may be allowed to install in each space, it is also possible to allow to install Two or more applications of same application.Therefore, the application number for belonging to same application for allowing to install in terminal may be two It is a, it is also possible to be multiple.When the application number for belonging to same application for allowing to install in terminal is two, above-mentioned first application An application in this two applications can be respectively referred to the second application.When the application for belonging to same application for allowing to install in terminal When number is multiple, above-mentioned first application and the second application can respectively refer to any two application in multiple application.
Optionally, terminal includes the mark of target application from the first message that server receives, the target application Mark may include the corresponding space identification of target application, also may include the login account number of target application.
In step S202, according to the mark of above-mentioned target application, above-mentioned first message is distributed to above-mentioned target application.
If some space only allows to install an application of same application, the mark of target application may include target Using corresponding space identification, correspondingly, can be with the hardware identifier and space identification of carried terminal in above-mentioned first message.Into And by the hardware identifier of terminal, first message can be sent to the terminal first, in turn, terminal passes through space identification again First message is distributed to correct application.
Illustratively, it is assumed that the application that server will send message is mounted in the space 1 of terminal, and the hardware of terminal 123 are identified as, then can be carried in above-mentioned first message (123, space 1), by the two information, terminal can be determined One message distribution to which apply.
If some space only allows to install two or more applications of same application, the mark of target application be can wrap The login account number of target application is included, correspondingly, can be with the hardware identifier and target application of carried terminal in above-mentioned first message Login account number.In turn, by the hardware identifier of terminal, first message can be sent to the terminal first, in turn, terminal is again First message is distributed to correct application by logging in account number.
Illustratively, it is assumed that the account number that server will send message is abc, and the hardware identifier of application terminal is 123, then on (123, abc) can be carried by stating in first message, by the two information, terminal can be determined which first message is distributed to Using.
It, can by carrying the space identification of application or the login account number of application in the message of transmission in the present embodiment So that terminal be capable of determining that receive message application so that attend to anything else in system or using the scene more opened under message energy Enough correctly distributed.
On the basis of the above embodiments, be related to can by one kind that above-mentioned first message is distributed to target application for the present embodiment Select process.
Fig. 3 is a kind of schematic diagram of message sink processing method shown according to an exemplary embodiment, as shown in figure 3, Above-mentioned steps S202 includes:
In step S301, judge in above-mentioned first message whether to include the corresponding space identification of above-mentioned target application, if It is to then follow the steps S302.
Optionally, can be to install the corresponding relationship applied in shelf space and space in terminal, which is one One corresponding relationship can install an application of same application in an i.e. space.Then after receiving above-mentioned first message, eventually End can judge the space carried in first message according to space identification entrained in the corresponding relationship and first message Which is identified as using corresponding space identification, which is target application.
In step s 302, above-mentioned first message is distributed to and is mounted on above-mentioned space identification and corresponds to above-mentioned mesh in space Mark application.
After the space identification for judging to carry in first message space identification corresponding for some concrete application, i.e., this is answered With for target application, then first message is directly distributed to the space identification and corresponds to the application in space by terminal.
In the present embodiment, when allowing to install one of same application in a space of terminal in application, terminal is judging It out include that directly first message can be distributed to and be mounted on the space after the corresponding space identification of target application in first message The target application in corresponding space is identified, so that message can correctly distribute, while being distributed high-efficient.
On the basis of the above embodiments, the present embodiment be related to above-mentioned first message be distributed to the another kind of target application can Select process.
Fig. 4 is a kind of schematic diagram of message sink processing method shown according to an exemplary embodiment, as shown in figure 4, Above-mentioned steps S202 includes:
In step S401, judge in above-mentioned first message whether include above-mentioned target application login account number, if so, Execute step S402.
When allowing to install same application multiple in the space of terminal in application, the corresponding relationship of space and application is a pair More relationships.Therefore, first message can be distributed to by target application by the login account number of target application.
In step S402, the installation space of above-mentioned target application is determined according to above-mentioned login account number, and by above-mentioned first Message distribution is to the above-mentioned target application in above-mentioned installation space.
Optionally, if what is carried in first message is the login account number of target application, terminal can be first according to sky Between relationship with application, determine which space is target application be mounted under, in turn, then first message be distributed under corresponding space Log in the target application that account number is the account number in first message.
In the present embodiment, when allow in a space of terminal install same application it is multiple in application, terminal is judging It out include that can determine that the installation of target application is empty according to account number is logged in after the corresponding login account number of target application in first message Between, and by message distribution to the target application in installation space, so that message can correctly distribute.
On the basis of the above embodiments, the present embodiment is related to the process of same application registration.
Fig. 5 is a kind of schematic diagram of message sink processing method shown according to an exemplary embodiment, as shown in figure 5, Before above-mentioned steps S201, further includes:
In step S501, after the installation file for receiving above-mentioned first application, for above-mentioned first application distribution installation Space, and above-mentioned first application is mounted in distributed installation space.
It should be noted that above-mentioned first application is applied for the first of previous embodiment, in as above-mentioned same application Any application.
Optionally, terminal can be that the first application distributes installation space according to the remaining amount of storage size in space.Alternatively, It can be that the first application distributes installation space according to the priority in space.
After user selects the installation file of the first application of downloading, terminal can receive the peace of the first application from corresponding server File is filled, and then selects the installation space of the first application by this step, and completes to apply the installation in the installation space.
In step S502, according to the registration information that user inputs, in the application server registers of above-mentioned first application State the login account number of the first application.
After being installed, after starting for the first time, application can prompt one login account number of user's registration.User presses After inputting registration information according to prompt information, terminal sends the registration information of user, application server pair to the server of application Registration information is confirmed, to complete to log in account registration.
In step S503, the login account number and upper of above-mentioned first application is sent to the application server of above-mentioned first application State the corresponding relationship of the mark of the installation space of the first application.
After completing to log in account registration, terminal can save pair of the login account number and above-mentioned first application installation space It should be related to, and the corresponding relationship is sent to server, server saves the corresponding relationship.When the subsequent needs of server When sending message to the login account number, the corresponding space identification of login account number can be carried, so that terminal can be according to this Space identification applies message distribution to correct.
In addition, the hardware identifier of terminal can also be sent to clothes when sending above-mentioned corresponding relationship to server by terminal Business device, server can save hardware identifier, space identification and the corresponding relationship for logging in account number.When server is subsequent need to When the login account number sends message, correct terminal can be sent a message to according to hardware identifier first, terminal is further according to sky Between mark by message distribution to correctly apply.
In the present embodiment, by the way that the corresponding relationship of the login account number of registration and application installation space is sent out when application is registered Server is given, server can be allowed to carry correct space identification when sending message, so that terminal can be with Correct message distribution is carried out according to space identification.
On the basis of the above embodiments, the present embodiment is related to one kind that terminal is above-mentioned first application distribution installation space Optional process.
Optionally, terminal can be according to the priority sequence from high to low in space in terminal, for above-mentioned first application point With installation space.
Detailed process is as follows.
Fig. 6 is a kind of schematic diagram of message sink processing method shown according to an exemplary embodiment, as shown in fig. 6, Terminal according to space in terminal priority sequence from high to low, for the process of above-mentioned first application distribution installation space are as follows:
In step s 601, according to the application identities of above-mentioned first application, determine that the first space of above-mentioned terminal whether may be used To install above-mentioned first application, if so, the first application is mounted in the first space, if it is not, thening follow the steps S602.
In step S602, according to the application identities of above-mentioned first application, determine that the second space of above-mentioned terminal whether may be used To install above-mentioned first application, if so, S603 is thened follow the steps, if it is not, then prompting user that can not install the first application again.
In step S603, using above-mentioned second space as the installation space of above-mentioned first application.
Wherein, the priority in above-mentioned first space is higher than the priority of above-mentioned second space.
It optionally, include above-mentioned first space and above-mentioned second space in terminal, the priority in above-mentioned first space is higher than The priority of second space, therefore, the first space are properly termed as the principal space.When terminal receives the installation file of the first application Afterwards, the application identities of the first application are obtained first, this there should be mark for example can be with Apply Names.The Apply Names of same application are equal It is identical.Terminal can judge whether the first application can be installed in the first space, if it is then directly according to the application identities Installation is connect, if it is not possible, then continuing to judge whether the first application can be installed in second space.If second space can pacify Filling the first application, then the second application of installation directly in second space, otherwise, the first application can not be installed again by prompting the user with, Prompt information can be for example " installation number of the application has reached the upper limit, and can not install again " etc..
In another embodiment, the difference of the quantity of the same application of installation is allowed for a space, terminal determines empty Between whether can install the first application method it is also different.
In a kind of optional way, terminal can judge above-mentioned first sky first according to the application identities of above-mentioned first application It is interior whether to be mounted with to apply identical application with above-mentioned first, if not, it is determined that the first space of above-mentioned terminal can install Above-mentioned first application.
In which, only allow to install an application of same application in the first space, therefore, terminal can be according to first The application identities of application judge identical application whether has been mounted in the first space, if do not installed, terminal can be true Fixed first space can install above-mentioned first application.
In another optional way, terminal can judge above-mentioned first first according to the application identities of above-mentioned first application It is being installed in space whether to be less than preset threshold with the identical application of above-mentioned first application quantity, if so, determining above-mentioned end First space at end can install above-mentioned first application.
In which, allow to install multiple applications of same application in the first space, such as at most can permit installation two A application, then above-mentioned preset threshold can be 2.Illustratively, after terminal gets the application identities S of the first application, judgement In the application installed in above-mentioned first space, whether application identities are the application number of S less than 2, if it is less, illustrating the That is installed in one space is also not up to the upper limit with the first identical number of applications of application, then terminal can install the first application In the first space, otherwise, illustrate to allow to install in the first space is had reached with first using identical number of applications Limit, then need to continue to judge next space.
It should be noted that above-described embodiment is only illustrated by taking the first space as an example, the processing mode of second space Processing mode also can choose any one of the above mode and be handled, and specifically repeat no more.
Following is embodiment of the present disclosure, can be used for executing embodiments of the present disclosure.It is real for disclosure device Undisclosed details in example is applied, embodiments of the present disclosure is please referred to.
Fig. 7 is a kind of function structure chart of message sink processing unit shown according to an exemplary embodiment, the device Applied to terminal, the first application of installation and the second application in the terminal, first application and the second application are identical answer With the login account number of first application is different with the login account number of second application, as shown in fig. 7, the device includes:
Receiving module 701 is configured as receiving the first message for being sent to target application, and the target application is answered for first With or the second application, include the mark of the target application in the first message, the mark of the target application includes: described The login account number of the corresponding space identification of target application or the target application.
Processing module 702 is configured as the mark according to the target application, and the first message is distributed to the mesh Mark application.
Fig. 8 is a kind of function structure chart of message sink processing unit shown according to an exemplary embodiment, such as Fig. 8 institute Show, processing module 702 includes:
First processing submodule 7021, is configured as including the corresponding space of the target application in the first message When mark, the first message is distributed to and is mounted on the space identification and corresponds to the target application in space.
Fig. 9 is a kind of function structure chart of message sink processing unit shown according to an exemplary embodiment, such as Fig. 9 institute Show, processing module 702 includes:
Second processing submodule 7022 is configured as the login account number in the first message including the target application When, the installation space of the target application is determined according to the login account number, and the first message is distributed to the installation The target application in space.
Figure 10 is a kind of function structure chart of message sink processing unit shown according to an exemplary embodiment, such as Figure 10 It is shown, further includes:
Distribution module 703 is configured as after the installation file for receiving first application, for first application point It is mounted in distributed installation space with installation space, and by first application.
Registration module 704 is configured as the registration information inputted according to user, to the application server of first application Register the login account number of first application.
Sending module 705 is configured as sending the login of first application to the application server of first application The corresponding relationship of account number and the mark of the installation space of first application.
In another embodiment, distribution module 703 is configured as:
According to the priority sequence from high to low in space in the terminal, for the first application distribution installation space.
In another embodiment, distribution module 703 is configured as:
According to the application identities of first application, determine whether the first space of the terminal can install described first Using if it is not, it is described then to determine whether the second space of the terminal can be installed according to the application identities of first application First application, if so, using the second space as the installation space of first application.
Wherein, the priority in first space is higher than the priority of the second space.
In another embodiment, distribution module 703 is configured as:
According to the application identities of first application, judge whether be mounted in first space and first application Identical application, if not, it is determined that the first space of the terminal can install first application.
In another embodiment, distribution module 703 is configured as:
According to the application identities of first application, judge to install in first space identical as first application The quantity of application whether be less than preset threshold, if so, determining that the first space of the terminal can install described first and answer With.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
Figure 11 is a kind of block diagram of the entity of terminal shown according to an exemplary embodiment, as shown in figure 11, the terminal Include:
Memory 1101 and processor 1102.
Memory 1101 is used for the executable instruction of storage processor 1102.
Processor 1102 is configured as executing the method in above method embodiment.
In the embodiment of above-mentioned terminal, it should be appreciated that processor 92 can be central processing submodule (English: Central Processing Unit, referred to as: CPU), it can also be other general processors, digital signal processor (English: Digital Signal Processor, referred to as: DSP), specific integrated circuit (English: Application Specific Integrated Circuit, referred to as: ASIC) etc..General processor can be microprocessor or the processor is also possible to any conventional place Device etc. is managed, and memory above-mentioned can be read-only memory (English: read-only memory, abbreviation: ROM), deposit at random Access to memory (English: random access memory, abbreviation: RAM), flash memory, hard disk or solid state hard disk.SIM Card is also referred to as subscriber identification card, smart card, and digital mobile telephone must load onto this card and can use.I.e. in computer chip On store the information of digital mobile phone client, the contents such as telephone directory of the key of encryption and user.In conjunction with disclosure reality The step of applying method disclosed in example can be embodied directly in hardware processor and execute completion, or in processor hardware and Software module combination executes completion.
Figure 12 is a kind of block diagram of terminal 1200 shown according to an exemplary embodiment.Wherein, terminal 1200 can be Mobile phone, computer, tablet device, personal digital assistant etc..
Referring to Fig.1 2, terminal 1200 may include following one or more components: processing component 1202, memory 1204, Power supply module 1206, multimedia component 1208, audio component 1210, the interface 1212 of input/output (I/O), sensor module 1214 and communication component 1216.
The integrated operation of the usual controlling terminal 1200 of processing component 1202, such as with display, telephone call, data communication, Camera operation and record operate associated operation.Processing component 1202 may include one or more processors 1220 to execute Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1202 may include one or more moulds Block, convenient for the interaction between processing component 1202 and other assemblies.For example, processing component 1202 may include multi-media module, To facilitate the interaction between multimedia component 1208 and processing component 1202.
Memory 1204 is configured as storing various types of data to support the operation in terminal 1200.These data Example includes the instruction of any application or method for operating in terminal 1200, contact data, telephone book data, Message, picture, video etc..Memory 1204 can by any kind of volatibility or non-volatile memory device or they Combination is realized, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory Reservoir, disk or CD.
Power supply module 1206 provides electric power for the various assemblies of terminal 1200.Power supply module 1206 may include power management System, one or more power supplys and other with for terminal 1200 generate, manage, and distribute the associated component of electric power.
Multimedia component 1208 includes that the touch-control of one output interface of offer between the terminal 1200 and user is aobvious Display screen.In some embodiments, touching display screen may include liquid crystal display (LCD) and touch panel (TP).Touch panel Including one or more touch sensors to sense the gesture on touch, slide, and touch panel.The touch sensor can be with The boundary of a touch or slide action is not only sensed, but also detects duration associated with the touch or slide operation and pressure Power.In some embodiments, multimedia component 1208 includes a front camera and/or rear camera.When terminal 1300 In operation mode, such as in a shooting mode or a video mode, front camera and/or rear camera can receive the more of outside Media data.Each front camera and rear camera can be a fixed optical lens system or have focal length and light Learn zoom capabilities.
Audio component 1210 is configured as output and/or input audio signal.For example, audio component 1210 includes a wheat Gram wind (MIC), when terminal 1200 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone quilt It is configured to receive external audio signal.The received audio signal can be further stored in memory 1204 or via communication Component 1216 is sent.In some embodiments, audio component 1210 further includes a loudspeaker, is used for output audio signal.
I/O interface 1212 provides interface, above-mentioned peripheral interface module between processing component 1202 and peripheral interface module It can be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and Locking press button.
Sensor module 1214 includes one or more sensors, and the state for providing various aspects for terminal 1200 is commented Estimate.For example, sensor module 1214 can detecte the state that opens/closes of terminal 1200, the relative positioning of component, such as institute The display and keypad that component is terminal 1200 are stated, sensor module 1214 can also detect terminal 1200 or terminal 1,200 1 The position change of a component, the existence or non-existence that user contacts with terminal 1200,1200 orientation of terminal or acceleration/deceleration and end The temperature change at end 1200.Sensor module 1214 may include proximity sensor, be configured in not any physics It is detected the presence of nearby objects when contact.Sensor module 1214 can also include optical sensor, as CMOS or ccd image are sensed Device, for being used in imaging applications.In some embodiments, which can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1216 is configured to facilitate the communication of wired or wireless way between terminal 1200 and other equipment.Eventually End 1200 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.It is exemplary at one In embodiment, communication component 1216 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, the communication component 1216 further includes near-field communication (NFC) module, to promote short distance Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, terminal 1200 can be by one or more application specific integrated circuit (ASIC), number Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, above-mentioned based on binocular in terminal for executing The distance measuring method of camera.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 1204 of instruction, above-metioned instruction can be executed by the processor 1220 of terminal 1200 to complete the above method.Example Such as, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of terminal 1200 When device executes, so that terminal 1200 is able to carry out above-mentioned message sink processing method
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claims are pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by appended claims System.

Claims (19)

1. a kind of message sink processing method is applied to terminal, which is characterized in that the first application of installation and second in the terminal Using first application and the second application are identical application, the login account number of first application and second application Login account number it is different, comprising:
The first message for being sent to target application is received, the target application is the first application or the second application, and described first disappears It include the mark of the target application in breath, the mark of the target application includes: the corresponding space identification of the target application Or the login account number of the target application;
According to the mark of the target application, the first message is distributed to the target application.
2. the method according to claim 1, wherein the mark according to the target application, by described One message distribution gives the target application, comprising:
If including the corresponding space identification of the target application in the first message, the first message is distributed to installation The target application in space is corresponded in the space identification.
3. the method according to claim 1, wherein the mark according to the target application, by described One message distribution gives the target application, comprising:
If including the login account number of the target application in the first message, the target is determined according to the login account number The installation space of application, and the first message is distributed to the target application in the installation space.
4. method according to claim 1-3, which is characterized in that the reception is sent to the first of target application Before message, further includes:
After the installation file for receiving first application, for the first application distribution installation space, and by described first Using being mounted in distributed installation space;
According to the registration information that user inputs, the login account of the first application described in the application server registers to first application Number;
The login account number of first application and the installation of first application are sent to the application server of first application The corresponding relationship of the mark in space.
5. according to the method described in claim 4, it is characterized in that, described for the first application distribution installation space, comprising:
According to the priority sequence from high to low in space in the terminal, for the first application distribution installation space.
6. according to the method described in claim 5, it is characterized in that, the priority according to space in the terminal by height to Low sequence, for the first application distribution installation space, comprising:
According to the application identities of first application, determine whether the first space of the terminal can install described first and answer With if it is not, then determining whether the second space of the terminal can install described the according to the application identities of first application One application, if so, using the second space as the installation space of first application;
Wherein, the priority in first space is higher than the priority of the second space.
7. according to the method described in claim 6, it is characterized in that, the application identities according to first application, determine Whether the first space of the terminal can install first application, comprising:
According to the application identities of first application, judge whether to be mounted in first space identical as first application Application, if not, it is determined that the first space of the terminal can install it is described first application.
8. according to the method described in claim 6, it is characterized in that, the application identities according to first application, determine Whether the first space of the terminal can install first application, comprising:
According to the application identities of first application, judge to install in first space is answered with described first using identical Whether quantity is less than preset threshold, if so, determining that the first space of the terminal can install first application.
9. a kind of message sink processing unit is applied to terminal, which is characterized in that the first application of installation and second in the terminal Using first application and the second application are identical application, the login account number of first application and second application Login account number it is different, comprising:
Receiving module, is configured as receiving and is sent to the first message of target application, and the target application is the first application or the Two apply, and include the mark of the target application in the first message, the mark of the target application includes: that the target is answered With corresponding space identification or the login account number of the target application;
Processing module is configured as the mark according to the target application, and the first message is distributed to the target application.
10. device according to claim 9, which is characterized in that the processing module, comprising:
First processing submodule, when being configured as in the first message space identification corresponding including the target application, The first message is distributed to and is mounted on the space identification and corresponds to the target application in space.
11. device according to claim 9, which is characterized in that the processing module, comprising:
Second processing submodule, be configured as in the first message include the target application login account number when, according to The login account number determines the installation space of the target application, and the first message is distributed in the installation space The target application.
12. according to the described in any item devices of claim 9-11, which is characterized in that further include:
Distribution module is configured as after the installation file for receiving first application, for the first application distribution installation Space, and first application is mounted in distributed installation space;
Registration module is configured as the registration information inputted according to user, to the application server registers institute of first application State the login account number of the first application;
Sending module is configured as sending login account number and the institute of first application to the application server of first application State the corresponding relationship of the mark of the installation space of the first application.
13. device according to claim 12, which is characterized in that the distribution module is configured as:
According to the priority sequence from high to low in space in the terminal, for the first application distribution installation space.
14. device according to claim 13, which is characterized in that the distribution module is configured as:
According to the application identities of first application, determine whether the first space of the terminal can install described first and answer With if it is not, then determining whether the second space of the terminal can install described the according to the application identities of first application One application, if so, using the second space as the installation space of first application;
Wherein, the priority in first space is higher than the priority of the second space.
15. device according to claim 14, which is characterized in that the distribution module is configured as:
According to the application identities of first application, judge whether to be mounted in first space identical as first application Application, if not, it is determined that the first space of the terminal can install it is described first application.
16. device according to claim 14, which is characterized in that the distribution module is configured as:
According to the application identities of first application, judge to install in first space is answered with described first using identical Whether quantity is less than preset threshold, if so, determining that the first space of the terminal can install first application.
17. a kind of terminal, which is characterized in that the terminal includes:
Processor;
For storing the memory of the executable instruction of the processor;
Wherein, the processor is configured to perform claim requires the described in any item methods of 1-8.
18. a kind of terminal, which is characterized in that the terminal includes:
Memory, processor and computer program, the processor run the computer program perform claim and 1-8 are required to appoint Method described in one.
19. a kind of computer readable storage medium, computer program is stored on the medium, which is characterized in that described program Claim 1-8 described in any item methods are realized when being executed by processor.
CN201810974235.9A 2018-08-24 2018-08-24 Message receiving and processing method, device, terminal and readable storage medium Active CN109194639B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810974235.9A CN109194639B (en) 2018-08-24 2018-08-24 Message receiving and processing method, device, terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810974235.9A CN109194639B (en) 2018-08-24 2018-08-24 Message receiving and processing method, device, terminal and readable storage medium

Publications (2)

Publication Number Publication Date
CN109194639A true CN109194639A (en) 2019-01-11
CN109194639B CN109194639B (en) 2021-10-08

Family

ID=64919797

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810974235.9A Active CN109194639B (en) 2018-08-24 2018-08-24 Message receiving and processing method, device, terminal and readable storage medium

Country Status (1)

Country Link
CN (1) CN109194639B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115277829A (en) * 2021-04-29 2022-11-01 中国移动通信集团终端有限公司 Message pushing method, device, system, storage medium and electronic equipment

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009043029A2 (en) * 2007-09-28 2009-04-02 Xcerion Aktiebolag Network operating system
CN104866342A (en) * 2015-05-07 2015-08-26 北京数字天域科技有限责任公司 Method and device for simultaneously starting multiple same applications on intelligent terminal
US20150288775A1 (en) * 2014-04-08 2015-10-08 Dropbox, Inc. Browser Display Of Native Application Presence And Interaction Data
CN105138564A (en) * 2015-07-23 2015-12-09 小米科技有限责任公司 Data file reading method and apparatus
CN105653317A (en) * 2015-12-24 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Application downloading and installing method and terminal device
CN106095603A (en) * 2016-06-23 2016-11-09 厦门芯鸽信息科技有限公司 The application program that a kind of android system is identical can open multiple methods simultaneously
CN106201620A (en) * 2016-07-15 2016-12-07 宇龙计算机通信科技(深圳)有限公司 A kind of application is opened more and is realized device, terminal and apply and open implementation method more
CN106383672A (en) * 2016-10-10 2017-02-08 广东欧珀移动通信有限公司 Multi-open application data deletion method and apparatus, and mobile terminal
CN106445647A (en) * 2016-10-10 2017-02-22 广东欧珀移动通信有限公司 Data operation method, device and mobile terminal for multiple open applications
CN106445706A (en) * 2016-10-10 2017-02-22 广东欧珀移动通信有限公司 Data transmission method and device of multiple opened applications and mobile terminal
CN106484479A (en) * 2016-10-10 2017-03-08 广东欧珀移动通信有限公司 A kind of management method, device and intelligent terminal for opening application more
CN106502732A (en) * 2016-10-10 2017-03-15 广东欧珀移动通信有限公司 A kind of method for closing of application program, device and intelligent terminal
CN106547451A (en) * 2016-10-27 2017-03-29 宇龙计算机通信科技(深圳)有限公司 Open application program method more, open application programmer and terminal more
CN106650402A (en) * 2016-10-10 2017-05-10 广东欧珀移动通信有限公司 Application program permission configuration method and device and mobile terminal
CN106980519A (en) * 2017-03-29 2017-07-25 联想(北京)有限公司 A kind of data processing method and electronic equipment

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009043029A2 (en) * 2007-09-28 2009-04-02 Xcerion Aktiebolag Network operating system
US20150288775A1 (en) * 2014-04-08 2015-10-08 Dropbox, Inc. Browser Display Of Native Application Presence And Interaction Data
CN104866342A (en) * 2015-05-07 2015-08-26 北京数字天域科技有限责任公司 Method and device for simultaneously starting multiple same applications on intelligent terminal
CN105138564A (en) * 2015-07-23 2015-12-09 小米科技有限责任公司 Data file reading method and apparatus
CN105653317A (en) * 2015-12-24 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Application downloading and installing method and terminal device
CN106095603A (en) * 2016-06-23 2016-11-09 厦门芯鸽信息科技有限公司 The application program that a kind of android system is identical can open multiple methods simultaneously
CN106201620A (en) * 2016-07-15 2016-12-07 宇龙计算机通信科技(深圳)有限公司 A kind of application is opened more and is realized device, terminal and apply and open implementation method more
CN106383672A (en) * 2016-10-10 2017-02-08 广东欧珀移动通信有限公司 Multi-open application data deletion method and apparatus, and mobile terminal
CN106445647A (en) * 2016-10-10 2017-02-22 广东欧珀移动通信有限公司 Data operation method, device and mobile terminal for multiple open applications
CN106445706A (en) * 2016-10-10 2017-02-22 广东欧珀移动通信有限公司 Data transmission method and device of multiple opened applications and mobile terminal
CN106484479A (en) * 2016-10-10 2017-03-08 广东欧珀移动通信有限公司 A kind of management method, device and intelligent terminal for opening application more
CN106502732A (en) * 2016-10-10 2017-03-15 广东欧珀移动通信有限公司 A kind of method for closing of application program, device and intelligent terminal
CN106650402A (en) * 2016-10-10 2017-05-10 广东欧珀移动通信有限公司 Application program permission configuration method and device and mobile terminal
CN106547451A (en) * 2016-10-27 2017-03-29 宇龙计算机通信科技(深圳)有限公司 Open application program method more, open application programmer and terminal more
CN106980519A (en) * 2017-03-29 2017-07-25 联想(北京)有限公司 A kind of data processing method and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115277829A (en) * 2021-04-29 2022-11-01 中国移动通信集团终端有限公司 Message pushing method, device, system, storage medium and electronic equipment
CN115277829B (en) * 2021-04-29 2024-05-24 中国移动通信集团终端有限公司 Message pushing method, device, system, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN109194639B (en) 2021-10-08

Similar Documents

Publication Publication Date Title
JP6214812B2 (en) Transfer processing method and apparatus
EP3110188A1 (en) Method and device for accessing operator network
WO2017113842A1 (en) Intelligent device control method and apparatus
US10608988B2 (en) Method and apparatus for bluetooth-based identity recognition
EP3200116B1 (en) Method and apparatus for acquiring information via a virtual identity module from lost or stolen terminal
CN105607926A (en) Application icon update method and apparatus, electronic device and server
EP3226432A1 (en) Method and device for sharing media data between terminals
CN105468767A (en) Method and device for acquiring calling card information
CN104735670A (en) Network access method and device
KR20170038178A (en) Method, apparatus, and mobile terminal for identificating fingerprint
CN105207994A (en) Account number binding method and device
CN105228141A (en) A kind of methods, devices and systems set up network and connect
CN105631254A (en) Unlocking method and unlocking device
CN106453846A (en) Display method and device for two-dimensional code business card
CN105282162A (en) Processing method and device for account management business
CN106358064A (en) Method and equipment for controlling television
CN105376318A (en) File transmission method, device and system
CN106302342A (en) The changing method of a kind of user account and device
CN104780256A (en) Address book management method and device and intelligent terminal
CN111541922A (en) Method, device and storage medium for displaying interface input information
CN109194639A (en) Message sink processing method, device, terminal and readable storage medium storing program for executing
CN105376399A (en) A method and a device for controlling a smart device
CN105530594A (en) Communication method and device based remote control
CN106375744B (en) Information projecting method and device
CN105956489B (en) Long-range control method and device

Legal Events

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