CN106576213A - Feature code processing method, device and system - Google Patents

Feature code processing method, device and system Download PDF

Info

Publication number
CN106576213A
CN106576213A CN201580042690.XA CN201580042690A CN106576213A CN 106576213 A CN106576213 A CN 106576213A CN 201580042690 A CN201580042690 A CN 201580042690A CN 106576213 A CN106576213 A CN 106576213A
Authority
CN
China
Prior art keywords
terminal
code
common features
feature code
broadcast
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201580042690.XA
Other languages
Chinese (zh)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN106576213A publication Critical patent/CN106576213A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Embodiments of the present invention provide a feature code processing method, device and system, relate to the technical field of communications, and the method includes: receiving a first discovery request transmitted by a terminal, wherein the first discovery request includes a terminal identifier of the terminal; according to the first discovery request, transmitting a discovery response to the terminal, wherein the discovery response includes a common identifier, and the common identifier is used for indicating that at least two applications of the terminal use a common feature code. In the present invention, by the common identifier, the terminal learns that the feature code allocated to the terminal by an adjacent service function entity is the same as the feature code allocated to other applications of the terminal by the adjacent service function entity, thus enabling the terminal to proceed to broadcast the common feature code while broadcasting the common feature code currently, and avoiding the problem in the prior art where an identical terminal broadcasts an identical feature code on different wireless resources at the same time, further avoiding the waste of the wireless resources.

Description

Condition code processing method, equipment and system Technical field
The present invention relates to communication technical field, more particularly to a kind of condition code processing method, equipment and system.
Background technology
When the short distance wireless communication technology refers to data without transferring to be communicated using the short distance wireless communication technology between the direct technology transmitted between the terminals, terminal in network, base station is needed not move through, the Radio Resource between terminal to base station is saved.
First terminal and second terminal will carry out following operation before being communicated using the short distance wireless communication technology:First terminal sends to neighbouring business function entity and finds request, discovery request includes the application user mark and terminal iidentification of the first terminal, this includes application identities and user's mark using user's mark, the application identities are used to determine which the application that the first terminal is used apply for, it can be Apply Names, Application Serial Number etc., the user is identified for determining which user the user that the application is logged on the first terminal is, it can be the user account for logging in the application, user's pet name etc., the terminal iidentification is used to determine which terminal the first terminal is, it can be identified for the hardware device of the first terminal, the device numbering or telephone number of such as first terminal.This is asked adjacent to business function entity according to the discovery, is that first terminal distributes a condition code, first terminal broadcasts this feature code;The application user for treating monitor terminal is identified (the application user that is to say the first terminal identifies) and is sent to this adjacent to business function entity by second terminal, this will be sent to second terminal adjacent to business function entity for the condition code that first terminal is distributed, so that second terminal monitors this feature code.When the condition code that second terminal is listened to is identical with the condition code that first terminal is broadcasted, the short distance wireless communication technology can be used, is communicated with the first terminal.
In the prior art, when first terminal have sent multiple discoveries using different applications asks, neighbouring business function entity is that first terminal distributes multiple identical condition codes, first terminal, which can be broadcasted independently, each applies corresponding condition code, the problem of there is same characteristic features code repeated broadcast, causes the waste of Radio Resource.
The content of the invention
The problem of in order to solve same characteristic features code repeated broadcast, the embodiments of the invention provide a kind of condition code processing method, equipment and system.The technical scheme is as follows:
First aspect includes there is provided a kind of condition code processing method, methods described:
The first discovery request that receiving terminal is sent, described first finds that request includes the terminal iidentification of the terminal;
Find to ask according to described first, sent to the terminal and find response, described to find that response includes sharing mark, shared identify uses a common features code at least two applications for indicating the terminal.
With reference in a first aspect, in the first possible implementation of first aspect, it is described find response also include it is following at least one:The existence duration of the common features code and common features code;
Wherein, the existence duration is used to represent the time span of common features code described in the terminal broadcast.
With reference to the first possible implementation of first aspect, in second of possible implementation of first aspect, the shared mark is represented by the designated bit position in common features code, or represented by the extended bit of common features code.
With reference to any of the above-described possible implementation, in the third possible implementation of first aspect, find to ask according to described first described, sent to the terminal before finding response, methods described also includes:
Find to ask according to described first, by terminal described in the common features code division dispensing.
It is described to find to ask according to described first in the 4th kind of possible implementation of first aspect with reference to the third possible implementation of first aspect, by terminal described in the common features code division dispensing, including:
According to the corresponding relation between the terminal iidentification and terminal iidentification and condition code, the common features code is obtained, and by terminal described in the common features code division dispensing;Or,
According to the terminal iidentification, obtain the application corresponding relation of the terminal, wherein, at least one of the application corresponding relation including the terminal identifies the corresponding relation between common features code using user, if the common features code corresponding with the application user mark that the described first discovery request includes is resulted in the application corresponding relation, by terminal described in the common features code division dispensing;Or, if not obtained in the application corresponding relation the corresponding condition code of application user mark that request includes is found with described first, any application user in the application corresponding relation is then identified into corresponding condition code and distributes to the terminal, and finds that asking the application user included to identify the corresponding relation between the condition code got is saved in the application corresponding relation by described first.
With reference in a first aspect, in the 5th kind of possible implementation of first aspect, before the transmission discovery response to the terminal, methods described also includes:
According to the existence duration for the common features code for distributing to the terminal for the last time before the first discovery request is received and the distribution time of common features code, the shape of the common features yard is determined State;
If the state of the common features yard is failure, common features code is carried in the discovery response.
With reference to any of the above-described kind of possible implementation, in the 6th kind of possible implementation of first aspect, before the first discovery request that the receiving terminal is sent, methods described also includes:
The second discovery request that the terminal is sent is received, described second finds that request includes the terminal iidentification of the terminal;
Find to ask according to described second, be common features code described in the terminal distribution, and be sent to the terminal.
Second aspect includes there is provided a kind of condition code processing method, methods described:
Terminal sends first to neighbouring business function entity and finds to ask, and described first finds that request includes the terminal iidentification of the terminal;
The terminal receives the neighbouring business function entity and finds to ask the discovery sent to respond according to described first, and the discovery response bag uses a common features code containing mark, shared identify is shared at least two applications for indicating the terminal;
If the terminal just broadcasts the common features code on the first Radio Resource, and the discovery response bag contains the shared mark, then the terminal continues the broadcast common features code on first Radio Resource.
With reference to second aspect, in the first possible implementation of second aspect, it is described find response also include it is following at least one:The existence duration of the common features code and common features code, wherein, the existence duration is used to represent the time span of common features code described in the terminal broadcast.
With reference to the first possible implementation of second aspect, in second of possible implementation of second aspect, the shared mark is represented by the designated bit position in common features code, or represented by the extended bit of common features code.
It is described to find that response includes the existence duration in the third possible implementation of second aspect with reference to the first possible implementation of second aspect, it is described to continue to broadcast the common features code on first Radio Resource, including:
The terminal determines the first broadcast duration of the common features code according to the residual time length for finding to respond the condition code that the existence duration included and the terminal are being broadcasted;
The terminal is after the first broadcast duration by common features code, and go off the air the shared spy Levy code.
With reference to second aspect, in the 4th kind of possible implementation of second aspect, described to find that response does not include common features code, methods described also includes:
The terminal obtains the condition code for distributing and being sent to the terminal adjacent to business function entity last time in the reception discovery response foregoing description;
The terminal regard the condition code of the acquisition as common features code.
With reference to the 4th kind of possible implementation of second aspect, in the 5th kind of possible implementation of second aspect, the terminal obtains the condition code for distributing and being sent to the terminal adjacent to business function entity last time in the reception discovery response message foregoing description, including:
Recorded according to the historical broadcasts of the terminal, obtain the terminal and receive the condition code for finding to broadcast for the last time before response as common features code.
With reference to any of the above-described kind of possible implementation, in the 6th kind of possible implementation of second aspect, methods described also includes:
If the terminal is not broadcasting the common features code, the terminal broadcasts the common features code on the second Radio Resource.
With reference to the 6th kind of possible implementation of second aspect, in the 7th kind of possible implementation of second aspect,
The terminal broadcasts the common features code on the second Radio Resource, including:
The terminal broadcasts the common features code to the second Radio Resource described in base station requests based on second Radio Resource asked, or,
Second Radio Resource is chosen in the Radio Resource pond that the terminal is pre-assigned to the terminal from the base station, the common features code is broadcasted based on second Radio Resource.
The third aspect includes there is provided a kind of condition code processing method, methods described:
Terminal sends to neighbouring business function entity and finds request, described to find that request includes the terminal iidentification of the terminal;
The terminal receives the neighbouring business function entity and finds to ask the discovery sent to respond according to described, described to find that response includes fisrt feature code of the neighbouring business function entity for the terminal distribution;
If the terminal is broadcasting second feature code, it is determined that whether the fisrt feature code is identical with the second feature code that the terminal is being broadcasted;
If the fisrt feature code and the second feature code-phase are same, the terminal continues to broadcast described second Condition code;
If the fisrt feature code is different from second feature code, fisrt feature code described in the terminal broadcast, and continues to broadcast the second feature code.
With reference to the third aspect, in the first possible implementation of the third aspect, methods described also includes:
If the non-broadcast feature code of terminal, broadcasts the fisrt feature code.
It is described to find that response also includes the existence duration of the fisrt feature yard, time span of the existence duration for indicating the broadcast fisrt feature code in second of possible implementation of the third aspect with reference to any of the above-described kind of possible implementation;
Methods described also includes:
If the fisrt feature code is same with the second feature code-phase, then according to the residual time length for finding to respond the second feature code that the existence duration included and the terminal are being broadcasted, determine the broadcast duration of the second feature code, and in the second feature code of after the broadcast duration of second feature code, going off the air;
If the fisrt feature code is different from second feature code, the fisrt feature code is broadcasted in the existence duration, in the fisrt feature code of being gone off the air after the existence duration.
With reference to any of the above-described kind of possible implementation, in the third possible implementation of the third aspect, fisrt feature code includes described in the terminal broadcast:
The terminal broadcasts the fisrt feature code to base station requests Radio Resource based on the Radio Resource asked, or,
Radio Resource is chosen in the Radio Resource pond that the terminal is pre-assigned to the terminal from the base station, the Radio Resource based on selection broadcasts the fisrt feature code.
Fourth aspect includes there is provided a kind of condition code processing unit, described device:
First request receiving module, request is found for receiving terminal is sent first, and described first finds that request includes the terminal iidentification of the terminal;
Sending module, for finding to ask according to described first, sends to the terminal and finds response, and described to find that response includes sharing mark, shared identify uses a common features code at least two applications for indicating the terminal.
With reference to fourth aspect, in the first possible implementation of fourth aspect, it is described find response also include it is following at least one:The existence duration of the common features code and common features code;
Wherein, the existence duration is used to represent the time span of common features code described in the terminal broadcast.
With reference to the first possible implementation of fourth aspect, in second of possible implementation of fourth aspect, the shared mark is represented by the designated bit position in common features code, or represented by the extended bit of common features code.
With reference to any of the above-described kind of possible implementation, in the third possible implementation of fourth aspect, described device also includes:
Distribute module, for finding to ask according to described first, by terminal described in the common features code division dispensing.
With reference to the third possible implementation of fourth aspect, in the 4th kind of possible implementation of fourth aspect, the distribute module includes:
First allocation unit, for according to the corresponding relation between the terminal iidentification and terminal iidentification and condition code, obtaining the common features code, and by terminal described in the common features code division dispensing;Or,
Second allocation unit, for according to the terminal iidentification, obtain the application corresponding relation of the terminal, wherein, at least one of the application corresponding relation including the terminal identifies the corresponding relation between common features code using user, if the common features code corresponding with the application user mark that the described first discovery request includes is resulted in the application corresponding relation, by terminal described in the common features code division dispensing;Or, if not obtained in the application corresponding relation the corresponding condition code of application user mark that request includes is found with described first, any application user in the application corresponding relation is then identified into corresponding condition code and distributes to the terminal, and finds that asking the application user included to identify the corresponding relation between the condition code got is saved in the application corresponding relation by described first.
With reference to fourth aspect, in the 5th kind of possible implementation of fourth aspect, described device also includes:
State determining module, for the existence duration according to the common features code for distributing to the terminal for the last time before the first discovery request is received and the distribution time of common features code, determines the state of the common features yard;
Condition code processing module, if the state for the common features yard is failure, common features code is carried in the discovery response.
With reference to any of the above-described kind of possible implementation, in the 6th kind of possible implementation of fourth aspect, described device also includes:
Second request receiving module, finds request, described second finds that request includes the terminal iidentification of the terminal for receiving the terminal is sent second;
The distribute module, is common features code described in the terminal distribution, and be sent to the terminal for finding to ask according to described second.
5th aspect is there is provided a kind of condition code processing unit, and described device includes:
Request sending module, finds to ask for sending first to neighbouring business function entity, and described first finds that request includes the terminal iidentification of described device;
Receiving module, finds to ask the discovery sent to respond for receiving the neighbouring business function entity according to described first, and the discovery response bag uses a common features code containing mark, shared identify is shared at least two applications for indicating described device;
First broadcast module, if for just broadcasting the common features code on the first Radio Resource, and the discovery response bag contains the shared mark, then continues to broadcast the common features code on first Radio Resource.
With reference to the 5th aspect, the 5th aspect the first possible implementation in, it is described find response also include it is following at least one:The existence duration of the common features code and common features code, wherein, the existence duration is used for the time span for representing that described device broadcasts the common features code.
With reference to the first possible implementation of the 5th aspect, in second of possible implementation of the 5th aspect, the shared mark is represented by the designated bit position in common features code, or represented by the extended bit of common features code.
With reference to the first possible implementation of the 5th aspect, in the third possible implementation of the 5th aspect, it is described to find that response includes the existence duration, first broadcast module is used for according to the residual time length for finding to respond the condition code that the existence duration included and described device are being broadcasted, and determines the first broadcast duration of the common features code;After the first broadcast duration by common features code, the common features code of going off the air.
With reference to the 5th aspect, in the 4th kind of possible implementation of the 5th aspect, described to find that response does not include common features code, described device also includes:
Acquisition module, distributes and is sent to the condition code of described device adjacent to business function entity last time in the reception discovery response foregoing description for obtaining;It regard the condition code of the acquisition as common features code.
With reference to the 4th kind of possible implementation of the 5th aspect, in the 5th kind of possible implementation of the 5th aspect, the acquisition module is additionally operable to be recorded according to historical broadcasts, obtains and receives the condition code for finding to broadcast for the last time before response as common features code.
With reference to any of the above-described kind of possible implementation, in the 6th kind of possible implementation of the 5th aspect, described device also includes:
Second broadcast module, if for not broadcasting the common features code, the common features code is broadcasted on the second Radio Resource.
With reference to the 6th kind of possible implementation of the 5th aspect, in the 7th kind of possible implementation of the 5th aspect, second broadcast module is used for the second Radio Resource described in base station requests, the common features code is broadcasted based on second Radio Resource asked, or, second Radio Resource is chosen in the Radio Resource pond for being pre-assigned to described device from the base station, the common features code is broadcasted based on second Radio Resource.
6th aspect is there is provided a kind of condition code processing unit, and described device includes:
Request sending module, request is found for being sent to neighbouring business function entity, described to find that request includes the terminal iidentification of described device;
Receiving module, it is described to find that response includes the fisrt feature code that the neighbouring business function entity is described device distribution for receiving the neighbouring business function entity according to the discovery response for finding to ask to send;
Determining module, if broadcasting second feature code for described device, it is determined that whether the fisrt feature code is identical with the second feature code that described device is being broadcasted;
First broadcast module, if same for fisrt feature code and the second feature code-phase, continues to broadcast the second feature code;
Second broadcast module, if different from second feature code for fisrt feature code, broadcasts the fisrt feature code, and continues to broadcast the second feature code.
With reference to the 6th aspect, in the first possible implementation of the 6th aspect, described device also includes:
3rd broadcast module, if for the non-broadcast feature code of described device, broadcasting the fisrt feature code.
It is described to find that response also includes the existence duration of fisrt feature code, time span of the existence duration for indicating the broadcast fisrt feature yard in second of possible implementation of the 6th aspect with reference to any of the above-described kind of possible implementation;
First broadcast module, if same with the second feature code-phase for fisrt feature code, then according to the residual time length for finding to respond the existence duration included and second feature code, determine the broadcast duration of the second feature code, and in the second feature code of after the broadcast duration of second feature code, going off the air;
Second broadcast module, if different with second feature code for fisrt feature code, the fisrt feature yard is broadcasted in the existence duration, is going off the air described the after the duration of surviving One condition code.
With reference to any of the above-described kind of possible implementation, in the third possible implementation of the 6th aspect, second broadcast module, it is additionally operable to base station requests Radio Resource, the fisrt feature code is broadcasted based on the Radio Resource asked, or, Radio Resource is chosen in the Radio Resource pond for being pre-assigned to described device from the base station, the Radio Resource based on selection broadcasts the fisrt feature code;
3rd broadcast module, it is additionally operable to base station requests Radio Resource, the fisrt feature code is broadcasted based on the Radio Resource asked, or, Radio Resource is chosen in the Radio Resource pond for being pre-assigned to described device from the base station, the Radio Resource based on selection broadcasts the fisrt feature code.
7th aspect includes there is provided a kind of neighbouring business function entity, the neighbouring business function entity:Network interface, memory and processor, the network interface and the memory are connected with the processor respectively, and the memory storage has program code, and the processor is used to call described program code, performs following operate:
The first discovery request that receiving terminal is sent, described first finds that request includes the terminal iidentification of the terminal;
Find to ask according to described first, sent to the terminal and find response, described to find that response includes sharing mark, shared identify uses a common features code at least two applications for indicating the terminal.
Eighth aspect includes there is provided a kind of terminal, the terminal:Receiver, transmitter, memory and processor, the receiver, the transmitter and the memory are connected with the processor respectively, and the memory storage has program code, and the processor is used to call described program code, performs following operate:
First is sent to neighbouring business function entity and finds request, and described first finds that request includes the terminal iidentification of the terminal;
Receive the neighbouring business function entity to find to ask the discovery sent to respond according to described first, the discovery response bag uses a common features code containing mark, shared identify is shared at least two applications for indicating the terminal;
If the common features code is just broadcasted on the first Radio Resource, and the discovery response bag contains the shared mark, then continues to broadcast the common features code on first Radio Resource.
9th aspect is there is provided a kind of system, and the system includes:Neighbouring business function entity and terminal;
The terminal is used to find to ask to the neighbouring business function entity first, and described first finds that request includes the terminal iidentification of the terminal;
The neighbouring business function entity is used to receive the first discovery request, find to ask according to described first, sent to the terminal and find response, described to find that response includes sharing mark, shared identify uses a common features code at least two applications for indicating the terminal.
The terminal is additionally operable to the reception neighbouring business function entity and finds to ask the discovery response of transmission according to described first, if the terminal just broadcasts the common features code on the first Radio Resource, and the discovery response bag contains the shared mark, then the terminal continues the broadcast common features code on first Radio Resource.
Tenth aspect is there is provided a kind of terminal, and the terminal includes:Receiver, transmitter, memory and processor, the receiver, the transmitter and the memory are connected with the processor respectively, and the memory storage has program code, and the processor is used to call described program code, performs following operate:
Terminal sends to neighbouring business function entity and finds request, described to find that request includes the terminal iidentification of the terminal;
The terminal receives the neighbouring business function entity and finds to ask the discovery sent to respond according to described, described to find that response includes fisrt feature code of the neighbouring business function entity for the terminal distribution;
If the terminal is broadcasting second feature code, it is determined that whether the fisrt feature code is identical with the second feature code that the terminal is being broadcasted;
If the fisrt feature code and the second feature code-phase are same, the terminal continues to broadcast the second feature code;
If the fisrt feature code is different from second feature code, fisrt feature code described in the terminal broadcast, and continues to broadcast the second feature code.
Tenth one side is there is provided a kind of system, and the system includes:Neighbouring business function entity and terminal;
The terminal, which is used to send to the neighbouring business function entity, finds request, described to find that request includes the terminal iidentification of the terminal;
The neighbouring business function entity is used to find to ask according to described, is sent to the terminal and finds response, described to find that response includes fisrt feature code of the neighbouring business function entity for the terminal distribution;
The terminal is additionally operable to receive the discovery response, if the terminal is broadcasting second feature code, it is determined that whether the fisrt feature code is identical with the second feature code that the terminal is being broadcasted;If described first Condition code is same with the second feature code-phase, then the terminal continues to broadcast the second feature code;If the fisrt feature code is different from second feature code, fisrt feature code described in the terminal broadcast, and continues to broadcast the second feature code.
The beneficial effect of technical scheme provided in an embodiment of the present invention is:
First sent according to the terminal received finds request, sent to terminal and find response, discovery response includes sharing mark, this, which shares mark, can indicate that at least two applications of the terminal use a common features code, know that this is identical adjacent to the condition code that business function entity distributes to the terminal other application with this adjacent to the condition code that business function entity distributes to the terminal by the shared terminal that identifies, so that the terminal may proceed to broadcast common features code when currently broadcasting common features code, avoid and there is same terminal in the prior art while the problem of broadcasting same condition code on different Radio Resources, and then avoid the waste of Radio Resource.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, the accompanying drawing used required in being described below to embodiment is briefly described, apparently, drawings in the following description are only some embodiments of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the network architecture schematic diagram of the implementation environment involved by the embodiment of the present invention;
Fig. 2 is another network architecture schematic diagram of the implementation environment involved by the embodiment of the present invention;
Fig. 3 is a kind of flow chart of condition code processing method provided in an embodiment of the present invention;
Fig. 4 is the flow chart of another condition code processing method provided in an embodiment of the present invention;
Fig. 5 is the flow chart of another condition code processing method provided in an embodiment of the present invention;
Fig. 6 is existence duration schematic diagram provided in an embodiment of the present invention;
Fig. 7 is the flow chart of another condition code processing method provided in an embodiment of the present invention;
Fig. 8 is the flow chart of another condition code processing method provided in an embodiment of the present invention;
Fig. 9 is a kind of structural representation of condition code processing unit provided in an embodiment of the present invention;
Figure 10 is a kind of structural representation of condition code processing unit provided in an embodiment of the present invention;
Figure 11 is the structural representation of another condition code processing unit provided in an embodiment of the present invention;
Figure 12 is a kind of structural representation of neighbouring business function entity provided in an embodiment of the present invention;
Figure 13 is a kind of structural representation of terminal provided in an embodiment of the present invention;
Figure 14 is a kind of structural representation of system provided in an embodiment of the present invention;
Figure 15 is the structural representation of another terminal provided in an embodiment of the present invention;
Figure 16 is the structural representation of another system provided in an embodiment of the present invention.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Fig. 1 is a kind of network architecture schematic diagram of implementation environment involved by the embodiment of the present invention, and referring to Fig. 1, the implementation environment includes:Terminal 101, neighbouring business function entity 102 and base station 103.
Wherein, neighbouring business function entity 102 is used to provide short-range communication service for terminal 101.It is first terminal assigned characteristics code that this is used for adjacent to business function entity, and first terminal is used to broadcast the condition code distributed adjacent to business function entity 102.This is additionally operable to the condition code of the first terminal being sent to second terminal adjacent to business function entity 102, and the condition code of first terminal broadcast is monitored by second terminal.When second terminal listens to the condition code that first terminal is broadcasted, the short distance wireless communication technology can be used, is communicated with the first terminal.In addition, base station 103 is used to be the distributing radio resource of terminal 101, terminal 101 is used for the Radio Resource broadcast feature code distributed based on base station 103.
Terminal 101 sends to neighbouring business function entity 102 and finds request, and discovery request includes the terminal iidentification of terminal 101.Neighbouring business function entity 102 is after the discovery request that receiving terminal 101 is sent, sent to terminal 101 and find response, discovery response can carry the condition code for distributing to terminal 101, or carry the configured information for indicating the condition code that neighbouring business function entity 102 distributes for terminal 101.Terminal 101 responds the information carried according to the discovery and determines that neighbouring business function entity 102 distributes to the condition code of terminal 101.
Terminal 101 is it is determined that after business function entity 102 distributes to the condition code of terminal 101, the Radio Resource of terminal 101 is distributed to based on base station 103, broadcast the condition code determined, so that other-end can listen to this feature code, and the terminal iidentification of terminal 101 is obtained from neighbouring business function entity 102 according to the condition code listened to, and then the terminal iidentification of the terminal 101 based on acquisition is communicated with terminal 101.
Wherein, terminal iidentification is used to identify a terminal, is specifically as follows the device numbering of terminal, the embodiment of the present invention is not limited this.Fig. 2 is the network architecture schematic diagram of another implementation environment involved by the embodiment of the present invention, and referring to Fig. 2, the implementation environment can include:Application server, signing management entity, mobile management entity, gateway, common data gateway, access network, neighbouring business function entity and terminal 1 and terminal 2.Application server refers to server with neighbouring business function entity signing, the application Server with this adjacent to business function entity signing after, this can be with being interacted adjacent to business function entity using the terminal applied associated by the application server, enable subsequently using the terminal of the application according to this adjacent to the condition code that business function entity is the terminal distribution, communicated with other using the terminal of the application.
Terminal 1 is mounted with the application that application server is associated with terminal 2, by the application, is registered in the application server, then the application server is terminal 1 and the distribution application user's mark of terminal 2.Terminal 1 and terminal 2 can obtain application user's mark by the application of installation from the corresponding application server of the application of installation.Wherein, the application user mark of acquisition can include application identities and user identifies, the application identities can be used for one application of mark, it is specifically as follows Apply Names or application version title etc., the user is identified for identifying a user, it is specifically as follows user account, user's pet name or Customs Assigned Number etc., the embodiment of the present invention is not limited this.
Fig. 3 is a kind of flow chart of condition code processing method provided in an embodiment of the present invention, referring to Fig. 3, and the executive agent of the embodiment of the present invention is neighbouring business function entity, and this method includes:
301st, the first discovery request that receiving terminal is sent, the first discovery request includes the terminal iidentification of the terminal.
Wherein, the first discovery request can be used for request assigned characteristics code to the terminal.
302nd, asked according to first discovery, sent to the terminal and find to respond, the discovery, which is responded, to be included sharing mark, shared identify is used to indicate that at least two applications of the terminal to use a common features yard.
Wherein, the discovery response can also include it is following at least one:The existence duration of common features code and common features code;Wherein, the existence duration is used for the time span for representing terminal broadcast common features code.
Further, common features code can share mark comprising this.Specifically, this shares mark and can represented by the designated bit position in common features code, for example, designated bit position can be one or more in all bits of this feature code, and designated bit position can also be the bit of the predeterminated position positioned at this feature code, such as first bit, the first two bit;This shares mark and can also represented by the extended bit position of common features code, for example, being represented in the one or more bits of front or rear extension of common features code.
Method provided in an embodiment of the present invention, first sent according to the terminal received finds request, sent to terminal and find response, discovery response includes sharing mark, this, which shares mark, can indicate at least two applications of the terminal using common features code, shared by this and identify the terminal and know that this is distributed to the condition code of the terminal with this adjacent to business function entity and distributes to the terminal other application adjacent to business function entity Condition code is identical, so that the terminal may proceed to broadcast common features code when currently broadcasting common features code, avoid and there is the problem of same terminal broadcasts same condition code on different Radio Resources simultaneously in the prior art, and then avoid the waste of Radio Resource.
Alternatively, before step 302, this method also includes:
Request first is found according to this, by the common features code division dispensing terminal.
Alternatively, this first finds to ask according to this, by the common features code division dispensing terminal, including:
According to the corresponding relation between the terminal iidentification and terminal iidentification and condition code, common features code is obtained;
By the common features code division dispensing terminal.
Specifically, the terminal iidentification can be searched in the corresponding relation, condition code corresponding with the terminal iidentification is obtained.
Alternatively, the first discovery request also application user including the terminal identifies, and this is according to the first discovery request, by the common features code division dispensing terminal, including:
According to the terminal iidentification, the application corresponding relation of the terminal is obtained, wherein, this identifies the corresponding relation between common features code using at least one of corresponding relation including the terminal using user;
First the corresponding common features yard of the application user mark that includes of request are found with this if being resulted in this applies corresponding relation, by the common features code division dispensing terminal;Or.
If not obtaining the corresponding condition code of application user mark included with the first discovery request in this applies corresponding relation, then this is applied any application user in corresponding relation identify corresponding condition code and distribute to the terminal, and the corresponding relation between the application user mark and the condition code got that the first discovery request is included is saved in this using in corresponding relation.
Specifically, this is searched in this applies corresponding relation and first finds the application user mark that request includes, obtains and first finds the corresponding common features yard of the application user mark that includes of request with this.
Alternatively, sent in step 302 to the terminal before finding response, this method also includes:
According to the existence duration for the common features code for distributing to the terminal for the last time before the first discovery request is received and the distribution time of the common features yard, the state of common features code is determined;
If the state of common features code is failure, common features code is carried in discovery response.
Wherein, the existence duration can be used to indicate that the time span of terminal broadcast common features code.
Alternatively, before the first discovery request that the receiving terminal is sent, this method also includes:
Receive terminal transmission second finds request, and the second discovery request includes the terminal iidentification of the terminal;
Request second is found according to this, for terminal distribution common features code, and the terminal is sent to.
Still optionally further, asked according to second discovery, after terminal distribution common features code, the above method also includes:The corresponding relation set up between the terminal iidentification and common features code.
Wherein, the second discovery request can be used for request assigned characteristics code to the terminal.
Above-mentioned all optional technical schemes, can form the alternative embodiment of the present invention, this is no longer going to repeat them using any combination.
Fig. 4 is the flow chart of another condition code processing method provided in an embodiment of the present invention, referring to Fig. 4, and the executive agent of the embodiment of the present invention is terminal, and this method includes:
401st, terminal sends first to neighbouring business function entity and finds to ask, and the first discovery request includes the terminal iidentification of the terminal.
Wherein, the first discovery request can be used for asking this to be the terminal distribution condition code adjacent to business function entity.
402nd, the terminal receives the discovery response that this asks to send adjacent to business function entity according to first discovery, and the discovery response bag is containing shared mark, and this, which shares to identify, is used for indicate the terminal at least two using using a common features code.
Wherein, the discovery response can also include it is following at least one:The existence duration of common features code and common features code, wherein, the existence duration is used for the time span for representing terminal broadcast common features code.
If the 403, the terminal just broadcasts common features code on the first Radio Resource, and the terminal determines that the discovery response bag shares mark containing this, then continues to broadcast common features code on first Radio Resource.
Wherein, first Radio Resource can specifically be allocated to the interface-free resources of the terminal, belong to prior art, here is omitted.
Method provided in an embodiment of the present invention, terminal sends first to neighbouring business function entity and finds to ask, the discovery response that neighbouring business function entity is returned includes sharing mark, this, which shares mark, can indicate that at least two applications of the terminal use a common features code, if the terminal just broadcasts common features code on the first Radio Resource, and the terminal determines that the discovery response bag shares mark containing this, then continue to broadcast common features code on first Radio Resource, without broadcasting the condition code that the terminal is distributed to adjacent to business function entity again on other Radio Resources, avoid the repeated broadcast of condition code and the waste of Radio Resource.
Alternatively, when discovery response includes the existence duration, continue to broadcast common features code on first Radio Resource in step 403, can include:
The terminal responds the residual time length for the condition code that the existence duration included and the terminal are being broadcasted according to the discovery, determines the first broadcast duration of common features code;
The terminal is after the first broadcast duration by common features code, the common features of going off the air code.
Alternatively, when discovery response does not include common features code, this method also includes:
The terminal obtains before discovery response is received this and distributes and be sent to the condition code of the terminal adjacent to business function entity last time;
The terminal regard the condition code of the acquisition as common features code.
Alternatively, this is responded according to the discovery obtains the common features code for distributing to the terminal, including:
Recorded according to the historical broadcasts of the terminal, obtain the terminal and receive the condition code broadcasted for the last time before discovery response as common features code.
Alternatively, this method also includes:
If the terminal is not broadcasting common features code, the terminal broadcasts common features code on the second Radio Resource.
Wherein, second Radio Resource can be identical with first Radio Resource, can also be different.
Alternatively, the terminal broadcasts common features code on the second Radio Resource, including:
The terminal broadcasts common features code to base station requests second Radio Resource based on second Radio Resource asked, or,
Second Radio Resource is chosen in the Radio Resource pond that the terminal is pre-assigned to the terminal from the base station, second Radio Resource based on selection broadcasts common features code.
Above-mentioned all optional technical schemes, can form the alternative embodiment of the present invention, this is no longer going to repeat them using any combination.
Fig. 5 is the flow chart of another condition code processing method provided in an embodiment of the present invention, referring to Fig. 5, and the interaction agent of the embodiment of the present invention is terminal and neighbouring business function entity, and this method includes:
501st, terminal sends first to neighbouring business function entity and finds to ask, and the first discovery request includes the application user mark of the terminal and the terminal iidentification of the terminal.
If the terminal will be communicated using the short distance wireless communication technology with other-end, then need first broadcast feature code, and for broadcast feature code, the terminal will first send to neighbouring business function entity and find request, and the discovery asks to be used to ask this adjacent to business function entity assigned characteristics code to the terminal.Wherein, discovery request can by broadcast feature code instruction triggers, when the terminal receives the instruction of broadcast feature code, discovery request is sent to neighbouring business function entity, discovery request can also start a certain application by the terminal The triggering of operation acquiescence or using other modes triggering, the embodiment of the present invention do not limited this.
The embodiment of the present invention is only illustrated so that the discovery request that terminal is sent is the first discovery request as an example, and the processing procedure for the discovery request that the terminal is sent every time is similar with the processing procedure that first discovery is asked, and will not be repeated here.
Wherein, the terminal can be mobile phone, apparatus such as computer, and the terminal iidentification is used to uniquely determine the terminal, can be phone number, device numbering of the terminal etc., the embodiment of the present invention is not limited this.The terminal is determined adjacent to business function entity for the ease of this, before the first discovery request is sent, the terminal can carry the terminal iidentification in the first discovery request.
In actual application, the terminal can install a variety of applications, for every kind of application, the terminal can pass through the application, registered user is identified on the application server of the association, and the application server is identified according to the user of the application identities and the endpoint registration, will distribute to the terminal using user's mark, this includes the application identities using user's mark and the user identifies, and the terminal can be based on this and log in the application server using user's mark.
The application that the terminal is used can be a variety of applications such as instant messaging application, payment application, and accordingly, the application server can be a variety of servers such as instant communication server or paying server.The application identities can be title, version number of the application etc., and user mark can be user account, user's pet name, Customs Assigned Number etc., and the embodiment of the present invention is not limited this.
For example, user Tom registered user can identify " Tom " on the server 1 of application " application1 ", the user that is applied mark Tom@application1.com, user Tom can be based on application user mark in terminal, and " Tom@application1.com " log in the server 1, user Tom registered user can identify " Tom " on the server 2 of application " application2 ", the user that is applied mark Tom@application2.com, user Tom can be based on application user in terminal and identify " Tom@application2.com " login services device 2.
In embodiments of the present invention, the terminal can send first discovery adjacent to business function entity to this by different applications and ask, then know which application the currently used application of the terminal is adjacent to business function entity for the ease of this, the terminal can first obtain presently used application user mark, this is applied into the carrying of user's mark in the first discovery request, then the first discovery request includes this using user's mark.
It should be noted that, the application being related in said process refers to the application for supporting the short distance wireless communication technology, only could be by this adjacent to the checking of business function entity using the terminal for the application for supporting the short distance wireless communication technology, this can just distribute to condition code the terminal adjacent to business function entity.So, for any application server, the application server can contract with this adjacent to business function entity, after signing The short distance wireless communication technology can be supported, the terminal sends first discovery adjacent to business function entity to this by the application and asked, the first discovery request includes this and identified using user, this receives the first discovery request adjacent to business function entity, the application identities included in being identified according to this using user determine that the terminal authentication passes through, condition code is distributed into the terminal, the terminal can use the short distance wireless communication technology, be communicated with other-end.
Certainly, this can also be asked, this can distribute to condition code the terminal adjacent to business function entity adjacent to business function entity by the short distance wireless communication technology opening to all applications no matter the terminal sends first discovery by which application.So, the terminal can not include this using user's mark to this adjacent to the first discovery request that business function entity is sent, and to the first discovery request, whether the application user mark including the terminal is not limited the embodiment of the present invention.
502nd, this adjacent to business function entity receive this first find request when, according to the corresponding relation between the terminal iidentification and terminal iidentification and condition code, the corresponding common features code of the terminal iidentification is obtained, by the corresponding common features code division dispensing terminal of the terminal iidentification.
Alternatively, before the step 502, this method also includes:This receives the second of terminal transmission adjacent to business function entity and finds to ask, and the second discovery request includes the terminal iidentification of the terminal;This is terminal distribution common features yard according to the second discovery request adjacent to business function entity, and the corresponding relation set up between the terminal iidentification and common features code.
The embodiment of the present invention finds to ask adjacent to the discovery request that business function entity receives terminal transmission for the first time with this for second, the discovery request of terminal transmission is received in subsequent process again to illustrate exemplified by the first discovery request, and in practical application, when this receives the discovery request of the terminal adjacent to business function entity every time, the terminal iidentification for asking to include according to the discovery, the corresponding relation inquired about between the terminal iidentification set up and condition code, if not inquiring the common features code corresponding to the terminal iidentification of the terminal, then determine that the discovery for receiving the terminal for the first time is asked, also condition code is not crossed to the terminal distribution before.And if having inquired the common features code corresponding to the terminal iidentification of the terminal, it is determined that once cross common features code to the terminal distribution before.
Further, when this receives the discovery request of the terminal adjacent to business function entity for the first time, for terminal distribution common features code, the corresponding relation set up between the discovery terminal iidentification that includes of request and common features code, is easy to by search index of the terminal iidentification of the terminal to the common features yard.In subsequent process, when this receives the discovery request of the terminal adjacent to business function entity again, without being again the new condition code of the terminal distribution, and can be directly according to the terminal iidentification of the terminal, the corresponding relation inquired about between the terminal iidentification set up and condition code, the corresponding common features code of the terminal iidentification is obtained, this is shared into spy Levy the code division dispensing terminal.
By being the terminal distribution identical condition code every time, it is to avoid same terminal takes multiple condition codes, saves condition code resource.
The embodiment of the present invention is only illustrated so that this sets up the corresponding relation between the terminal iidentification of terminal and the common features code for distributing to the terminal adjacent to business function entity as an example, and in actual application, terminal may be sent adjacent to business function entity to this by different applications and find request, it is found that request includes the terminal iidentification and application user's mark of the terminal.In order to be made a distinction to the application that the terminal is used, the corresponding relation that can also be set up between the application user mark of terminal and common features code adjacent to business function entity, to be designated search index common features code with the application user of terminal.
Specifically, when this receives the second discovery request of terminal transmission adjacent to business function entity for the first time, obtain terminal iidentification and application user's mark that the second discovery request includes, by the common features code division dispensing terminal, and according to the terminal iidentification of the terminal, the application corresponding relation of the terminal is set up, this includes using corresponding relation, and this is identified using user and this distributes to corresponding relation between the common features yard of the terminal adjacent to business function entity.So, when the first discovery request that this sends adjacent to the subsequently received terminal of business function entity, the terminal iidentification included according to the first discovery request, obtain the application corresponding relation of the terminal, the application user mark included according to this using corresponding relation and the first discovery request, obtain and first find the corresponding common features yard of the application user mark that includes of request with this, by the common features code division dispensing terminal.
If the terminal sends the first discovery request by different applications and second discovery is asked, the application user mark that then the first discovery request includes is different from the application user mark in the second discovery request, the condition code corresponding to the application user mark that the first discovery request includes may not be included in the application corresponding relation set up adjacent to business function entity, this is identified adjacent to business function entity according to the application user included using corresponding relation and the first discovery request, it is impossible to obtain corresponding condition code.
Now, this can be one new feature code different from common features code of the terminal distribution adjacent to business function entity, the corresponding relation set up between the application user included the mark in the first discovery request and new feature code, and the corresponding relation is saved in the application corresponding relation of the terminal, by the new feature code division dispensing terminal.
But, this distributes different condition codes adjacent to business function entity for the different application of the terminal can cause the waste of condition code resource, and the terminal can obtain the Radio Resource of base station by different applications, different condition codes are broadcasted based on different Radio Resources, the waste of Radio Resource can be also caused.In order to avoid the unnecessary wasting of resources, this can distribute identical adjacent to business function entity for the different application in same terminal Condition code.
For this, when this is identified adjacent to the application user that business function entity includes according to the application corresponding relation of the terminal and the first discovery request, when the application user that not obtaining the first discovery request includes identifies corresponding condition code, obtain this and identify corresponding condition code using any application user in corresponding relation, this feature code is the condition code that this once distributed to the terminal adjacent to business function entity, then any application user can be identified corresponding condition code adjacent to business function entity and distribute to the terminal by this, and the corresponding relation between the application user mark and the condition code got for including the first discovery request is saved in this using in corresponding relation, it ensure that this applies application user marks different in corresponding relation to correspond to identical condition code, no matter which the terminal applied using, this can be by this feature code division dispensing terminal adjacent to business function entity, avoid the wasting of resources.
For example, the application corresponding relation of the terminal can be with as shown in table 1 below.This is index with the terminal iidentification " 188XXXX8903 " of the terminal using corresponding relation, in this applies corresponding relation, " Tom@application1.com ", " condition code corresponding to Tom@application2.com ", " Tom.app3 " is " code1 " to use three application users marks of the terminal.
Table 1
503rd, this sends to the terminal adjacent to business function entity and finds response, and discovery response includes common features code and shares mark.
In embodiments of the present invention, this determines adjacent to business function entity for corresponding relation of the common features code between the terminal iidentification and condition code of the terminal of the terminal distribution, i.e., this received adjacent to the common features code that business function entity distributes to the terminal with this adjacent to business function entity distribute and be sent to for the last time before first discovery is asked the terminal condition code it is identical.This can carry shared mark in the discovery is responded adjacent to business function entity, and this, which shares mark, is used to indicate that the terminal uses the common features code that the terminal is distributed and be sent to adjacent to business function entity last time to be broadcasted.
This can distribute identical condition code adjacent to business function entity for the different application of the terminal, can also distribute different condition codes.If this is adjacent to the different application distribution difference that business function entity is in the terminal Condition code, then this adjacent to business function entity receive this first find request before distribute for the last time and be sent to the condition code of the terminal with this and first find that the condition code possibility for requesting assignment to the terminal is different according to this adjacent to business function entity.For the ease of distinguishing, by this adjacent to business function entity receive this first find request before distribute for the last time and be sent to the terminal condition code be referred to as fisrt feature code, this is referred to as second feature code adjacent to the condition code that business function entity requests assignment to the terminal according to first discovery, then this can be by after the second feature code division dispensing terminal adjacent to business function entity, obtain fisrt feature code, judge whether second feature code is identical with fisrt feature code, if identical, this is shared into mark to carry in discovery response, if different, then carried without this is shared into mark in discovery response.
If this distributes identical condition code adjacent to business function entity for the different application of the terminal, so this adjacent to business function entity distribute to the condition code of the terminal with receive this first find request before distribute for the last time and be sent to the terminal condition code it is identical, this adjacent to business function entity can directly by this share mark carry the discovery respond in.
It should be noted that in the present embodiment and the various embodiments described above, this is shared mode of the mark carrying in discovery response by this adjacent to business function entity can include at least one of in the following manner (1) and (2):
(1) this finds response adjacent to the generation of business function entity, and the value for the shared identification field that the discovery is responded is set to preset value.The follow-up terminal receives discovery response, when the value for determining the shared identification field of discovery response is preset value, you can determine that discovery response includes this and shares mark.
This reserves a shared identification field adjacent to business function entity in response is found, this shares the value of identification field and represents to find that response includes sharing mark for preset value, and the value for sharing identification field is not that the preset value then represents to find not including sharing mark in response.
In another embodiment, if condition code is distributed to the terminal by this for the first time adjacent to business function entity, or distribute to the condition code of the terminal from receive this first find request before distribute for the last time and be sent to the terminal condition code it is different when, the value for the shared identification field that can respond the discovery is set to the value in addition to the preset value.When the value of the follow-up shared identification field that discovery response is determined when the terminal is not the preset value, you can determine that discovery response does not include this and shares mark.
(2) this adjacent to business function entity according to preset rules, generation includes the condition code of multiple bits, so that the value on the designated bit position of this feature code, which meets, includes above-mentioned shared mark in the preset rules, i.e. condition code, the condition code of generation is distributed into terminal.So, when the terminal receive this adjacent to business function entity return the discovery response when, can it is determined that this feature code designated bit position on value meet this preset When regular, determine that discovery response includes this and shares mark.
In another embodiment, if condition code is distributed to the terminal by this for the first time adjacent to business function entity, or distribute to the condition code of the terminal from receive this first find request before distribute for the last time and be sent to the terminal condition code it is different when, the condition code that the value in designated bit can not be met into the preset rules distributes to the terminal.So, when the terminal receives the discovery response returned adjacent to business function entity, and determine the value on the designated bit position of this feature code when not meeting the preset rules, you can to determine that discovery response does not include this and shares mark.
Wherein, designated bit position can be one or more in all bits of this feature code, and designated bit position can be located at the predeterminated position of this feature code, such as first bit, the first two bit, the preset rules can specify that the arrangement mode of the value on multiple designated bit positions, or number of even number value etc. in the value on the multiple designated bit positions of regulation, designated bit position and the preset rules can be by these adjacent to business function entity and terminal negotiation determination, and the embodiment of the present invention is not limited this.
It should be noted that this can be identified adjacent to business function entity using the one of which of above two mode or two kinds to set this to share.Which kind of specifically it can consult to determine adjacent to business function entity and terminal by this using mode.Certainly, this can also set this to share mark adjacent to business function entity using other modes, and the embodiment of the present invention is not limited this.
In addition, this in the embodiment of the present invention is adjacent to business function entity before discovery response is sent, the common features code for distributing to the terminal can be carried in discovery response, so that discovery response includes common features code, the terminal can respond the condition code included according to the discovery and know the condition code that the terminal is distributed to adjacent to business function entity.
In actual applications, if this adjacent to business function entity distribute to the condition code of the terminal with receive this first find request before distribute for the last time and be sent to the terminal condition code it is identical, the discovery response include this share identify.The terminal determines that discovery response includes this and shared after mark, it can be recorded according to historical broadcasts and determine which condition code this is adjacent to the condition code that the terminal was distributed and be sent to business function entity last time, so that it is determined that this distributes to the condition code of the terminal adjacent to business function entity.Wherein, generated when the historical broadcasts record broadcast feature code each by the terminal, historical broadcasts record can include the condition code of broadcast, this feature yard and start the time of broadcast, broadcast duration etc., and the embodiment of the present invention is not limited this.
Or, the terminal determines that discovery response includes this and shares mark, and broadcast this and distributed and when being sent to the condition code of the terminal adjacent to business function entity last time, the condition code that the terminal is distributed to adjacent to business function entity can be determined according to the condition code of current broadcast.
It that is to say, the terminal can share mark according to this and determine the condition code that the terminal is distributed to adjacent to business function entity, this is adjacent to business function entity without carrying the condition code for distributing to the terminal in discovery response, this can be included in discovery response and share mark without including condition code, the embodiment of the present invention responds the condition code for whether including distributing to the terminal to the discovery and do not limited.
Further, this can set the existence duration of common features code, and record the distribution time of the common features yard adjacent to business function entity when it is terminal distribution common features code for the last time to receive before first discovery is asked.Wherein, the existence duration is used for the time span for representing terminal broadcast common features code.Before then this sends discovery response according to the first discovery request adjacent to business function entity to the terminal, existence duration that can be according to the common features code for distributing to the terminal for the last time before the first discovery request is received and the distribution time of the common features yard, determine the state of common features code.The state of common features code includes failure and not failed.If the time interval between the distribution time of current time and common features code exceeds the existence duration, represent the terminal gone off the air the common features code, then this determines that common features code has failed adjacent to business function entity, and common features code is carried in discovery response.If the time interval between the distribution time of current time and common features code is without departing from the existence duration, represent the terminal do not go off the air also the common features code, then this determines that common features code does not fail adjacent to business function entity, without common features code is carried in discovery response.
This is received adjacent to business function entity after the first discovery request, can also be that the condition code for distributing to the terminal sets existence duration, to represent the time span of terminal broadcast this feature code.This carries the existence duration in discovery response adjacent to business function entity so that discovery response includes the existence duration, and the terminal can be according to the existence duration of this feature yard, and the broadcasting process to condition code is handled.
Wherein, this can set identical existence duration adjacent to business function entity for all condition codes for distributing to the terminal, or the condition code for distributing to the terminal by different application sets different existence durations, and the embodiment of the present invention is not limited this.When this sets different existence durations adjacent to business function entity to distribute to the condition code of the terminal by different application, it can be identified according to the application user of the terminal and determine that this identifies the application identities included using user, the existence duration of the condition code of the terminal is distributed to according to application identities determination, for different application identities, this is different adjacent to duration of being survived determined by business function entity.The embodiment of the present invention determines that the mode of existence duration is not limited to this adjacent to business function entity.
504th, when the terminal receives discovery response, determine that discovery response includes this and shares mark, if the terminal broadcasts common features code just on the first Radio Resource, continue to broadcast common features code on first Radio Resource.
Wherein, first Radio Resource is allocated to the interface-free resources of the terminal, repeats no more.
If discovery response, which includes this, shares mark, represent this adjacent to business function entity distribute to the condition code of the terminal distributed for the last time adjacent to business function entity with this and be sent to the terminal common features code-phase it is same.If the terminal is broadcasting common features code, then the terminal shares the condition code that mark can determine that this distributes to the terminal adjacent to business function entity according to this and the common features code-phase broadcasted is same, now the terminal without broadcasting the condition code that the terminal is distributed to adjacent to business function entity again, it need to only continue to broadcast common features code, it is to avoid the broadcast wasting of resources caused by distributing to the condition code of the terminal adjacent to business function entity.
Further, also include existence duration if not only including this in discovery response and sharing mark, the residual time length for the common features code that the terminal is being broadcasted according to the existence duration and the terminal, determine the first broadcast duration of common features code, the terminal is after the first broadcast duration by common features code, the common features of going off the air code.Wherein, the residual time length represents the remaining time span for the condition code that the terminal is being broadcasted.
Specifically, the terminal determines larger duration among the residual time length of the condition code that discovery existence duration for including of response and the terminal are being broadcasted, it is used as the first broadcast duration of common features code, then the terminal continues to broadcast common features code, common features code of being gone off the air after the first broadcast duration by common features code.Or, the terminal calculates the residual time length sum that the discovery responds the condition code that the existence duration included and the terminal are being broadcasted, it is used as the first broadcast duration of common features code, then the terminal continues to broadcast common features code, common features code of being gone off the air after the first broadcast duration by common features code.
Referring to Fig. 6, the terminal starts to broadcast code1 at the t0 moment, and preparation is gone off the air at the t2 moment.If the terminal t1 receptions to this adjacent to business function entity discovery respond, the discovery response include this share identify, this distributed to adjacent to business function entity the terminal code2 and the code2 existence duration △ t, now code1 residual time length is t2-t1, the terminal shares mark according to this and determines that code2 is identical with code1, then continue to broadcast code1, and determine a length of t2-t1+ △ t during code1 broadcast, it that is to say and just gone off the air code1 in moment t3.
If terminal broadcast feature code just on the first Radio Resource in correlation technique, this is determined after business function entity distributes to the condition code of the terminal in the terminal, no matter whether the condition code that terminal is being broadcasted is identical adjacent to the condition code that business function entity distributes to the terminal with this, and another Radio Resource that the terminal still can distribute to the terminal based on base station broadcasts the condition code that the terminal is distributed to adjacent to business function entity.And in the embodiment of the present invention, in the case where the common features code-phase that the common features code for distributing to the terminal adjacent to business function entity is being broadcasted with the terminal is same, the terminal is only to extend broadcast common features code Time span, and be not based on another Radio Resource and re-broadcast common features code, it is to avoid the waste of Radio Resource.
The embodiment of the present invention is only with situation 1:Discovery response include this share mark and the terminal currently broadcasting common features code exemplified by illustrate, and in actual applications, can also be including at least one of following two situations:
Situation 2:The terminal is not broadcasting the common features code when receiving discovery response;
Situation 3:Discovery response does not include this and shares mark.
For above-mentioned two situations 2 and 3, this method can also comprise the following steps at least one of:
(1) if not broadcasting the common features code when terminal receives discovery response, then no matter whether discovery response, which includes this, shares mark, the terminal is responded all in accordance with the discovery, is obtained the common features code that the terminal is distributed to adjacent to business function entity, is broadcasted common features code.
If the terminal is not broadcasting the common features code when receiving discovery response, the terminal obtains the condition code that this distributes to the terminal adjacent to business function entity, is used as common features code.Specifically, if the discovery response bag shares mark containing this and this distributes to the condition code of the terminal adjacent to business function entity, the condition code that the terminal is distributed to adjacent to business function entity will be obtained from discovery response, it is used as common features code, if and the discovery response bag shares mark containing this, but the condition code of the terminal is distributed to adjacent to business function entity not comprising this, can then determine this distribute to the condition code of the terminal adjacent to business function entity and the terminal to receive the common features code-phase broadcasted for the last time before discovery response same, the terminal can be recorded according to the historical broadcasts of the terminal, obtain the terminal and receive the condition code broadcasted for the last time before discovery response as common features code.
The terminal, which is got, broadcasts common features code after common features code, specifically, and radio resource allocation can be given the terminal by the terminal to base station requests Radio Resource, base station, and the terminal distributes to the Radio Resource of the terminal based on base station, broadcast common features code.Or, the base station is pre-assigned to the terminal wireless resource pond, the Radio Resource pond includes distributing to multiple Radio Resources of the terminal, if not broadcasting the common features code when then the terminal receives discovery response, Radio Resource can be chosen from the Radio Resource pond, the Radio Resource based on selection broadcasts common features code.
Wherein, the Radio Resource that the terminal is distributed in the base station is the interface-free resources of the base station, and the interface-free resources that the terminal can be distributed based on the base station are eating dishes without rice or wine to broadcast common features code, other-end can eat dishes without rice or wine to monitor common features code.
When discovery response also includes the existence duration of common features code that this distributes to the terminal adjacent to business function entity, the terminal is based on Radio Resource, and common features code is broadcasted in the existence duration, is passing through The common features of being gone off the air after existence duration code.That is to say, the terminal can according to current time and the existence duration, determine the common features code go off the air the moment, when reach the determination go off the air the moment when, the common features of going off the air code.
(2) if discovery response, which does not include this, shares mark, no matter whether the terminal is current just in broadcast feature code, and the terminal is to broadcast the condition code that the terminal is distributed to adjacent to business function entity.
Discovery response does not include this and shares mark, and the condition code of the terminal is distributed to adjacent to business function entity including this, then the terminal can determine this feature code with this adjacent to business function entity for the last time distribute and be sent to the terminal condition code it is different, now, no matter the terminal, whether in broadcast feature code, will broadcast the condition code that discovery response includes.
When discovery response also includes the existence duration of this feature code, the terminal distributes to the Radio Resource of the terminal based on base station, and this feature code is broadcasted in the existence duration, in this feature code of being gone off the air after the existence duration.That is to say, the terminal can according to current time and the existence duration, determine this feature code go off the air the moment, when reach the determination go off the air the moment when, this feature of going off the air code.
Wherein it should be noted that, in the case that in discovery response, including the shared mark, the terminal broadcasts fisrt feature code just on the first Radio Resource, the terminal may proceed to broadcast fisrt feature code on first Radio Resource, and the second Radio Resource of the terminal is distributed to based on the base station, broadcast second feature code that discovery response includes, that this distributes to the terminal adjacent to business function entity.It that is to say that the terminal can concurrently broadcast the two condition codes, at the time of respectively according to the existence duration of each condition code with broadcast is started, it is determined that each condition code is gone off the air the moment, when reach the fisrt feature code go off the air the moment when, the terminal go off the air the fisrt feature code, when reach second feature code go off the air the moment when, the terminal is gone off the air second feature code, and the broadcasting process of two condition codes is independent of each other.
When judging any situation that the terminal belongs in above-mentioned situation 1-3, the terminal can first judge whether discovery response includes this and share mark, if discovery response, which includes this, shares mark, judge that whether the terminal is received when the discovery is responded just in broadcast feature code again, it can also first judge that whether the terminal is received when the discovery is responded just in broadcast feature code, if the terminal is received when the discovery is responded just in broadcast feature code, judge whether discovery response includes this and share mark again, the embodiment of the present invention is not limited this.
In actual application, neighbouring service protocol layer is increased newly in order to support wireless near field communication business, in the terminal, when the terminal obtains the condition code for distributing to the terminal from this adjacent to business function entity, message will be found in neighbouring service protocol layer construction, the discovery message includes this feature code.It was found that after the completion of message constructing, neighbouring service protocol layer is by the incoming Access Layer of discovery message, and Access Layer is the Radio Resource that the message obtains base station, so as to the condition code in eating dishes without rice or wine to broadcast the discovery message, grown to when the existence of this feature code When the residual time length of phase, i.e. this feature code is 0, neighbouring service protocol layer indicates this feature code of going off the air to Access Layer, then Access Layer no longer broadcasts this feature code.
In subsequent process, other-end can obtain the terminal iidentification of the terminal, sent to this adjacent to business function entity and monitor request, request is monitored the terminal iidentification, then the corresponding condition code of the terminal iidentification is sent the other-end by this adjacent to business function entity, the other-end is eating dishes without rice or wine to monitor this feature code, when listening to the condition code of the terminal broadcast, this feature code is sent to this adjacent to business function entity, by this corresponding terminal iidentification of this feature code is returned to adjacent to business function entity, now the other-end can use the short distance wireless communication technology, communicated with the terminal.
Method provided in an embodiment of the present invention, when finding request by receiving the first of terminal, according to the corresponding relation between the terminal iidentification and terminal iidentification and condition code, obtain the corresponding condition code of the terminal iidentification, the corresponding condition code of the terminal iidentification is distributed into the terminal, sent to the terminal and find response, discovery response includes sharing mark, this share mark indicate the terminal using this adjacent to business function entity last time distribute and be sent to the terminal common features code broadcasted, mark is shared by this to point out the terminal, so that the terminal know this adjacent to business function entity distribute to the condition code of the terminal distributed with this adjacent to business function entity last time and be sent to the terminal common features code-phase it is same, continue to broadcast common features code when currently broadcasting common features code without broadcasting the condition code that the terminal is distributed to adjacent to business function entity again, avoid the repeated broadcast of condition code.Further, the Radio Resource without distributing to the terminal based on base station again broadcasts the condition code that this distributes to the terminal adjacent to business function entity, saves Radio Resource, it is to avoid the waste of Radio Resource.
In above-described embodiment, this will be allocated to the terminal adjacent to business function entity with the condition code identical condition code for distributing and being sent to the terminal before receiving the first discovery request for the last time, and carry shared mark in the discovery response returned to the terminal, when the terminal determines that discovery response includes the shared mark, you can know that this distributes to the condition code of the terminal adjacent to business function entity identical with the condition code for distributing and being sent to the terminal before this receives the first discovery request adjacent to business function entity for the last time.
In addition, except by this adjacent to business function entity by it is shared mark carry find response in mode in addition to, it can also judge that this distributes adjacent to business function entity last time with this adjacent to the condition code that business function entity distributes to the terminal and is sent to whether identical, the detailed process embodiment as described below of common features code of the terminal by the terminal.
Fig. 7 is the flow chart of another condition code processing method provided in an embodiment of the present invention, referring to Fig. 7, and the executive agent of the embodiment of the present invention is terminal, and this method includes:
701st, terminal sends to neighbouring business function entity and finds request, and discovery request includes the terminal iidentification of the terminal.
Wherein, the discovery asks to be used to ask this adjacent to business function entity assigned characteristics code.
702nd, the terminal receives the discovery response that this asks to send adjacent to business function entity according to the discovery, and discovery response includes this adjacent to fisrt feature code of the business function entity for the terminal distribution.
If the 703, the terminal is broadcasting second feature code, it is determined that whether fisrt feature code is identical with the second feature code that the terminal is being broadcasted, if it is, step 704 is performed, if not, performing step 705.
704th, the terminal continues to broadcast second feature code, terminates.
705th, terminal broadcast fisrt feature code, and continue to broadcast second feature code, terminate.
In method provided in an embodiment of the present invention, terminal sends to neighbouring business function entity and finds request, the discovery sent is asked to respond according to the discovery if the terminal receives neighbouring business function entity, discovery response includes the fisrt feature code that this distributes to the terminal adjacent to business function entity, and the terminal is broadcasting second feature code, then first judge whether the current second feature code broadcasted is identical adjacent to the fisrt feature code that business function entity distributes to the terminal with this, if fisrt feature code is same with second feature code-phase, then the terminal continues to broadcast second feature code without broadcasting fisrt feature code again, avoid the repeated broadcast of condition code, avoid the waste of Radio Resource.
Alternatively, this method also includes:
If the non-broadcast feature code of the terminal, broadcasts fisrt feature code.
Alternatively, discovery response also includes the existence duration of fisrt feature code, and the existence duration is used for the time span for indicating to broadcast fisrt feature code;
This method also includes:
If fisrt feature code is same with the second feature code-phase, the residual time length for the second feature code that the existence duration included and the terminal are being broadcasted then is responded according to the discovery, determine the broadcast duration of second feature code, and after the broadcast duration by the second feature yard, the second feature of going off the air code;
If fisrt feature code is different from second feature code, fisrt feature code is broadcasted in the existence duration, in fisrt feature code of being gone off the air after the existence duration.
Alternatively, terminal broadcast fisrt feature code includes:
The terminal broadcasts fisrt feature code to base station requests Radio Resource based on the Radio Resource asked, or,
Radio Resource is chosen in the Radio Resource pond that the terminal is pre-assigned to the terminal from the base station, the Radio Resource based on selection broadcasts fisrt feature code.
Above-mentioned all optional technical schemes, can form the alternative embodiment of the present invention, this is no longer going to repeat them using any combination.
Fig. 8 is the flow chart of another condition code processing method provided in an embodiment of the present invention, referring to Fig. 8, and the interaction agent of the embodiment of the present invention is terminal and neighbouring business function entity, and this method includes:
801st, the terminal sends to neighbouring business function entity and finds request, and discovery request is included using user's mark and terminal iidentification.
Step 801 is similar with step 501, will not be repeated here.
802nd, this adjacent to business function entity receive the discovery request when, for terminal distribution fisrt feature code.
The discovery asks to be used to ask this to be the terminal distribution condition code adjacent to business function entity, this adjacent to business function entity receive the discovery request when, according to the corresponding relation between the terminal iidentification and terminal iidentification and condition code, the corresponding condition code of the terminal iidentification is obtained, by this feature code division dispensing terminal.Can also be the different condition code of the condition code corresponding from the terminal iidentification of the terminal distribution one.This is similar with step 502 for the detailed process of the terminal distribution condition code adjacent to business function entity, will not be repeated here.
803rd, this sends to the terminal adjacent to business function entity and finds response, and discovery response includes the fisrt feature code that this distributes to the terminal adjacent to business function entity.Certainly, discovery response can also include the existence duration adjacent to the fisrt feature code of business function entity setting up, will not be repeated here.
804th, when the terminal receives discovery response, it is determined whether just in broadcast feature code, perform step 805 or 808.
If broadcasting second feature code when the 805, the terminal receives discovery response, it is determined that whether the second feature code broadcasted is identical adjacent to the fisrt feature code that business function entity distributes to the terminal with this, step 806 or 807 is performed.
In embodiments of the present invention, when the terminal receives discovery response, it can first determine the terminal whether just in broadcast feature code, if the terminal is broadcasting second feature code, the terminal will first determine whether second feature code is identical adjacent to the fisrt feature code that business function entity distributes to the terminal with this.Specifically, fisrt feature code and second feature code include multiple bits, then terminal successive appraximation fisrt feature code and each bit of the second feature yard, when the terminal determines the value on each bit in fisrt feature code and the value all same in second feature code on corresponding bit, it is determined that fisrt feature code is same with the second feature code-phase.When the terminal determines that the value in fisrt feature code at least one bit is different from the value in second feature code on corresponding bit position, it is determined that fisrt feature code and the second feature Code is different.
The difference of the embodiment of the present invention and the embodiment shown in Fig. 5 is, do not include sharing mark in the discovery sent to the terminal adjacent to business function entity response, then for the terminal, when the terminal receives discovery response, can not be responded according to the discovery whether include this share mark determine this adjacent to business function entity distribute to the condition code of the terminal received with this adjacent to business function entity distributed to for the last time before the discovery is asked the terminal condition code (condition code that i.e. terminal is being broadcasted) it is whether identical, therefore, the terminal can first determine whether the condition code broadcasted is identical adjacent to the condition code that business function entity distributes to the terminal with this.
If the 806, fisrt feature code and the second feature code-phase are same, the terminal continues to broadcast second feature code, terminates.
If fisrt feature code and the second feature code-phase are same, in order to avoid the repeated broadcast of condition code, the terminal continues to broadcast second feature code, and no longer broadcasts fisrt feature code.
If also including the existence duration of fisrt feature code in discovery response, then the terminal continues to broadcast second feature code, and according to the residual time length of the existence duration and second feature code, determine the broadcast duration of second feature code, after the broadcast duration by the second feature yard, the second feature of going off the air code.Wherein, the residual time length represents the remaining time span of second feature code.
Specifically, the terminal determines larger duration among the residual time length of the second feature code that discovery existence duration for including of response and the terminal are being broadcasted, it is used as the broadcast duration of second feature code, then the terminal continues to broadcast second feature code, in second feature code of being gone off the air after the broadcast duration.Or, the terminal calculates the residual time length sum of the existence duration and second feature code that discovery response includes, as the broadcast duration of second feature code, then second feature code is broadcasted in terminal continuation, in second feature code of being gone off the air after the broadcast duration.
If the 807, fisrt feature code is different from second feature code, terminal broadcast fisrt feature code, and continue to broadcast second feature code, terminate.
If fisrt feature code is different from second feature code, the terminal will not only continue to broadcast second feature code, and broadcast fisrt feature code.
Specifically, the terminal broadcasts fisrt feature code to base station requests Radio Resource based on the Radio Resource asked, or, Radio Resource is chosen in the Radio Resource pond that the terminal is pre-assigned to the terminal from the base station, the Radio Resource based on selection broadcasts fisrt feature code.
If also including the existence duration of fisrt feature code in discovery response, the terminal broadcasts fisrt feature code in the existence duration, in fisrt feature code of being gone off the air after the existence duration.It that is to say, The terminal determines going off the air the moment for fisrt feature code according to current time and the existence duration, when reach the determination go off the air the moment when, the fisrt feature of going off the air code.
If the 808, the terminal terminal receives non-broadcast feature code during discovery response, terminal broadcast fisrt feature code terminates.
Specifically, the terminal broadcasts fisrt feature code to base station requests Radio Resource based on the Radio Resource asked, or, Radio Resource is chosen in the Radio Resource pond that the terminal is pre-assigned to the terminal from the base station, the Radio Resource based on selection broadcasts fisrt feature code.
If also including the existence duration of fisrt feature code in discovery response, the terminal broadcasts fisrt feature code in the existence duration, in fisrt feature code of being gone off the air after the existence duration.That is to say, the terminal determines going off the air the moment for fisrt feature code according to current time and the existence duration, when reach the determination go off the air the moment when, the fisrt feature of going off the air code.
In method provided in an embodiment of the present invention, the terminal sends to neighbouring business function entity and finds request, it is the terminal distribution condition code adjacent to business function entity to ask this, if the terminal is broadcasting second feature code when receiving this adjacent to the discovery response that business function entity is returned, whether second feature code and the discovery for then first determining to broadcast respond this that include identical adjacent to the fisrt feature yard that business function entity distributes to the terminal, if fisrt feature code is same with second feature code-phase, the terminal continues to broadcast second feature code without broadcasting fisrt feature code again, avoid the repeated broadcast of condition code, and the Radio Resource without distributing to the terminal based on base station again broadcasts fisrt feature code, save Radio Resource, avoid the waste of Radio Resource.
Fig. 9 is a kind of structural representation of condition code processing unit provided in an embodiment of the present invention, and referring to Fig. 9, the device includes:
First request receiving module 901, request is found for receiving terminal is sent first, and the first discovery request includes the terminal iidentification of the terminal;
Sending module 902, for being asked according to first discovery, sends to the terminal and finds to respond, the discovery, which is responded, to be included sharing mark, and shared identify is used to indicate that at least two applications of the terminal to use a common features yard.
Device provided in an embodiment of the present invention, first sent according to the terminal received finds request, sent to terminal and find response, discovery response includes sharing mark, this, which shares mark, can indicate that at least two applications of the terminal use a common features code, shared by this and identify the terminal and know that to distribute to the condition code of the terminal identical with the condition code for distributing to the terminal other application, so that the terminal is wide currently It may proceed to broadcast the common features code when broadcasting common features code, it is to avoid there is same terminal in the prior art while the problem of broadcasting same condition code on different Radio Resources, and then avoid the waste of Radio Resource.
Alternatively, the discovery response also include it is following at least one:The existence duration of common features code and common features code;
Wherein, the existence duration is used for the time span for representing terminal broadcast common features code.
Alternatively, this shares mark by the designated bit position in common features code to represent, or is represented by the extended bit position of common features code.
Alternatively, the device also includes:
Distribute module, for first finding to ask according to this, by the common features code division dispensing terminal.
Alternatively, the distribute module includes:
First allocation unit, for according to the corresponding relation between the terminal iidentification and terminal iidentification and condition code, obtaining common features code, and by the common features code division dispensing terminal;Or,
Second allocation unit, for according to the terminal iidentification, obtain the application corresponding relation of the terminal, wherein, this identifies the corresponding relation between common features code using at least one of corresponding relation including the terminal using user, first the corresponding common features yard of the application user mark that includes of request are found with this if being resulted in this applies corresponding relation, by the common features code division dispensing terminal;Or, if not obtaining the corresponding condition code of application user mark included with the first discovery request in this applies corresponding relation, this is then identified into corresponding condition code using any application user in corresponding relation and distributes to the terminal, and the corresponding relation between the application user mark and the condition code got that the first discovery request is included is saved in this and applied in corresponding relation.
Alternatively, the device also includes:
State determining module, for the existence duration according to the common features code for distributing to the terminal for the last time before the first discovery request is received and the distribution time of the common features yard, determines the state of common features code;
Condition code processing module, if the state for common features code is failure, common features code is carried in discovery response.
Alternatively, the device also includes:
Second request receiving module, second for receiving terminal transmission finds request, and the second discovery request includes the terminal iidentification of the terminal;
The distribute module, for second finding to ask according to this, for terminal distribution common features code, and is sent to the terminal.
Above-mentioned all optional technical schemes, can form the alternative embodiment of the present invention, this is no longer going to repeat them using any combination.
Figure 10 is a kind of structural representation of condition code processing unit provided in an embodiment of the present invention, and referring to Figure 10, the device includes:
Request sending module 1001, finds to ask for sending first to neighbouring business function entity, and the first discovery request includes the terminal iidentification of the device;
Receiving module 1002, for receiving the discovery response for asking to send according to first discovery adjacent to business function entity, the discovery response bag is containing shared mark, and this, which shares to identify, is used for indicate the device at least two using using a common features code;
First broadcast module 1003, if for just broadcasting common features code on the first Radio Resource, and the discovery response bag shares mark containing this, then continues to broadcast common features code on first Radio Resource.
Device provided in an embodiment of the present invention, find to ask by sending first to neighbouring business function entity, the discovery response that neighbouring business function entity is returned includes sharing mark, this, which shares mark, can indicate that at least two applications of the device use a common features code, if the device just broadcasts common features code on the first Radio Resource, and the device determines that the discovery response bag shares mark containing this, then continue to broadcast common features code on first Radio Resource, without broadcasting the condition code that the device is distributed to adjacent to business function entity again on other Radio Resources, avoid the repeated broadcast of condition code and the waste of Radio Resource.
Alternatively, the discovery response also include it is following at least one:The existence duration of common features code and common features code, wherein, the existence duration is used for the time span for representing devices broadcasting common features code.
Alternatively, this shares mark by the designated bit position in common features code to represent, or is represented by the extended bit position of common features code.
Alternatively, discovery response includes the existence duration, and first broadcast module 1003 is used for the residual time length that the condition code that the existence duration included and the device are being broadcasted is responded according to the discovery, determines the first broadcast duration of common features code;After the first broadcast duration by common features code, the common features of going off the air code.
Alternatively, discovery response does not include common features code, and the device also includes:
Acquisition module, the condition code of the device is distributed and is sent to for obtaining before discovery response is received this adjacent to business function entity last time;It regard the condition code of the acquisition as common features code.
Alternatively, the acquisition module is additionally operable to be recorded according to historical broadcasts, obtains and receives the condition code broadcasted for the last time before discovery response as common features code.
Alternatively, the device also includes:
Second broadcast module, if for not broadcasting common features code, common features code is broadcasted on the second Radio Resource.
Alternatively, second broadcast module is used for base station requests second Radio Resource, common features code is broadcasted based on second Radio Resource asked, or, second Radio Resource is chosen in the Radio Resource pond for being pre-assigned to the device from the base station, common features code is broadcasted based on second Radio Resource.
Above-mentioned all optional technical schemes, can form the alternative embodiment of the present invention, this is no longer going to repeat them using any combination.
Figure 11 is the structural representation of another condition code processing unit provided in an embodiment of the present invention, and referring to Figure 11, the device includes:
Request sending module 1101, finds request, discovery request includes the terminal iidentification of the device for being sent to neighbouring business function entity;
Receiving module 1102, for receiving the discovery response for asking to send according to the discovery adjacent to business function entity, discovery response includes the fisrt feature code that this is distributed adjacent to business function entity for the device;
Determining module 1103, if broadcasting second feature code for the device, it is determined that whether fisrt feature code is identical with the second feature code that the device is being broadcasted;
First broadcast module 1104, if same for fisrt feature code and the second feature code-phase, continues to broadcast second feature code;
Second broadcast module 1105, if different from second feature code for fisrt feature code, broadcasts fisrt feature code, and continues to broadcast second feature code.
Device provided in an embodiment of the present invention, request is found by being sent to neighbouring business function entity, the discovery sent is asked to respond according to the discovery if receiving neighbouring business function entity, discovery response includes the fisrt feature code that this distributes to the device adjacent to business function entity, and the device is broadcasting second feature code, then first judge whether the current second feature code broadcasted is identical adjacent to the fisrt feature code that business function entity distributes to the device with this, if fisrt feature code is same with second feature code-phase, then continue to broadcast second feature code without broadcasting fisrt feature code again, avoid the repeated broadcast of condition code.
Alternatively, the device also includes:
3rd broadcast module, if for the non-broadcast feature code of the device, broadcasting fisrt feature code.
Alternatively, discovery response also includes the existence duration of fisrt feature code, and the existence duration is used for the time span for indicating to broadcast fisrt feature code;
First broadcast module 1104, if same with the second feature code-phase for fisrt feature code, the residual time length of the existence duration included and second feature code is then responded according to the discovery, determine the broadcast duration of second feature code, and after the broadcast duration by the second feature yard, the second feature of going off the air code;
Second broadcast module 1105, if different from second feature code for fisrt feature code, broadcasts fisrt feature code, in fisrt feature code of being gone off the air after the existence duration in the existence duration.
Alternatively, second broadcast module 1105, is additionally operable to base station requests Radio Resource, fisrt feature code is broadcasted based on the Radio Resource asked, or, Radio Resource is chosen in the Radio Resource pond for being pre-assigned to the device from the base station, the Radio Resource based on selection broadcasts fisrt feature code;
3rd broadcast module, it is additionally operable to base station requests Radio Resource, fisrt feature code is broadcasted based on the Radio Resource asked, or, Radio Resource is chosen in the Radio Resource pond for being pre-assigned to the device from the base station, the Radio Resource based on selection broadcasts fisrt feature code.
Above-mentioned all optional technical schemes, can form the alternative embodiment of the present invention, this is no longer going to repeat them using any combination.
Figure 12 is a kind of structural representation of neighbouring business function entity provided in an embodiment of the present invention, and referring to Figure 12, this includes adjacent to business function entity:This includes adjacent to business function entity:Network interface 1201, memory 1202 and processor 1203, the network interface 1201 and the memory 1202 are connected with the processor 1203 respectively, and the memory 1202 has program stored therein code, and the processor 1203 is used to call the program code, perform following operate:
The first discovery request that receiving terminal is sent, the first discovery request includes the terminal iidentification of the terminal;
According to the first discovery request, sent to the terminal and find to respond, the discovery, which is responded, to be included sharing mark, shared identify is used to indicate that at least two applications of the terminal to use a common features yard.
Alternatively, the discovery response also include it is following at least one:The existence duration of common features code and common features code;
Wherein, the existence duration is used for the time span for representing terminal broadcast common features code.
Alternatively, this shares mark by the designated bit position in common features code to represent, or is represented by the extended bit position of common features code.
Alternatively, the processor 1203 is additionally operable to call the program code, performs following operate:
Request first is found according to this, by the common features code division dispensing terminal.
Alternatively, the processor 1203 is additionally operable to call the program code, performs following operate:
According to the corresponding relation between the terminal iidentification and terminal iidentification and condition code, the common features are obtained Code, and by the common features code division dispensing terminal;Or,
According to the terminal iidentification, obtain the application corresponding relation of the terminal, wherein, this identifies the corresponding relation between common features code using at least one of corresponding relation including the terminal using user, first the corresponding common features yard of the application user mark that includes of request are found with this if being resulted in this applies corresponding relation, by the common features code division dispensing terminal;Or, if not obtaining the corresponding condition code of application user mark included with the first discovery request in this applies corresponding relation, this is then identified into corresponding condition code using any application user in corresponding relation and distributes to the terminal, and the corresponding relation between the application user mark and the condition code got that the first discovery request is included is saved in this and applied in corresponding relation.
Alternatively, the processor 1203 is additionally operable to call the program code, performs following operate:
According to the existence duration for the common features code for distributing to the terminal for the last time before the first discovery request is received and the distribution time of the common features yard, the state of common features code is determined;
If the state of common features code is failure, common features code is carried in discovery response.
Alternatively, the processor 1203 is additionally operable to call the program code, performs following operate:
Receive terminal transmission second finds request, and the second discovery request includes the terminal iidentification of the terminal;
Request second is found according to this, for terminal distribution common features code, and the terminal is sent to.
Figure 13 is a kind of structural representation of terminal provided in an embodiment of the present invention, and referring to Figure 13, the terminal includes:Receiver 1301, transmitter 1302, memory 1303 and processor 1304, the receiver 1301, the transmitter 1302 and the memory 1303 are connected with the processor 1304 respectively, the memory 1303 has program stored therein code, the processor 1304 is used to call the program code, performs following operate:
First is sent to neighbouring business function entity and finds request, and the first discovery request includes the terminal iidentification of the terminal;
The discovery response for asking to send according to first discovery adjacent to business function entity is received, the discovery response bag is containing shared mark, and this, which shares to identify, is used for indicate the terminal at least two using using a common features code;
If the terminal just broadcasts common features code on the first Radio Resource, and the discovery response bag shares mark containing this, then continues to broadcast common features code on first Radio Resource.
Alternatively, the discovery response also include it is following at least one:The existence duration of common features code and common features code, wherein, the existence duration is used for the time span for representing terminal broadcast common features code.
Alternatively, this shares mark by the designated bit position in common features code to represent, or is represented by the extended bit position of common features code.
Alternatively, the processor 1304 is additionally operable to call the program code, performs following operate:
The residual time length for the condition code that the existence duration included and the terminal are being broadcasted is responded according to the discovery, the first broadcast duration of common features code is determined;
After the first broadcast duration by common features code, the common features of going off the air code.
Alternatively, the processor 1304 is additionally operable to call the program code, performs following operate:
Obtain before discovery response is received this and distribute and be sent to the condition code of the terminal adjacent to business function entity last time;
It regard the condition code of the acquisition as common features code.
Alternatively, the processor 1304 is additionally operable to call the program code, performs following operate:
Recorded according to the historical broadcasts of the terminal, obtain and receive the condition code broadcasted for the last time before discovery response as common features code.
Alternatively, the processor 1304 is additionally operable to call the program code, performs following operate:
If the terminal is not broadcasting common features code, common features code is broadcasted on the second Radio Resource.
Alternatively, the processor 1304 is additionally operable to call the program code, performs following operate:
To base station requests second Radio Resource, common features code is broadcasted based on second Radio Resource asked, or,
Second Radio Resource is chosen in the Radio Resource pond for being pre-assigned to the terminal from the base station, common features code is broadcasted based on second Radio Resource.
Figure 14 is a kind of structural representation of system provided in an embodiment of the present invention, and referring to Figure 14, the system includes:Neighbouring functional entity 1401 and terminal 1402.
The terminal 1402 is used to find to ask adjacent to business function entity 1,401 first to this, and the first discovery request includes the terminal iidentification of the terminal 1402;
This is used to receive the first discovery request adjacent to business function entity 1401, according to the first discovery request, sent to the terminal 1402 and find response, discovery response includes sharing mark, this, which shares mark, is used to indicate that at least two applications of the terminal 1402 to use a common features code.
The terminal 1402 is additionally operable to receive the discovery response for asking to send according to first discovery adjacent to business function entity 1401, if the terminal 1402 broadcasts common features code just on the first Radio Resource, and is somebody's turn to do It was found that response bag shares mark containing this, then the terminal 1402 continues to broadcast common features code on first Radio Resource.
Alternatively, the discovery response also include it is following at least one:The existence duration of common features code and common features code;
Wherein, the existence duration is used for the time span for representing that the terminal 1402 broadcasts common features code.
Alternatively, this shares mark by the designated bit position in common features code to represent, or is represented by the extended bit position of common features code.
Alternatively, neighbouring functional entity 1401 is additionally operable to first find request according to this, by the common features code division dispensing terminal 1402.
Alternatively, neighbouring functional entity 1401 is additionally operable to be identified according to the terminal 1402 and terminal 1402 identifies corresponding relation between condition code, obtains common features code, and by the common features code division dispensing terminal 1402;Or, identified according to the terminal 1402, obtain the application corresponding relation of the terminal 1402, wherein, this identifies the corresponding relation between common features code using at least one of corresponding relation including the terminal 1402 using user, first the corresponding common features yard of the application user mark that includes of request are found with this if being resulted in this applies corresponding relation, by the common features code division dispensing terminal 1402;Or, if not obtaining the corresponding condition code of application user mark included with the first discovery request in this applies corresponding relation, this is then identified into corresponding condition code using any application user in corresponding relation and distributes to the terminal 1402, and the corresponding relation between the application user mark and the condition code got that the first discovery request is included is saved in this and applied in corresponding relation.
Alternatively, neighbouring functional entity 1401 is additionally operable to existence duration and the distribution time of the common features yard of the common features code according to the terminal 1402 is distributed to for the last time before the first discovery request is received, and determines the state of common features code;If the state of common features code is failure, common features code is carried in discovery response.
Alternatively, it is additionally operable to receive the second discovery request that the terminal 1402 is sent adjacent to functional entity 1401, the terminal 1402 that the second discovery request includes the terminal 1402 is identified;According to the second discovery request, common features code is distributed for the terminal 1402, and be sent to the terminal 1402.
Alternatively, the terminal 1402 is additionally operable to respond the residual time length for the condition code that the existence duration included and the terminal 1402 are being broadcasted according to the discovery, determines the first broadcast duration of common features code;After the first broadcast duration by common features code, the common features of going off the air code.
Alternatively, the terminal 1402 is additionally operable to obtain before discovery response is received this and is distributed for the last time adjacent to business function entity 1401 and be sent to the condition code of the terminal 1402;The condition code of the acquisition is made For common features code.
Alternatively, the terminal 1402 is additionally operable to be recorded according to the historical broadcasts of the terminal 1402, obtains and receives the condition code broadcasted for the last time before discovery response as common features code.
Alternatively, if the terminal 1402 is additionally operable to do not broadcasting common features code, common features code is broadcasted on the second Radio Resource.
Alternatively, the terminal 1402 is additionally operable to base station requests second Radio Resource, common features code is broadcasted based on second Radio Resource asked, or, second Radio Resource is chosen in the Radio Resource pond for being pre-assigned to the terminal 1402 from the base station, common features code is broadcasted based on second Radio Resource.
Figure 15 is the structural representation of another terminal provided in an embodiment of the present invention, and referring to Figure 15, the terminal includes:Receiver 1501, transmitter 1502, memory 1503 and processor 1504, the receiver 1501, the transmitter 1502 and the memory 1503 are connected with the processor 1504 respectively, the memory 1503 has program stored therein code, the processor 1504 is used to call the program code, performs following operate:
Sent to neighbouring business function entity and find request, discovery request includes the terminal iidentification of the terminal;
Receive this asks the discovery sent to respond adjacent to business function entity according to the discovery, and discovery response includes this adjacent to fisrt feature code of the business function entity for the terminal distribution;
If the terminal is broadcasting second feature code, it is determined that whether fisrt feature code is identical with the second feature code that the terminal is being broadcasted;
If fisrt feature code is same with the second feature code-phase, continue to broadcast second feature code;
If fisrt feature code is different from second feature code, fisrt feature code is broadcasted, and continues to broadcast second feature code.
Alternatively, the processor 1504 is additionally operable to call the program code, performs following operate:
If the non-broadcast feature code of the terminal, broadcasts fisrt feature code.
Alternatively, discovery response also includes the existence duration of fisrt feature code, and the existence duration is used for the time span for indicating to broadcast fisrt feature code;
The processor 1504 is additionally operable to call the program code, performs following operate:
If fisrt feature code is same with the second feature code-phase, the residual time length for the second feature code that the existence duration included and the terminal are being broadcasted then is responded according to the discovery, determine the broadcast duration of second feature code, and after the broadcast duration by the second feature yard, the second feature of going off the air code;
If fisrt feature code is different from second feature code, the fisrt feature is broadcasted in the existence duration Code, in fisrt feature code of being gone off the air after the existence duration.
Alternatively, the processor 1504 is additionally operable to call the program code, performs following operate:
To base station requests Radio Resource, fisrt feature code is broadcasted based on the Radio Resource asked, or,
Radio Resource is chosen in the Radio Resource pond for being pre-assigned to the terminal from the base station, the Radio Resource based on selection broadcasts fisrt feature code.
Figure 16 is the structural representation of another system provided in an embodiment of the present invention, and referring to Figure 16, the system includes:Neighbouring functional entity 1601 and terminal 1602.
The terminal 1602, which is used to send adjacent to business function entity 1601 to this, finds request, and the terminal 1602 that discovery request includes the terminal 1602 is identified;
This is used to be asked according to the discovery adjacent to business function entity 1601, and response is found to the terminal 1602 transmission, and discovery response includes this adjacent to the fisrt feature code that business function entity 1601 is the terminal 1602 distribution;
The terminal 1602 is additionally operable to receive discovery response, if the terminal 1602 is broadcasting second feature code, it is determined that whether fisrt feature code is identical with the second feature code that the terminal 1602 is being broadcasted;If fisrt feature code and the second feature code-phase are same, the terminal 1602 continues to broadcast second feature code;If fisrt feature code is different from second feature code, the terminal 1602 broadcasts fisrt feature code, and continues to broadcast second feature code.
Alternatively, if the terminal 1602 is additionally operable to non-broadcast feature code, fisrt feature code is broadcasted.
Alternatively, discovery response also includes the existence duration of fisrt feature code, and the existence duration is used for the time span for indicating to broadcast fisrt feature code;
Alternatively, if the terminal 1602 is additionally operable to the fisrt feature, code is same with the second feature code-phase, the residual time length for the second feature code that the existence duration included and the terminal 1602 are being broadcasted then is responded according to the discovery, determine the broadcast duration of second feature code, and after the broadcast duration by the second feature yard, the second feature of going off the air code;If fisrt feature code is different from second feature code, fisrt feature code is broadcasted in the existence duration, in fisrt feature code of being gone off the air after the existence duration.
Alternatively, the terminal 1602 is additionally operable to base station requests Radio Resource, and fisrt feature code is broadcasted based on the Radio Resource asked, or, Radio Resource is chosen in the Radio Resource pond for being pre-assigned to the terminal 1602 from the base station, the Radio Resource based on selection broadcasts fisrt feature code.
One of ordinary skill in the art will appreciate that realizing all or part of step of above-described embodiment can lead to Cross hardware to complete, the hardware of correlation can also be instructed to complete by program, described program can be stored in a kind of computer-readable recording medium, and storage medium mentioned above can be read-only storage, disk or CD etc..
Presently preferred embodiments of the present invention is the foregoing is only, is not intended to limit the invention, within the spirit and principles of the invention, any modification, equivalent substitution and improvements made etc. should be included in the scope of the protection.

Claims (43)

  1. A kind of condition code processing method, it is characterised in that methods described includes:
    The first discovery request that receiving terminal is sent, described first finds that request includes the terminal iidentification of the terminal;
    Find to ask according to described first, sent to the terminal and find response, described to find that response includes sharing mark, shared identify uses a common features code at least two applications for indicating the terminal.
  2. According to the method described in claim 1, it is characterised in that it is described find response also include it is following at least one:The existence duration of the common features code and common features code;
    Wherein, the existence duration is used to represent the time span of common features code described in the terminal broadcast.
  3. Method according to claim 2, it is characterised in that the shared mark is represented by the designated bit position in common features code, or represented by the extended bit position of common features code.
  4. Method according to claim any one of 1-3, it is characterised in that find to ask according to described first described, sent to the terminal before finding response, methods described also includes:
    Find to ask according to described first, by terminal described in the common features code division dispensing.
  5. Method according to claim 4, it is characterised in that described to find to ask according to described first, by terminal described in the common features code division dispensing, including:
    According to the corresponding relation between the terminal iidentification and terminal iidentification and condition code, the common features code is obtained, and by terminal described in the common features code division dispensing;Or,
    According to the terminal iidentification, obtain the application corresponding relation of the terminal, wherein, at least one of the application corresponding relation including the terminal identifies the corresponding relation between common features code using user, if the common features code corresponding with the application user mark that the described first discovery request includes is resulted in the application corresponding relation, by terminal described in the common features code division dispensing;Or, if not obtained in the application corresponding relation the corresponding condition code of application user mark that request includes is found with described first, any application user in the application corresponding relation is then identified into corresponding condition code and distributes to the terminal, and finds that asking the application user included to identify the corresponding relation between the condition code got is saved in the application corresponding relation by described first.
  6. According to the method described in claim 1, it is characterised in that before the transmission discovery response to the terminal, methods described also includes:
    According to the existence duration for the common features code for distributing to the terminal for the last time before the first discovery request is received and the distribution time of common features code, the state of the common features yard is determined;
    If the state of the common features yard is failure, common features code is carried in the discovery response.
  7. Method according to claim any one of 1-6, it is characterised in that before the first discovery request that the receiving terminal is sent, methods described also includes:
    The second discovery request that the terminal is sent is received, described second finds that request includes the terminal iidentification of the terminal;
    Find to ask according to described second, be common features code described in the terminal distribution, and be sent to the terminal.
  8. A kind of condition code processing method, it is characterised in that methods described includes:
    Terminal sends first to neighbouring business function entity and finds to ask, and described first finds that request includes the terminal iidentification of the terminal;
    The terminal receives the neighbouring business function entity and finds to ask the discovery sent to respond according to described first, and the discovery response bag uses a common features code containing mark, shared identify is shared at least two applications for indicating the terminal;
    If the terminal broadcasts common features code just on the first Radio Resource, and the discovery response bag contains the shared mark, then the terminal continues the broadcast common features code on first Radio Resource.
  9. Method according to claim 8, it is characterised in that discovery response also include it is following at least one:The existence duration of the common features code and common features code, wherein, the existence duration is used to represent the time span of common features code described in the terminal broadcast.
  10. Method according to claim 9, it is characterised in that the shared mark is represented by the designated bit position in common features code, or represented by the extended bit position of common features code.
  11. Method according to claim 9, it is characterised in that the discovery response includes the existence duration, described to continue to broadcast the common features code on first Radio Resource, including:
    The terminal determines the first broadcast duration of the common features code according to the residual time length for finding to respond the condition code that the existence duration included and the terminal are being broadcasted;
    The terminal is after the first broadcast duration by common features code, the common features code of going off the air.
  12. Method according to claim 8, it is characterised in that the discovery response does not include common features code, and methods described also includes:
    The terminal obtains the condition code for distributing and being sent to the terminal adjacent to business function entity last time in the reception discovery response foregoing description;
    The terminal regard the condition code of the acquisition as common features code.
  13. Method according to claim 12, it is characterised in that the terminal obtains the condition code for distributing and being sent to the terminal adjacent to business function entity last time in the reception discovery response message foregoing description, including:
    Recorded according to the historical broadcasts of the terminal, obtain the terminal and receive the condition code for finding to broadcast for the last time before response as common features code.
  14. Method according to claim any one of 8-13, it is characterised in that methods described also includes:
    If the terminal is not broadcasting the common features code, the terminal broadcasts the common features code on the second Radio Resource.
  15. Method according to claim 14, it is characterised in that the terminal broadcasts the common features code on the second Radio Resource, including:
    The terminal broadcasts the common features code to the second Radio Resource described in base station requests based on second Radio Resource asked, or,
    Second Radio Resource is chosen in the Radio Resource pond that the terminal is pre-assigned to the terminal from the base station, the common features code is broadcasted based on second Radio Resource.
  16. A kind of condition code processing method, it is characterised in that methods described includes:
    Terminal sends to neighbouring business function entity and finds request, described to find that request includes the terminal iidentification of the terminal;
    The terminal receives the neighbouring business function entity and finds to ask the discovery sent to respond according to described, described to find that response includes fisrt feature code of the neighbouring business function entity for the terminal distribution;
    If the terminal is broadcasting second feature code, it is determined that whether the fisrt feature code is identical with the second feature code that the terminal is being broadcasted;
    If the fisrt feature code and the second feature code-phase are same, the terminal continues to broadcast the second feature code;
    If the fisrt feature code is different from second feature code, fisrt feature code described in the terminal broadcast, and continues to broadcast the second feature code.
  17. Method according to claim 16, it is characterised in that methods described also includes:
    If the non-broadcast feature code of terminal, broadcasts the fisrt feature code.
  18. Method according to claim 16 or 17, it is characterised in that the discovery response also includes the existence duration of fisrt feature code, the existence duration is used for the time span for indicating the broadcast fisrt feature code;
    Methods described also includes:
    If the fisrt feature code is same with the second feature code-phase, then according to the residual time length for finding to respond the second feature code that the existence duration included and the terminal are being broadcasted, determine the broadcast duration of the second feature code, and in the second feature code of after the broadcast duration of second feature code, going off the air;
    If the fisrt feature code is different from second feature code, the fisrt feature code is broadcasted in the existence duration, in the fisrt feature code of being gone off the air after the existence duration.
  19. Method according to claim any one of 16-18, it is characterised in that fisrt feature code includes described in the terminal broadcast:
    The terminal broadcasts the fisrt feature code to base station requests Radio Resource based on the Radio Resource asked, or,
    Radio Resource is chosen in the Radio Resource pond that the terminal is pre-assigned to the terminal from the base station, Radio Resource based on selection broadcasts the fisrt feature code.
  20. A kind of condition code processing unit, it is characterised in that described device includes:
    First request receiving module, request is found for receiving terminal is sent first, and described first finds that request includes the terminal iidentification of the terminal;
    Sending module, for finding to ask according to described first, sends to the terminal and finds response, and described to find that response includes sharing mark, shared identify uses a common features code at least two applications for indicating the terminal.
  21. Device according to claim 20, it is characterised in that discovery response also include it is following at least one:The existence duration of the common features code and common features code;
    Wherein, the existence duration is used to represent the time span of common features code described in the terminal broadcast.
  22. Device according to claim 21, it is characterised in that the shared mark is represented by the designated bit position in common features code, or represented by the extended bit position of common features code.
  23. Device according to claim any one of 20-22, it is characterised in that described device also includes:
    Distribute module, for finding to ask according to described first, by terminal described in the common features code division dispensing.
  24. Device according to claim 23, it is characterised in that the distribute module includes:
    First allocation unit, for according to the corresponding relation between the terminal iidentification and terminal iidentification and condition code, obtaining the common features code, and by terminal described in the common features code division dispensing;Or,
    Second allocation unit, for according to the terminal iidentification, obtain the application corresponding relation of the terminal, wherein, at least one of the application corresponding relation including the terminal identifies the corresponding relation between common features code using user, if the common features code corresponding with the application user mark that the described first discovery request includes is resulted in the application corresponding relation, by terminal described in the common features code division dispensing;Or, if not obtained in the application corresponding relation the corresponding condition code of application user mark that request includes is found with described first, any application user in the application corresponding relation is then identified into corresponding condition code and distributes to the terminal, and the application user mark that the described first discovery request is included and institute The corresponding relation between the condition code got is stated to be saved in the application corresponding relation.
  25. Device according to claim 20, it is characterised in that described device also includes:
    State determining module, for the existence duration according to the common features code for distributing to the terminal for the last time before the first discovery request is received and the distribution time of common features code, determines the state of the common features yard;
    Condition code processing module, if the state for the common features yard is failure, common features code is carried in the discovery response.
  26. Device according to claim any one of 20-25, it is characterised in that described device also includes:
    Second request receiving module, finds request, described second finds that request includes the terminal iidentification of the terminal for receiving the terminal is sent second;
    The distribute module, is common features code described in the terminal distribution, and be sent to the terminal for finding to ask according to described second.
  27. A kind of condition code processing unit, it is characterised in that described device includes:
    Request sending module, finds to ask for sending first to neighbouring business function entity, and described first finds that request includes the terminal iidentification of described device;
    Receiving module, finds to ask the discovery sent to respond for receiving the neighbouring business function entity according to described first, and the discovery response bag uses a common features code containing mark, shared identify is shared at least two applications for indicating described device;
    First broadcast module, if for broadcasting common features code just on the first Radio Resource, and the discovery response bag contains the shared mark, then continues to broadcast the common features code on first Radio Resource.
  28. Device according to claim 27, it is characterised in that discovery response also include it is following at least one:The existence duration of the common features code and common features code, wherein, the existence duration is used for the time span for representing that described device broadcasts the common features code.
  29. Device according to claim 28, it is characterised in that the shared mark is represented by the designated bit position in common features code, or represented by the extended bit position of common features code.
  30. Device according to claim 28, it is characterized in that, it is described to find that response includes the existence duration, first broadcast module is used for according to the residual time length for finding to respond the condition code that the existence duration included and described device are being broadcasted, and determines the first broadcast duration of the common features code;After the first broadcast duration by common features code, the common features code of going off the air.
  31. Device according to claim 27, it is characterised in that the discovery response does not include common features code, and described device also includes:
    Acquisition module, distributes and is sent to the condition code of described device adjacent to business function entity last time in the reception discovery response foregoing description for obtaining;It regard the condition code of the acquisition as common features code.
  32. Device according to claim 31, it is characterised in that the acquisition module is additionally operable to be recorded according to historical broadcasts, obtains and receives the condition code for finding to broadcast for the last time before response as common features code.
  33. Device according to claim any one of 27-32, it is characterised in that described device also includes:
    Second broadcast module, if for not broadcasting the common features code, the common features code is broadcasted on the second Radio Resource.
  34. Device according to claim 33, it is characterized in that, second broadcast module is used for the second Radio Resource described in base station requests, the common features code is broadcasted based on second Radio Resource asked, or, second Radio Resource is chosen in the Radio Resource pond for being pre-assigned to described device from the base station, the common features code is broadcasted based on second Radio Resource.
  35. A kind of condition code processing unit, it is characterised in that described device includes:
    Request sending module, request is found for being sent to neighbouring business function entity, described to find that request includes the terminal iidentification of described device;
    Receiving module, it is described to find that response includes the fisrt feature code that the neighbouring business function entity is described device distribution for receiving the neighbouring business function entity according to the discovery response for finding to ask to send;
    Determining module, if broadcasting second feature code for described device, it is determined that the fisrt feature code Whether the second feature code broadcasted with described device is identical;
    First broadcast module, if same for fisrt feature code and the second feature code-phase, continues to broadcast the second feature code;
    Second broadcast module, if different from second feature code for fisrt feature code, broadcasts the fisrt feature code, and continues to broadcast the second feature code.
  36. Device according to claim 35, it is characterised in that described device also includes:
    3rd broadcast module, if for the non-broadcast feature code of described device, broadcasting the fisrt feature code.
  37. Device according to claim 35 or 36, it is characterised in that the discovery response also includes the existence duration of fisrt feature code, the existence duration is used for the time span for indicating the broadcast fisrt feature code;
    First broadcast module, if same with the second feature code-phase for fisrt feature code, then according to the residual time length for finding to respond the existence duration included and second feature code, determine the broadcast duration of the second feature code, and in the second feature code of after the broadcast duration of second feature code, going off the air;
    Second broadcast module, if different from second feature code for fisrt feature code, broadcasts the fisrt feature code, in the fisrt feature code of being gone off the air after the existence duration in the existence duration.
  38. Device according to claim any one of 35-37, it is characterized in that, second broadcast module, it is additionally operable to base station requests Radio Resource, the fisrt feature code is broadcasted based on the Radio Resource asked, or, Radio Resource is chosen in the Radio Resource pond for being pre-assigned to described device from the base station, the Radio Resource based on selection broadcasts the fisrt feature code;
    3rd broadcast module, it is additionally operable to base station requests Radio Resource, the fisrt feature code is broadcasted based on the Radio Resource asked, or, Radio Resource is chosen in the Radio Resource pond for being pre-assigned to described device from the base station, the Radio Resource based on selection broadcasts the fisrt feature code.
  39. A kind of neighbouring business function entity, it is characterised in that the neighbouring business function entity includes:Network interface, memory and processor, the network interface and the memory are connected with the processor respectively, and the memory storage has a program code, and the processor is used to call described program code, perform with Lower operation:
    The first discovery request that receiving terminal is sent, described first finds that request includes the terminal iidentification of the terminal;
    Find to ask according to described first, sent to the terminal and find response, described to find that response includes sharing mark, shared identify uses a common features code at least two applications for indicating the terminal.
  40. A kind of terminal, it is characterised in that the terminal includes:Receiver, transmitter, memory and processor, the receiver, the transmitter and the memory are connected with the processor respectively, and the memory storage has program code, and the processor is used to call described program code, performs following operate:
    First is sent to neighbouring business function entity and finds request, and described first finds that request includes the terminal iidentification of the terminal;
    Receive the neighbouring business function entity to find to ask the discovery sent to respond according to described first, the discovery response bag uses a common features code containing mark, shared identify is shared at least two applications for indicating the terminal;
    If common features code is broadcasted just on the first Radio Resource, and the discovery response bag contains the shared mark, then continues to broadcast the common features code on first Radio Resource.
  41. A kind of system, it is characterised in that the system includes:Neighbouring business function entity and terminal;
    The terminal is used to find to ask to the neighbouring business function entity first, and described first finds that request includes the terminal iidentification of the terminal;
    The neighbouring business function entity is used to receive the first discovery request, find to ask according to described first, sent to the terminal and find response, described to find that response includes sharing mark, shared identify uses a common features code at least two applications for indicating the terminal.
    The terminal is additionally operable to the reception neighbouring business function entity and finds to ask the discovery response of transmission according to described first, if the terminal broadcasts common features code just on the first Radio Resource, and the discovery response bag contains the shared mark, then the terminal continues the broadcast common features code on first Radio Resource.
  42. A kind of terminal, it is characterised in that the terminal includes:Receiver, transmitter, memory and processor, the receiver, the transmitter and the memory are connected with the processor respectively, and the memory storage has program code, and the processor is used to call described program code, performs following operate:
    Terminal sends to neighbouring business function entity and finds request, described to find that request includes the terminal iidentification of the terminal;
    The terminal receives the neighbouring business function entity and finds to ask the discovery sent to respond according to described, described to find that response includes fisrt feature code of the neighbouring business function entity for the terminal distribution;
    If the terminal is broadcasting second feature code, it is determined that whether the fisrt feature code is identical with the second feature code that the terminal is being broadcasted;
    If the fisrt feature code and the second feature code-phase are same, the terminal continues to broadcast the second feature code;
    If the fisrt feature code is different from second feature code, fisrt feature code described in the terminal broadcast, and continues to broadcast the second feature code.
  43. A kind of system, it is characterised in that the system includes:Neighbouring business function entity and terminal;
    The terminal, which is used to send to the neighbouring business function entity, finds request, described to find that request includes the terminal iidentification of the terminal;
    The neighbouring business function entity is used to find to ask according to described, is sent to the terminal and finds response, described to find that response includes fisrt feature code of the neighbouring business function entity for the terminal distribution;
    The terminal is additionally operable to receive the discovery response, if the terminal is broadcasting second feature code, it is determined that whether the fisrt feature code is identical with the second feature code that the terminal is being broadcasted;If the fisrt feature code and the second feature code-phase are same, the terminal continues to broadcast the second feature code;If the fisrt feature code is different from second feature code, fisrt feature code described in the terminal broadcast, and continues to broadcast the second feature code.
CN201580042690.XA 2015-03-17 2015-03-17 Feature code processing method, device and system Pending CN106576213A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/074372 WO2016145610A1 (en) 2015-03-17 2015-03-17 Feature code processing method, device and system

Publications (1)

Publication Number Publication Date
CN106576213A true CN106576213A (en) 2017-04-19

Family

ID=56920226

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201580042690.XA Pending CN106576213A (en) 2015-03-17 2015-03-17 Feature code processing method, device and system

Country Status (2)

Country Link
CN (1) CN106576213A (en)
WO (1) WO2016145610A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103379469A (en) * 2012-04-13 2013-10-30 华为技术有限公司 Close quarter information registration method, query method and user equipment
WO2014107902A1 (en) * 2013-01-14 2014-07-17 华为技术有限公司 Registration method for user equipment, short-distance service server and mobility management entity
CN104066070A (en) * 2013-03-20 2014-09-24 中兴通讯股份有限公司 Terminal registration method, terminal finding method, terminal and devices
US20140344578A1 (en) * 2013-05-16 2014-11-20 Samsung Electronics Co., Ltd. Method and apparatus for performing discovery for device-to-device communication

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103379469A (en) * 2012-04-13 2013-10-30 华为技术有限公司 Close quarter information registration method, query method and user equipment
WO2014107902A1 (en) * 2013-01-14 2014-07-17 华为技术有限公司 Registration method for user equipment, short-distance service server and mobility management entity
CN104066070A (en) * 2013-03-20 2014-09-24 中兴通讯股份有限公司 Terminal registration method, terminal finding method, terminal and devices
US20140344578A1 (en) * 2013-05-16 2014-11-20 Samsung Electronics Co., Ltd. Method and apparatus for performing discovery for device-to-device communication

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HUAWEI 等: "《3GPP TSG-CT WG1 Meeting #90bis C1-150333》", 6 February 2015 *

Also Published As

Publication number Publication date
WO2016145610A1 (en) 2016-09-22

Similar Documents

Publication Publication Date Title
EP3509336B1 (en) Finding an appropriate session management network function in a home plmn through a network function repository function
US7929503B2 (en) Wireless terminal, management apparatus and wireless LAN control method
US9204390B2 (en) Energy-saving mobile node control method using wireless multi-interfaces
US11265210B2 (en) Network slice configuration method, apparatus, and system
US11071092B2 (en) Response message transmission method and apparatus
CA2449927C (en) Method of providing packet data service in a wireless telecommunication system
CN102215052B (en) Bluetooth radio and the management for integrating with communication network are applied
CN114902634A (en) Apparatus and method for providing information of application server in mobile communication system
US8644820B2 (en) Apparatus and method for acquiring service information in wireless network
CN105828453A (en) Data transmission method and data transmission device for relay communication
CN111263338A (en) Network distribution method of Bluetooth Mesh network and related network distribution equipment and system
US9237588B2 (en) Method for transmitting uplink data, and base station and terminal supporting the same in mobile communication system
WO2015149463A1 (en) Processing method and apparatus for d2d discovery
CN101459526A (en) Projector sharing conference system based on service discovery
CN116671181A (en) Internet of things equipment network distribution method, terminal equipment and Internet of things equipment
CN110784510A (en) Method for accessing target service node to bus and information interaction method of service node
CN114827781B (en) Network collaboration method, device, equipment and storage medium
US7684808B1 (en) Limiting channel element usage based on communication type
CN106576213A (en) Feature code processing method, device and system
CN114585026A (en) Frequency point switching method, terminal, base station and storage medium
US11272357B2 (en) Method and device for determining SIM card information
CN103701943A (en) Method and device for controlling MAC (Media Access Control) address
CN114126008B (en) Method, device and system for improving transmission performance and readable storage medium
WO2017075797A1 (en) Method and device for determining radio resource, and service server
CN105210401B (en) Transmission method, terminal and the communication equipment of ProSe information

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170419

WD01 Invention patent application deemed withdrawn after publication