[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN105103599B - A kind of receiving/transmission method and relevant device of EIC equipment identification code - Google Patents

A kind of receiving/transmission method and relevant device of EIC equipment identification code Download PDF

Info

Publication number
CN105103599B
CN105103599B CN201480000237.8A CN201480000237A CN105103599B CN 105103599 B CN105103599 B CN 105103599B CN 201480000237 A CN201480000237 A CN 201480000237A CN 105103599 B CN105103599 B CN 105103599B
Authority
CN
China
Prior art keywords
identification code
equipment
user equipment
neighboring
user
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.)
Active
Application number
CN201480000237.8A
Other languages
Chinese (zh)
Other versions
CN105103599A (en
Inventor
马洁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN105103599A publication Critical patent/CN105103599A/en
Application granted granted Critical
Publication of CN105103599B publication Critical patent/CN105103599B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0229Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a wanted signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0212Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave
    • H04W52/0216Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave using a pre-established activity schedule, e.g. traffic indication frame
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W92/00Interfaces specially adapted for wireless communication networks
    • H04W92/16Interfaces between hierarchically similar devices
    • H04W92/18Interfaces between hierarchically similar devices between terminal devices
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The invention discloses a kind of receiving/transmission method of EIC equipment identification code and relevant devices, the sending method of the equipment mark code is the following steps are included: user equipment first adjacent user's equipment of detection, the equipment mark code of first adjacent user's equipment is obtained when detecting first adjacent user's equipment;User equipment receives control information from target device, and the equipment mark code of first adjacent user's equipment is sent to target device with non-synchronized manner according to the control information.By above disclosure, the present invention can reduce the frequency of sending device identification code transmission, sufficiently saving channel resource, and save the electricity of user equipment.

Description

Method for receiving and transmitting equipment identification code and related equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method for receiving and transmitting an equipment identification code and a related device.
Background
The technology of communicating by utilizing the characteristic of two or more user equipments being in physical proximity to each other has been an important component of building future local networks.
For example, after obtaining a device identification code, the user equipment a reports the device identification code found by the user equipment a through establishing a Radio Resource Control (RRC) link, and after obtaining a user identifier corresponding to the device identification code through authentication, the server of the core network issues the user identification code to the device of the user equipment a through the RRC link established before. If the user equipment a is in a busy area, the user equipment a frequently discovers the device identification code of the unspecified target user, and if each device identification code is discovered, the device identification code is sent to the server in a synchronous manner, which causes the user equipment a to frequently establish an RRC link, thereby causing waste of channel resources and consuming a large amount of power of the user equipment a.
Further, after the server of the core network issues the user identification code to the user equipment a through the previously established RRC link, the RRC link between the user equipment a and the server is maintained, and when the user equipment a obtains another equipment identification code, the equipment identification code is continuously sent to the server through the RRC link. Compared with the method described above, the method has less signaling for establishing a link, but the method is always maintained in an RRC link state, and both the core network and the base station need to maintain the context related to the ue, and in order to maintain the link state, the ue a needs to periodically send information such as sRS (Service reference signal), BSR (Buffer Status Report), etc., and the base station and the core network also need to periodically maintain the state of the ue a, and at the same time, the ue a consumes more power.
Therefore, the ue reports the device id of the first neighboring ue every time the ue finds that the device id is found, and this synchronous transmission of the device id wastes channel resources and power of the ue.
Disclosure of Invention
The invention provides a method for receiving and transmitting an equipment identification code and related equipment, which are used for saving channel resources and reducing the electric quantity loss of user equipment.
A first aspect provides a method for sending a device identifier, including: the user equipment detects first adjacent user equipment, and acquires a device identification code of the first adjacent user equipment when the first adjacent user equipment is detected; the user equipment receives control information from the target equipment and sends the equipment identification code of the first adjacent user equipment to the target equipment in a non-synchronous mode according to the control information; wherein the user equipment sending the equipment identification code of the first neighboring user equipment to the target equipment in a non-synchronous manner according to the control information comprises: stopping sending the equipment identification code of the first adjacent user equipment to the target equipment within the preset effective time according to the control information, and sending the equipment identification code of the first adjacent user equipment to the target equipment after the preset effective time; and uniformly transmitting the device identification codes of the plurality of first neighboring user devices acquired within a predetermined period of time to the target device according to the control information.
In a first possible implementation manner of the first aspect, when the control information is the pre-download information packet and the target device is the server, after the step of detecting, by the user equipment, the first neighboring user equipment and acquiring, when the first neighboring user equipment is detected, the device identification code of the first neighboring user equipment, the method further includes: the method comprises the steps that the user equipment establishes RRC connection with target equipment through RRC connection establishment signaling, and sends an equipment identification code of first adjacent user equipment to a server through the RRC connection, so that the server finds the equipment identification code of the first adjacent user equipment in an adjacent relation table, a pre-download information packet is generated according to the adjacent relation table and sent to the user equipment through an RAB channel, the pre-download information packet comprises preset effective time, an adjacent equipment identification code corresponding to the equipment identification code of the first adjacent user equipment and a user identification code corresponding to the adjacent equipment identification code and the equipment identification code of the first adjacent user equipment, wherein the adjacent equipment identification code is the equipment identification code of the user equipment within a preset distance from the first adjacent user equipment; the user equipment receiving control information from the target equipment and transmitting the equipment identification code of the first adjacent user equipment to the target equipment in a non-synchronous mode according to the control information comprises the following steps: the method comprises the steps that user equipment receives a pre-download information packet from a server, stores an adjacent equipment identification code and a user identification code corresponding to the adjacent equipment identification code and an equipment identification code of first adjacent user equipment, and stops sending the equipment identification code of the first adjacent equipment or the adjacent equipment identification code to the server when the equipment identification code of the first adjacent equipment or the adjacent equipment identification code of the first adjacent equipment is obtained within preset effective time; and when the equipment identification code of the first adjacent equipment or the adjacent equipment identification code is acquired after the preset effective time, the equipment identification code of the first adjacent equipment or the adjacent equipment identification code is sent to the server.
With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner, when the device identification code of the first neighboring device or the neighboring device identification code is acquired within a preset valid time, stopping sending the device identification code of the first neighboring device or the neighboring device identification code to the server includes: the user equipment acquires the equipment identification code of the second adjacent user equipment when discovering the second adjacent user equipment; the user equipment judges whether the equipment identification code of the second adjacent user equipment is the equipment identification code of the first adjacent equipment or one of the adjacent equipment identification codes, if so, the equipment identification code of the second adjacent user equipment is stopped being sent to the server within preset effective time, and if not, the equipment identification code of the second adjacent user equipment is sent to the server.
With reference to the first possible implementation manner of the first aspect, in a third possible implementation manner, the method further includes: and after the preset valid time is over, the user equipment clears the stored adjacent equipment identification code and the user identification code corresponding to the adjacent equipment identification code.
In a fourth possible implementation manner of the first aspect, when the control information is a discovery target reporting message and the target device is a base station, the ue detects a first neighboring ue, and acquiring a device identifier code of the first neighboring ue when the first neighboring ue is detected includes: the user equipment detects a plurality of first adjacent user equipment within a preset time period, and acquires the equipment identification code of the first adjacent user equipment when the first adjacent user equipment is detected; the user equipment receiving control information from the target equipment and transmitting the equipment identification code of the first adjacent user equipment to the target equipment in a non-synchronous mode according to the control information comprises the following steps: through a shared channel broadcasted by the base station, the user equipment receives a discovery target report message from the base station, sets the equipment identification codes of a plurality of first adjacent user equipment and the user identification codes corresponding to the user equipment in an MAC PDU packet after receiving the discovery target report message, and sends the MAC PDU packet to the base station through the shared channel, wherein the discovery target report message comprises an ACK/NACK indicator bit and a pilot frequency identification.
With reference to the fourth possible implementation manner of the first aspect, in a fifth possible implementation manner, the sending, by the ue, the MAC PDU packet to the base station through the shared channel includes: when the user equipment meets preset conditions, the MAC PDU packet is sent to the base station through the shared channel, wherein the preset conditions are as follows: and the user equipment confirms that the ACK/NACK indication position in the report message of the discovery target is set as ACK.
With reference to the fourth possible implementation manner of the first aspect, in a sixth possible implementation manner, an indication bit is set in a header of the MAC PDU packet, and the indication bit is used to indicate whether the MAC PDU packet is a last data packet.
With reference to the fourth possible implementation manner of the first aspect, in a seventh possible implementation manner, the user identification code is specifically a device identification code of the user equipment.
With reference to the fourth possible implementation manner of the first aspect, in an eighth possible implementation manner, when the ue determines that an ACK/NACK indication position in the target report message is set to NACK, and waits for the shared channel to be in an idle state, the ue sends the MAC PDU packet to the base station through the shared channel.
A second aspect provides a method for receiving a device identification code, comprising: the target equipment sends control information to the user equipment; the target equipment receives an equipment identification code of first adjacent user equipment sent by the user equipment in a non-synchronous mode according to the control information, wherein the equipment identification code of the first adjacent user equipment is acquired by the user equipment from the first adjacent user equipment when the user equipment detects the first adjacent user equipment; wherein the target device receiving the device identification code of the first neighboring user device sent by the user device in a non-synchronous manner according to the control information comprises: the target equipment receives the equipment identification code of the first adjacent user equipment, which is sent by the user equipment within the preset effective time according to the control information and is sent after the preset time; and the target equipment receives the equipment identification codes of a plurality of first adjacent user equipment which are uniformly sent by the user equipment according to the control information and acquired in a preset time period.
In a first possible implementation manner of the second aspect, when the control information is the pre-download information packet and the target device is a server, the receiving, by the target device, the device identifier of the first neighboring user device sent by the user device in a non-synchronous manner according to the control information includes: the server receives an equipment identification code sent by user equipment through an RRC link, wherein the RRC link is established between the user equipment and the server through an RRC link establishment signaling, the server searches the equipment identification code in an adjacency list, generates a pre-download information packet according to the adjacency list and sends the pre-download information packet to the user equipment through an RAB channel, the pre-download information packet comprises preset effective time, a neighboring equipment identification code corresponding to the equipment identification code of the first neighboring user equipment and a user identification code corresponding to the neighboring equipment identification code, the neighboring equipment identification code is the equipment identification code of the user equipment within a preset distance from the first neighboring user equipment, so that the user equipment receives the pre-download information packet from the server, and stores the neighboring equipment identification code corresponding to the equipment identification code of the first neighboring user equipment and the user identification code corresponding to the neighboring equipment identification code, when the equipment identification code of the first adjacent equipment or the adjacent equipment identification code is acquired within the preset effective time, the equipment identification code of the first adjacent equipment or the adjacent equipment identification code is stopped being sent to the server; and when the equipment identification code of the first adjacent equipment or the adjacent equipment identification code is acquired after the preset effective time, the equipment identification code of the first adjacent equipment or the adjacent equipment identification code is sent to the server.
With reference to the first possible implementation manner of the second aspect, in a second possible implementation manner, the server stores an electronic map, and the server generates the proximity relation table according to the electronic map, the location information registered by the plurality of different user devices, and the device identification code.
With reference to the first possible implementation manner of the second aspect, in a third possible implementation manner, the server receives location information, a device identification code, and an electronic map sent by a plurality of different user devices, and generates the adjacency relation table according to the location information, the electronic map, and the device identification code.
With reference to the first possible implementation manner of the second aspect, in a fourth possible implementation manner, the server receives device identification codes of multiple different user devices sent by the multiple different user devices and device identification codes of neighboring user devices detected by the multiple different user devices with the highest frequency, and generates the context table according to the device identification codes of the multiple different user devices and the device identification codes of neighboring user devices detected by the multiple different user devices with the highest frequency.
In a fifth possible implementation manner of the second aspect, when the control information is a discovery target reporting message and the target device is a base station, the sending, by the target device, the control information to the user equipment includes: a base station sends a discovery target report message to user equipment through a shared channel broadcasted by the base station, wherein the discovery target report message comprises an ACK/NACK indicator bit and a pilot frequency identifier; the target device receiving the device identification code of the first neighboring user device, which is sent to the target device by the user device in a non-synchronous manner according to the control information, comprises: the base station receives a MAC PDU packet sent by user equipment through a shared channel, wherein the MAC PDU packet is generated by setting equipment identification codes of a plurality of first adjacent user equipment and user identification codes corresponding to the user equipment in the MAC PDU packet after the user equipment receives a discovery target report message, and the equipment identification codes of the first adjacent user equipment are acquired from the first adjacent user equipment when the user equipment detects the first adjacent user equipment in a preset time period.
With reference to the fifth possible implementation manner of the second aspect, in a sixth possible implementation manner, the method further includes: and the base station analyzes the MAC PDU packet, generates an S1AP FP packet according to the equipment identification code of the first adjacent user equipment and the user identification code corresponding to the user equipment, and sends the S1AP FP packet to the server.
With reference to the fifth possible implementation manner of the second aspect, in a seventh possible implementation manner, the user identification code is specifically an equipment identification code of the user equipment.
With reference to the seventh possible implementation manner of the second aspect, in an eighth possible implementation manner, the method further includes: and after receiving the MAC PDU packet sent by the user equipment through the shared channel broadcasted by the base station, the base station sends ACK response information to the user equipment, wherein the ACK response information is internally provided with an equipment identification code of the user equipment.
With reference to the fifth possible implementation manner of the second aspect, in a ninth possible implementation manner, the sending, by the base station, the discovery target reporting message to the user equipment through the shared channel broadcasted by the base station is performed under a condition that a preset condition is met, where the preset condition is: the base station receives a pilot signal sent by user equipment through a shared channel, wherein the pilot signal carries a pilot identification.
A third aspect provides a user equipment comprising: the detection module is used for detecting first adjacent user equipment and acquiring a device identification code of the first adjacent user equipment when the first adjacent user equipment is detected; a receiving module for receiving control information from a target device; the sending module is used for sending the equipment identification code of the first adjacent user equipment to the target equipment in a non-synchronous mode according to the control information; the sending module is specifically configured to: stopping sending the equipment identification code of the first adjacent user equipment to the target equipment within the preset effective time according to the control information, and sending the equipment identification code of the first adjacent user equipment to the target equipment after the preset effective time; or uniformly sending the device identification codes of the plurality of first neighboring user devices acquired by the detection module within a predetermined time period to the target device according to the control information.
In a first possible implementation manner of the third aspect, when the control information is a pre-download information packet and the target device is a server, the user equipment further includes a storage module and an RRC link establishment module, where: the sending module is used for sending an RRC link establishment signaling to the server to establish the RRC link with the server; a sending module, configured to send the device identifier to the server through an RRC link, so that the server finds the device identifier in the proximity relation table, generates a pre-download information packet according to the proximity relation table, and sends the pre-download information packet to the ue through an RAB channel, where the pre-download information packet includes a preset validity time, a neighboring device identifier corresponding to the device identifier of the first neighboring ue, and a user identifier corresponding to the neighboring device identifier, where the neighboring device identifier is a device identifier of the ue within a predetermined distance from the first neighboring ue; the receiving module is used for receiving the pre-download information packet; a storage module for storing the proximity device identification code and a user identification code corresponding to the proximity device identification code and the device identification code of the first proximity user device; the sending module is used for stopping sending the equipment identification code of the first adjacent equipment or the adjacent equipment identification code to the server when the detection module acquires the equipment identification code of the first adjacent equipment or the adjacent equipment identification code within the preset effective time; and when the detection module acquires the equipment identification code of the first adjacent equipment or the adjacent equipment identification code after the preset effective time, the equipment identification code of the first adjacent equipment or the adjacent equipment identification code is sent to the server.
With reference to the first possible implementation manner of the third aspect, in a second possible implementation manner, the detecting module is configured to obtain a device identifier of a second neighboring user equipment when the second neighboring user equipment is discovered; the sending module is used for judging whether the equipment identification code of the second adjacent user equipment is the equipment identification code of the first adjacent equipment or one of the adjacent equipment identification codes, if so, the sending of the equipment identification code of the second adjacent user equipment to the server is stopped within the preset effective time, and if not, the equipment identification code of the second adjacent user equipment is sent to the server.
With reference to the first possible implementation manner of the third aspect, in a third possible implementation manner, the sending module is configured to clear the stored neighboring device identification code and the user identification code corresponding to the neighboring device identification code after the preset valid time is ended.
In a fourth possible implementation manner of the third aspect, when the control information is a discovery target report message and the target device is a base station, the user equipment further includes a data packet generating module, where the discovery target report message includes an ACK/NACK indicator and a pilot identifier, where: the device comprises a detection module, a detection module and a display module, wherein the detection module is used for detecting a plurality of first adjacent user equipment within a preset time period and acquiring a device identification code of the first adjacent user equipment when the first adjacent user equipment is detected; a receiving module, configured to receive a discovery target report message from a base station via a shared channel broadcasted by the base station; the data packet generating module is used for setting the equipment identification codes of the first adjacent user equipment and the user identification codes corresponding to the user equipment in the MAC PDU packet after the receiving module receives the discovery target report message; and the sending module is used for sending the MAC PDU packet to the base station through the shared channel.
With reference to the fourth possible implementation manner of the third aspect, in a fifth possible implementation manner, the sending module is specifically configured to send the MAC PDU packet to the base station through the shared channel when a preset condition is met, where the preset condition is: and the sending module confirms that the ACK/NACK indication position in the report message of the discovery target is set as ACK.
With reference to the fourth possible implementation manner of the third aspect, in a sixth possible implementation manner, an indication bit is set in a header of the MAC PDU packet, and the indication bit is used to indicate whether the MAC PDU packet is a last data packet.
With reference to the fourth possible implementation manner of the third aspect, in a seventh possible implementation manner, the user identification code is specifically a device identification code of the user equipment.
With reference to the fourth possible implementation manner of the third aspect, in an eighth possible implementation manner, when the sending module determines that the ACK/NACK indication position in the target report message is set to NACK, and waits for the shared channel to be in an idle state, the sending module sends the MAC PDU packet to the base station through the shared channel.
A fourth aspect provides a target device comprising: the sending module is used for sending the control information to the user equipment; a receiving module, configured to receive a device identifier code of a first neighboring user device sent by a user equipment in a non-synchronous manner according to control information, where the device identifier code of the first neighboring user device is obtained by the user equipment from the first neighboring user device when the user equipment detects the first neighboring user device; wherein the receiving module is specifically configured to: receiving a device identification code of first adjacent user equipment, which is sent by the user equipment after a preset time and stops sending within a preset effective time according to the control information; or receiving the device identification codes of a plurality of first adjacent user devices which are uniformly sent by the user device according to the control information and acquired in a preset time period.
In a first possible implementation manner of the fourth aspect, when the control information is a pre-download information packet and the target device is a server, the server further includes a pre-download packet generation module, a receiving module, configured to receive a device identification code sent by the user equipment through an RRC link, where the RRC link is established between the user equipment and the server through an RRC link establishment signaling; the pre-download packet generation module is used for searching the equipment identification code in the proximity relation table and generating a pre-download information packet according to the proximity relation table, wherein the pre-download information packet comprises a preset effective time, a neighboring equipment identification code corresponding to the equipment identification code of the first neighboring user equipment and a user identification code corresponding to the neighboring equipment identification code, and the neighboring equipment identification code is the equipment identification code of the user equipment within a preset distance from the first neighboring user equipment; a sending module, configured to send a pre-download packet to a user equipment through an RAB channel so that the user equipment receives the pre-download information packet from a server, and stores a neighboring equipment identification code corresponding to an equipment identification code of a first neighboring user equipment and a user identification code corresponding to the neighboring equipment identification code; the receiving module is used for receiving the device identification code of the first adjacent device or the adjacent device identification code sent when the user equipment acquires the device identification code of the first adjacent device or the adjacent device identification code after the preset effective time.
With reference to the first possible implementation manner of the fourth aspect, in a second possible implementation manner, the server further includes a proximity relation table generating module and a storage module, where the storage module is configured to store an electronic map, location information registered by a plurality of different user devices, and a device identification code; and the proximity relation table generating module is used for generating the proximity relation table according to the electronic map, the position information registered by the different user equipment and the equipment identification code.
With reference to the first possible implementation manner of the fourth aspect, in a third possible implementation manner, the server includes a proximity relation table generating module, a receiving module, configured to receive location information and a device identification code, which are sent by multiple different user devices, and an electronic map; and the proximity relation table generating module is used for generating a proximity relation table according to the position information, the electronic map and the equipment identification code.
With reference to the third possible implementation manner of the fourth aspect, in a fourth possible implementation manner, the server includes a proximity relation table generating module, and a receiving module, configured to receive device identification codes, sent by multiple different user devices, of multiple different user devices and device identifications, detected by the multiple different user devices, of neighboring user devices with a highest frequency; and the proximity relation table generating module is used for generating the proximity relation table according to the device identification codes of the plurality of different user devices and the device identification codes of the adjacent user devices with the highest frequency detected by the plurality of different user devices.
In a fifth possible implementation manner of the fourth aspect, when the control information is a discovery target reporting message and the target device is a base station, the base station includes a broadcasting module, configured to broadcast a shared channel; a sending module, configured to send a discovery target report message to a user equipment through a shared channel broadcasted by a base station, where the discovery target report message includes an ACK/NACK indicator and a pilot identifier; a receiving module, configured to receive a MAC PDU packet sent by a ue through a shared channel, where the MAC PDU packet is generated by setting, in the MAC PDU packet, a device identification code of a plurality of first neighboring ue devices and a user identification code corresponding to the ue after the ue receives a discovery target report message, and the device identification code of the first neighboring ue device is obtained from the plurality of first neighboring ue devices when the ue detects the plurality of first neighboring ue devices within a predetermined time period.
With reference to the fifth possible implementation manner of the fourth aspect, in a sixth possible implementation manner, the base station further includes a data packet generating module, where the data packet analyzing module is configured to analyze the MAC PDU packet and generate an S1AP FP packet according to the device identification code of the first neighboring user equipment and the user identification code corresponding to the user equipment; and the sending module is used for sending the S1AP FP packet to a server connected with the base station.
With reference to the fifth possible implementation manner of the fourth aspect, in a seventh possible implementation manner, the user identification code is specifically an equipment identification code of the user equipment.
With reference to the seventh possible implementation manner of the fourth aspect, in an eighth possible implementation manner, the sending module is configured to send ACK response information to the user equipment after the receiving module receives a MAC PDU packet sent by the user equipment through a shared channel broadcasted by the base station, where the ACK response information is provided with an equipment identification code of the user equipment.
With reference to the fifth possible implementation manner of the fourth aspect, in a ninth possible implementation manner, the sending module sends the discovery target reporting message to the ue through a shared channel broadcasted by the base station under a preset condition that is satisfied: the receiving module receives a pilot signal sent by user equipment through a shared channel, wherein the pilot signal carries a pilot identification.
Through the above disclosure, the present invention discloses a method for transceiving device identifiers and related devices, wherein, compared with a synchronous transmission method in which device identifiers of neighboring user devices are synchronously transmitted to a target device immediately after a neighboring user device is detected and the device identifiers of the neighboring user devices are acquired, the user device transmits a device identifier of a first neighboring user device to the target device in an asynchronous manner, that is: stopping sending the equipment identification code of the first adjacent user equipment to the target equipment within the preset effective time, and sending the equipment identification code of the first adjacent user equipment to the target equipment after the preset effective time; or uniformly transmitting the device identification codes of a plurality of first adjacent user devices to the target device. After the asynchronous transmission mode is adopted, the connection between the user equipment and the target equipment does not need to be established immediately after the user equipment acquires the equipment identification code of the first adjacent user equipment, so that the continuous establishment of synchronous connection between the user equipment and the target equipment can be avoided, the frequency of equipment identification code transmission can be reduced, channel resources are saved, and the electric quantity loss of the user equipment is reduced.
Drawings
FIG. 1 is a system block diagram of one embodiment of a method for transmitting an identification code of a device of the present invention;
FIG. 2 is a flow chart of one embodiment of a method for transmitting a device identification code of the present invention;
fig. 3 is a flowchart of another embodiment of the method for sending the device identification code according to the present invention;
fig. 4 is a flowchart of another embodiment of the method for sending the device identification code according to the present invention;
fig. 5 is a data structure diagram of a discovery target report message in another embodiment of the method for sending an identification code of a device of the present invention;
FIG. 6 is a data structure diagram of a MAC PDU packet according to another embodiment of the ID transmission method of the apparatus of the present invention;
fig. 7 is a data structure diagram of an S1AP FP packet in another embodiment of the apparatus for transmitting an id code of the present invention;
FIG. 8 is a flow chart of one embodiment of a method for receiving an identification code for a device of the present invention;
FIG. 9 is a flow chart of another embodiment of the method for receiving the identification code of the device of the present invention;
FIG. 10 is a flow chart of another embodiment of the method for receiving the identification code of the device of the present invention;
FIG. 11 is a schematic diagram of data interaction of another embodiment of a method for receiving an identification code of a device according to the present invention;
FIG. 12 is a timing diagram of another embodiment of a method for receiving an identification code of a device of the present invention;
fig. 13 is a schematic device structure diagram of an embodiment of a ue according to the present invention;
FIG. 14 is a flow chart of another embodiment of a UE of the present invention;
FIG. 15 is a flow chart of another embodiment of a UE of the present invention;
FIG. 16 is a schematic diagram of an apparatus of an embodiment of a target device of an embodiment of the invention;
FIG. 17 is a schematic diagram of an apparatus of an embodiment of a target device of an embodiment of the invention;
FIG. 18 is a schematic diagram of an apparatus of another embodiment of a target device according to an embodiment of the present invention;
fig. 19 is a schematic device structure diagram of an embodiment of a ue according to the present invention;
fig. 20 is a schematic device structure diagram of another embodiment of the ue according to the present invention;
fig. 21 is a schematic device structure diagram of another embodiment of the ue according to the present invention;
FIG. 22 is a schematic diagram of an apparatus of an embodiment of a target device of an embodiment of the invention;
FIG. 23 is a schematic diagram of an apparatus of another embodiment of a target device of an embodiment of the present invention;
fig. 24 is a schematic structural diagram of an apparatus according to another embodiment of the target device according to the embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a system structure diagram of an embodiment of a method for sending a device identifier according to the present invention, where the method for sending and receiving a device identifier according to the present invention is implemented based on the system architecture shown in fig. 1, as shown in fig. 1, a user equipment 10 is connected to a target device 20, and the user equipment 10 sends information related to the device identifier to the target device 20.
Referring to fig. 2, fig. 2 is a flowchart illustrating an embodiment of a method for sending an equipment id according to the present invention. As shown in fig. 2, the method for sending the device identification code of the present invention specifically includes the following steps:
step 101: the user equipment 10 detects a first neighboring user equipment and acquires a device identification code of the first neighboring user equipment when the first neighboring user equipment is detected.
Step 102: the user equipment 10 receives control information from the target device 20 and transmits the device identification code of the first neighbouring user equipment to the target device 20 in a non-synchronous manner in dependence on the control information.
It should be noted that the "asynchronous mode" described in this embodiment specifically includes the following implementation manners: the user equipment 10 stops sending the equipment identification code of the first neighboring user equipment to the target equipment 20 within a preset valid time according to the control information, and sends the equipment identification code of the first neighboring user equipment to the target equipment 20 after the preset valid time; and uniformly transmitting the device identification codes of the plurality of first neighboring user equipments acquired within the predetermined period of time to the target device 20 according to the control information.
In this embodiment, the ue 10 transmits the device id of the first neighboring ue to the target device 20 in an asynchronous manner, and compared with a synchronous transmission manner in which the device id of the neighboring ue 10 is synchronously transmitted to the target device 20 immediately after detecting one neighboring ue 10 and acquiring the device id of the neighboring ue 10, the transmission method of the device id of this embodiment can avoid continuously establishing a synchronous connection with the target device 20, so that the frequency of transmitting the device id can be reduced, channel resources can be saved, and power consumption of the ue 10 can be reduced.
Referring to fig. 3, fig. 3 is a flowchart of another embodiment of a method for sending a device identifier according to the present invention, in which the control information is a pre-download packet and the target device 20 is a server, as shown in fig. 3, the method for sending a device identifier specifically includes the following steps:
step 201: the user equipment 10 detects a first neighboring user equipment and acquires a device identification code of the first neighboring user equipment when the first neighboring user equipment is detected.
Step 202: the ue 10 establishes an RRC link with the target device 20 through an RRC link establishment signaling, and sends the device identifier of the first neighboring ue to the server through the RRC link, so that the server finds the device identifier of the first neighboring ue in the context table, generates a pre-download packet according to the context table, and sends the pre-download packet to the ue 10 through an RAB (Radio Access Bearer) channel, where the pre-download packet includes a preset validity time, a neighboring device identifier corresponding to the device identifier of the first neighboring ue, and a user identifier corresponding to the neighboring device identifier and the device identifier of the first neighboring ue, where the neighboring device identifier is the device identifier of the ue 10 within a predetermined distance from the first neighboring ue.
Step 203: the user equipment 10 receives the pre-download information packet from the server, stores the adjacent equipment identification code and the user identification code corresponding to the adjacent equipment identification code and the equipment identification code of the first adjacent user equipment, and stops sending the equipment identification code of the first adjacent equipment or the adjacent equipment identification code to the server when acquiring the equipment identification code of the first adjacent equipment or the adjacent equipment identification code of the first adjacent equipment within preset effective time; and when the equipment identification code of the first adjacent equipment or the adjacent equipment identification code is acquired after the preset effective time, the equipment identification code of the first adjacent equipment or the adjacent equipment identification code is sent to the server.
Specifically, in step 203, if the ue 10 acquires the device identifier of the second neighboring ue when discovering the second neighboring ue, the ue 10 may determine whether the device identifier of the second neighboring ue is one of the device identifier of the first neighboring ue and the neighboring device identifier, if so, stop sending the device identifier of the second neighboring ue to the server within a preset validity time, and if not, send the device identifier of the second neighboring ue to the server.
It should be noted that the preset effective time is optional and can be set according to actual needs, and for the user equipment 10 in the vicinity as a non-specific target user, such as a merchant, the preset effective time can be set to be 3 months, because the merchant and the geographic area are bound for a period of time, and the relationship between merchants usually remains unchanged for a longer time.
Optionally, after the preset valid time is over, the user equipment 10 may clear the stored neighboring equipment identification code and the user identification code corresponding to the neighboring equipment identification code, in an embodiment of the present invention, the preset valid time may be set according to actual needs, and is generally related to the valid date of the neighboring user equipment 10, so that when the preset valid time is over, it indicates that the neighboring user equipment 10 is invalid, and if the merchant moves away after the preset valid time, the stored neighboring equipment identification code and the user identification code corresponding to the neighboring equipment identification code become invalid data, and clearing thereof may save a storage space and reduce a load.
In contrast to the synchronous transmission mode in which the device identification codes of the neighboring user devices 10 are synchronously transmitted to the target device 20 immediately after one of the neighboring user devices 10 is detected and the device identification codes of the neighboring user devices 10 are acquired, the user device 10 transmits the device identification code of the first neighboring user device to the target device 20 in a non-synchronous manner. Specifically, in this embodiment, when the user equipment 10 acquires the device identification code of the first neighboring device or the neighboring device identification code within the preset valid time, the user equipment stops sending the device identification code of the first neighboring device or the neighboring device identification code to the server; and when the device identification code of the first neighboring device or the neighboring device identification code is acquired after the preset valid time, the device identification code of the first neighboring device or the neighboring device identification code is sent to the server, and the asynchronous sending method only sends the relevant information to the target device 20 after the preset valid time, so that the continuous establishment of synchronous connection with the target device 20 can be avoided, the frequency of sending the device identification code can be reduced, the channel resource can be saved, and the power consumption of the user equipment 10 can be reduced.
Referring to fig. 4, fig. 4 is a flowchart of another embodiment of a method for sending a device identifier according to the present invention, in which the control information is a discovery target report message and the target device 20 is a base station.
Wherein the base station broadcasts in a broadcast message a segment of the shared channel resource that can be used by the user equipment 10 without establishing a dedicated RRC link. Specifically, a field may be added to the broadcasted SIB (system information Blocks) information: DS-CH (discovery shared channel): a modulation mode, an allowable upper limit, an appearance period, a pilot group and a corresponding RNTI (Radio network terminal identification), where the pilot group may have one or more pilot identifiers but all correspond to one RNTI).
As shown in fig. 4, the method for sending the device identification code of the present invention specifically includes the following steps:
step 401: the user equipment 10 detects a plurality of first neighboring user equipments within a predetermined period of time, and acquires the equipment identification codes of the first neighboring user equipments when the first neighboring user equipments are detected.
Step 402: through a shared channel broadcasted by a base station, a user equipment 10 receives a discovery target report message from the base station, and after receiving the discovery target report message, sets a plurality of equipment identification codes of first neighboring user equipment and a user identification code corresponding to the user equipment 10 in a Media access control protocol data unit (MAC PDU) packet, and sends the MAC PDU packet to the base station through the shared channel, wherein the discovery target report message includes an ACK/NACK indicator and a pilot identifier.
Optionally, in step 402, the ue 10 sends the MAC PDU packet to the base station through the shared channel when a preset condition is met, where the preset condition is: the ue 10 confirms that the ACK/NACK indicator in the discovery target report message is set to ACK. And, when the ue 10 determines that the ACK/NACK indicator in the target report message is set to NACK, it waits for the shared channel to be in an idle state, and then sends the MAC PDU packet to the base station through the shared channel.
Optionally, the header of the MAC PDU packet is provided with an indication bit, where the indication bit is used to indicate whether the MAC PDU packet is the last data packet.
Optionally, the user identification code is embodied as a device identification code of the user device 10.
It should be noted that, after receiving the MAC PDU packet, the base station parses the MAC PDU packet, generates S1AP FP (S1application frame protocol ) packet according to the device identification codes of the first neighboring ue and the ue id corresponding to the ue 10, and sends the S1AP FP packet to the server connected to the base station.
Specifically, a data structure of a discovery target report message may refer to fig. 5, where fig. 5 is a data structure diagram of a discovery target report message in another embodiment of the method for sending an identification code of a device according to the present invention, and as shown in fig. 5, the discovery target report message includes an ACK/NACK indicator, a Timing Advance command (Timing Advance command), and a pilot identifier, where the pilot identifier may be set in a Reserved bit (Reserved).
Also, the data structure of the MAC PDU packet can be seen in fig. 6, where fig. 6 is a data structure diagram of the MAC PDU packet in another embodiment of the method for sending the device identification code of the present invention, as shown in fig. 6, the MAC PDU packet includes the user identification code, the number of device identification codes, the device identification code 1, … …, the device identification code n, and the check code. Wherein the device identification code 1, … … is a device identification code of a plurality of first proximity user devices.
The data structure of the S1AP FP packet can be seen in fig. 7, where fig. 7 is a data structure diagram of the S1AP FP packet in another embodiment of the method for sending the device identifier code of the present invention. As shown in fig. 7, the S1AP FP packet includes a frame number, a frame length, a frame header check code, a base station identifier, a user identifier 1, a device identifier corresponding to the user identifier 1, a user identifier 2, a device identifier corresponding to the user identifier 2, … …, a user identifier n, a device identifier corresponding to the user identifier n, and a check digit.
In this embodiment, the ue 10 obtains the device identification codes of multiple first neighboring ues in a predetermined time period, receives a discovery target report message from the base station through a shared channel broadcast by the base station, sets the device identification codes of the multiple first neighboring ues and the user identification code corresponding to the ue 10 in an MAC PDU packet in response to the discovery target report message, sends the MAC PDU packet to the base station through the shared channel, and the base station parses the MAC PDU packet, generates an S1AP FP packet according to the device identification codes of the multiple first neighboring ues and the user identification corresponding to the ue 10, and sends the S1AP FP packet to the server. Therefore, the ue 10 does not perform synchronous transmission immediately after acquiring the device id of the first neighboring ue, but acquires the device ids of a plurality of first neighboring ues in a predetermined time period, and then transmits the MAC PDU packet to the base station through the shared channel broadcasted by the base station, and the base station parses the MAC PDU packet to generate an S1AP FP packet and transmits the S1AP FP packet to the server, so that the server acquires the uniformly transmitted device ids of the plurality of first neighboring ues in an asynchronous transmission manner. The asynchronous sending method uniformly sends the relevant information to the base station, and the base station forwards the relevant information to the server, so that the continuous establishment of synchronous connection with the base station can be avoided, the sending frequency of the equipment identification code can be reduced, the channel resource is saved, and the electric quantity loss of the user equipment 10 is reduced.
Since the asynchronous transmission method disclosed in this embodiment uniformly transmits the device identifiers of a plurality of first neighboring ue to the base station through the shared channel provided by the base station, it is avoided to continuously establish a synchronous connection with the base station, so as to reduce the frequency of device identifier transmission, save channel resources, and reduce the power consumption of the ue 10.
Referring to fig. 8, fig. 8 is a flowchart illustrating an embodiment of a method for receiving an identification code of a device according to the present invention. As shown in fig. 8, the method for sending the device identification code of the present invention specifically includes the following steps:
step 501: the target device 20 sends control information to the user device 10.
Step 502: the target device 20 receives the device identification code of the first neighboring user device, which is transmitted by the user device 10 in a non-synchronous manner according to the control information, wherein the device identification code of the first neighboring user device is acquired by the user device 10 from the first neighboring user device when the first neighboring user device is detected.
It is noted that the receiving, by the target device 20, the device identification code of the first neighboring user equipment transmitted by the user equipment 10 in a non-synchronous manner according to the control information specifically includes the following implementation manners: the target device 20 receives the device identification code of the first neighboring user device, which is sent after the preset time and is stopped by the user device 10 within the preset effective time according to the control information; and the target device 20 receives the device identification codes of the plurality of first neighboring user devices, which are acquired within the predetermined time period and are uniformly transmitted by the user device 10 according to the control information.
In the prior art, the target device 20 prepares to establish a connection with the ue 10 that has just detected the device id of the neighboring ue 10 at any time and receives the device id of the neighboring ue 10, but in this embodiment, the target device 20 receives the device id of the first neighboring ue that is sent by the ue 10 in an asynchronous manner, and does not need to establish a connection with the ue 10 at any time, so the receiving method of the device id of this embodiment can avoid establishing a synchronous connection with the ue 10 as soon as the device id of the first neighboring ue is detected, and can reduce the frequency of receiving the device id, save channel resources, and reduce the power consumption of the ue 10.
Referring to fig. 9, fig. 9 is a flowchart of another embodiment of a method for receiving a device identifier according to the present invention, where in this embodiment, the control information is a pre-download packet, and the target device 20 is a server, and as shown in fig. 9, the method for sending a device identifier specifically includes the following steps:
step 601: the server sends control information to the user equipment 10.
Step 602: the server receives the device identification code transmitted by the user equipment 10 through the RRC link established by the user equipment 10 with the server through the RRC link establishment signaling,
step 603: the server searches the equipment identification code in the proximity relation table, generates a pre-download information packet according to the proximity relation table and sends the pre-download information packet to the user equipment 10 through an RAB channel, wherein the pre-download information packet comprises preset effective time, a neighboring equipment identification code corresponding to the equipment identification code of the first neighboring user equipment and a user identification code corresponding to the neighboring equipment identification code, and the neighboring equipment identification code is the equipment identification code of the user equipment 10 within a preset distance from the first neighboring user equipment, so that the user equipment 10 receives the pre-download information packet from the server, stores the neighboring equipment identification code corresponding to the equipment identification code of the first neighboring user equipment and the user identification code corresponding to the neighboring equipment identification code, and stops sending the equipment identification code, the user identification code and the user identification code of the first neighboring equipment when the equipment identification code or the neighboring equipment identification code of the first neighboring equipment is obtained within the, Or the adjacent equipment identification code is sent to the server; and when the equipment identification code of the first adjacent equipment or the adjacent equipment identification code is acquired after the preset effective time, the equipment identification code of the first adjacent equipment or the adjacent equipment identification code is sent to the server.
The format of the proximity relation table can be shown in the following table 1.1, for example:
TABLE 1.1
As shown in table 1.1, in the proximity relationship table, the proximity device identification codes corresponding to the device identification code 1 are the device identification code 89, the device identification code 102, and the device identification code 50; the adjacent device identification codes corresponding to the device identification code 2 are the device identification code 23, the device identification code 58, the device identification code 200, and the device identification code 67.
Wherein, the distance between the user equipment 10 corresponding to the equipment identification code 1 and the user equipment 10 corresponding to the equipment identification code 89, the equipment identification code 102 and the equipment identification code 50 is within 300-500 meters; the distance between the user equipment 10 corresponding to the equipment identification code 2 and the user equipment 10 corresponding to the equipment identification codes 23, 58, 200 and 67 is within 300 and 500 meters.
It should be noted that the distance range of 300-500 m is only one preferred embodiment of the present invention, and the present invention does not limit the specific value thereof.
Specifically, the server may generate the context table in advance by:
alternatively, the server stores an electronic map, and the server generates the proximity relation table based on the electronic map, the position information registered by the plurality of different user devices 10, and the device identification code.
Alternatively, the server receives the location information and the device identification code transmitted by the plurality of different user devices 10, and the electronic map, and generates the proximity relation table based on the location information, the electronic map, and the device identification code.
Alternatively, the server receives the device identification codes transmitted by the plurality of different user devices 10 and the device identification codes of the neighboring user devices 10 with the highest frequency detected by the plurality of different user devices 10, and generates the context table according to the device identification codes and the device identification codes of the neighboring user devices 10 with the highest frequency detected by the plurality of different user devices 10.
In contrast to the synchronous transmission mode in which the device identification codes of the neighboring user devices 10 are synchronously transmitted to the target device 20 immediately after one of the neighboring user devices 10 is detected and the device identification codes of the neighboring user devices 10 are acquired, the user device 10 transmits the device identification code of the first neighboring user device to the target device 20 in a non-synchronous manner. Specifically, in this embodiment, when the user equipment 10 acquires the device identification code of the first neighboring device or the neighboring device identification code within the preset valid time, the user equipment stops sending the device identification code of the first neighboring device or the neighboring device identification code to the server; and when the device identification code of the first neighboring device or the neighboring device identification code is acquired after the preset valid time, the device identification code of the first neighboring device or the neighboring device identification code is sent to the server, and the asynchronous sending method only sends the relevant information to the server after the preset valid time, so that the server can be prevented from continuously establishing synchronous connection with the user equipment 10, the frequency of receiving the device identification code can be reduced, the channel resource is saved, and the electric quantity loss of the user equipment 10 is reduced.
Referring to fig. 10, fig. 10 is a flowchart of another embodiment of the method for receiving the device identification code according to the present invention, where in the embodiment, the control information is a discovery target report message and the target device 20 is a base station, and as shown in fig. 10, the method for receiving the device identification code specifically includes the following steps:
step 701: the base station sends a discovery target report message to the user equipment 10 through a shared channel broadcasted by the base station, wherein the discovery target report message comprises an ACK/NACK indicator bit and a pilot frequency identifier.
Step 702: the base station receives a MAC PDU packet sent by the ue 10 through the shared channel, where the MAC PDU packet is generated by setting, in the MAC PDU packet, the device identification codes of multiple first neighboring ues and the user identification codes corresponding to the ue 10 after the ue 10 receives the discovery target report message, and the device identification code of the first neighboring ue is obtained from the multiple first neighboring ues when the ue 10 detects the multiple first neighboring ues within a predetermined time period.
Step 703: the base station analyzes the MAC PDU packet, generates an S1AP FP packet according to the equipment identification code of the first adjacent user equipment and the user identification code corresponding to the user equipment 10, and sends the S1AP FP packet to the server.
Optionally, the user identification code is embodied as a device identification code of the user device 10.
After step 702, the method for receiving the identification code of the device of the present invention may further comprise the steps of: after receiving the mac pdu packet sent by the ue 10 through the shared channel broadcasted by the base station, the base station sends ACK response information to the ue 10, where the ACK response information is provided with the device identifier code of the ue 10.
Optionally, in step 701, the base station sends the discovery target reporting message to the ue 10 through the shared channel broadcasted by the base station under the condition that a preset condition is met, where the preset condition is: the base station receives a pilot signal sent by the user equipment 10 through the shared channel, where the pilot signal carries a pilot identifier.
In step 701, the base station may detect whether the broadcast shared channel is in an idle state, and if so, send a discovery target reporting message with an ACK/NACK (Acknowledgement/Negative Acknowledgement) indication bit being ACK to the user equipment 10, otherwise, send a discovery target reporting message with an ACK/NACK indication bit being NACK to the user equipment 10. After receiving the discovery target report message with the ACK/NACK indicator being ACK, the user equipment 10 sends the MAC PDU packet to the base station, and after receiving the discovery target report message with the ACK/NACK indicator being ACK, the user equipment 10 waits for the shared channel to be in an idle state, and then sends the MAC PDU packet to the base station through the shared channel.
Optionally, in step 702, after receiving the MAC PDU packet sent by the user equipment 10 through the shared channel, the base station may further send ACK response information to the user equipment 10, where the ACK response information is provided with the equipment identification code of the user equipment 10. After receiving the ACK response message, the user equipment 10 confirms that the base station receives the MAC PDU packet. If the user equipment 10 does not receive the ACK response message, it indicates that the base station does not receive the MAC PDU packet, at this time, the user equipment 10 needs to repeatedly send the MAC PDU packet, the repeated sending can be performed in the next DSCH resource period of the shared channel, and the number of times of the repeated sending can be set by the base station.
When the base station receives the pilot signal sent by other user equipment 10 at the same time when the user equipment 10 retransmits the MAC PDU packet, indicating that it is expected to use the DS-CH corresponding to the pilot identifier of the pilot signal later, the base station should send a NACK response message so as not to let other user equipment 10 continue to send the pilot signal with the same pilot identifier.
If the ACK/NACK indicator of RAR (Radio access response) information received after the ue 10 transmits the pilot signal is set to NACK, the ue 10 may reselect a pilot signal with a different pilot identifier for transmission before the next transmission opportunity arrives. If no RAR information is received, the ue 10 may increase the power to retransmit the pilot signal, and the number of retransmissions and the power per increment may be set in the broadcast message of the base station.
In this embodiment, the ue 10 obtains the device identification codes of multiple first neighboring ues in a predetermined time period, receives a discovery target report message from the base station through a shared channel broadcast by the base station, sets the device identification codes of the multiple first neighboring ues and the user identification code corresponding to the ue 10 in an MAC PDU packet in response to the discovery target report message, sends the MAC PDU packet to the base station through the shared channel, and the base station parses the MAC PDU packet, generates an S1AP FP packet according to the device identification codes of the multiple first neighboring ues and the user identification corresponding to the ue 10, and sends the S1AP FP packet to the server. Therefore, the ue 10 does not perform synchronous transmission immediately after acquiring the device id of the first neighboring ue, but acquires the device ids of a plurality of first neighboring ues in a predetermined time period, and then transmits the MAC PDU packet to the base station through the shared channel broadcasted by the base station, and the base station parses the MAC PDU packet to generate an S1AP FP packet and transmits the S1AP FP packet to the server, so that the server acquires the uniformly transmitted device ids of the plurality of first neighboring ues in an asynchronous transmission manner. The asynchronous sending method uniformly sends the relevant information to the base station, so that the base station can be prevented from continuously establishing synchronous connection with the user equipment 10, the frequency of receiving equipment identification codes can be reduced, channel resources are saved, and the electric quantity loss of the user equipment 10 is reduced.
For more clear explanation, reference may be further made to fig. 11, and fig. 11 is a schematic diagram of data interaction of another embodiment of the method for receiving the device identification code according to the present invention.
As shown in fig. 11, the ue sends a pilot signal to the base station through a shared channel broadcasted by the base station, where the pilot signal carries a pilot identifier. After receiving the pilot signal, the base station sends a discovery target report message to the user equipment through a shared channel, wherein the discovery target report message comprises an ACK/NACK indicator bit and the pilot identifier. And after receiving the discovery target report message, the user sends an MAC PDU packet to the base station through a shared channel. And after receiving the MAC PDU packet, the base station sends ACK response information to the user equipment through the shared channel.
It should be noted that, in an alternative embodiment of the present invention, the user equipment may generate a plurality of MAC PDU packets, and at this time, the user equipment sets an indication bit in a header of the MAC PDU packet, where the indication bit is used to indicate whether the MAC PDU packet is a last data packet. After receiving the MAC PDU packet, the base station further detects whether the indication bit is set, if so, the base station indicates that the MAC PDU packet is the last data packet sent by the user equipment, and at the moment, the base station can send ACK response information to the user equipment. If not, the MAC PDU packet is not the last data packet sent by the user equipment, and the ACK response information is not sent to the user equipment until the last MAC PDU packet is received.
Referring to fig. 12, fig. 12 is a timing chart of another embodiment of the method for receiving the device identification code according to the present invention. As shown in fig. 12, it shows the transmission time of the pilot signal, the discovery target report message, the MAC PDU packet, and the ACK response message in an alternative embodiment, wherein the dotted box shows the latest transmission time.
Referring to fig. 13, fig. 13 is a schematic device structure diagram of an embodiment of a ue according to the present invention. As shown in fig. 13, the user equipment 10 of the embodiment of the present invention includes:
a detecting module 161, configured to detect a first neighboring user equipment, and acquire a device identifier code of the first neighboring user equipment when the first neighboring user equipment is detected;
a receiving module 162 for receiving control information from the target device 20;
a transmitting module 163 for transmitting the device identification code of the first neighboring user equipment to the target device 20 in a non-synchronous manner according to the control information;
the sending module 163 is specifically configured to: stopping sending the device identification code of the first neighboring user equipment to the target device 20 within a preset effective time according to the control information, and sending the device identification code of the first neighboring user equipment to the target device 20 after the preset effective time; or uniformly transmit the device identification codes of the plurality of first neighboring user devices acquired by the detection module 161 within a predetermined time period to the target device 20 according to the control information.
In this embodiment, the ue 10 transmits the device id of the first neighboring ue to the target device 20 in an asynchronous manner, and compared with a synchronous transmission manner in which the device id of the neighboring ue 10 is synchronously transmitted to the target device 20 immediately after detecting one neighboring ue 10 and acquiring the device id of the neighboring ue 10, the transmission method of the device id of this embodiment can avoid continuously establishing a synchronous connection with the target device 20, so that the frequency of transmitting the device id can be reduced, channel resources can be saved, and power consumption of the ue 10 can be reduced.
Referring to fig. 14, fig. 14 is a flowchart of another embodiment of the ue 10 according to the present invention, in which the control information is a pre-download packet and the target device 20 is a server, as shown in fig. 14, the ue 10 according to the present invention includes:
the detecting module 111 is configured to detect a first neighboring user equipment, and acquire a device identification code of the first neighboring user equipment when the first neighboring user equipment is detected.
And the sending module is used for sending the RRC link establishment signaling to the server to establish the RRC link with the server.
The sending module 113 is further configured to send the device identifier to the server through an RRC link, so that the server finds the device identifier in the proximity relation table, generates a pre-download information packet according to the proximity relation table, and sends the pre-download information packet to the user equipment 10 through an RAB channel, where the pre-download information packet includes a preset validity time, a neighboring device identifier corresponding to the device identifier of the first neighboring user equipment, and a user identifier corresponding to the neighboring device identifier, where the neighboring device identifier is the device identifier of the user equipment 10 within a predetermined distance from the first neighboring user equipment.
The receiving module 112 is configured to receive the pre-download information package.
A storage module for storing the proximity device identification code and a user identification code corresponding to the proximity device identification code and the device identification code of the first proximity user device.
The sending module 113 is further configured to stop sending the device identification code of the first neighboring device or the neighboring device identification code to the server when the detection module 111 acquires the device identification code of the first neighboring device or the neighboring device identification code within the preset valid time; and when the detection module 111 acquires the device identification code of the first neighboring device or the neighboring device identification code after the preset valid time, the device identification code of the first neighboring device or the neighboring device identification code is sent to the server.
Specifically, the detecting module 111 obtains the device identifier code of the second neighboring user equipment when the second neighboring user equipment is found, and the sending module 113 determines whether the device identifier code of the second neighboring user equipment is one of the device identifier code of the first neighboring user equipment and the device identifier code of the neighboring user equipment, if so, stops sending the device identifier code of the second neighboring user equipment to the server within a preset valid time, and if not, sends the device identifier code of the second neighboring user equipment to the server.
Optionally, the sending module 113 is further configured to clear the stored neighboring device identification code and the user identification code corresponding to the neighboring device identification code after the preset valid time is over.
In contrast to the synchronous transmission mode in which the device identification codes of the neighboring user devices 10 are synchronously transmitted to the target device 20 immediately after one of the neighboring user devices 10 is detected and the device identification codes of the neighboring user devices 10 are acquired, the user device 10 transmits the device identification code of the first neighboring user device to the target device 20 in a non-synchronous manner. Specifically, in this embodiment, when the user equipment 10 acquires the device identification code of the first neighboring device or the neighboring device identification code within the preset valid time, the user equipment stops sending the device identification code of the first neighboring device or the neighboring device identification code to the server; and when the device identification code of the first neighboring device or the neighboring device identification code is acquired after the preset valid time, the device identification code of the first neighboring device or the neighboring device identification code is sent to the server, and the asynchronous sending method only sends the relevant information to the target device 20 after the preset valid time, so that the continuous establishment of synchronous connection with the target device 20 can be avoided, the frequency of sending the device identification code can be reduced, the channel resource can be saved, and the power consumption of the user equipment 10 can be reduced.
Referring to fig. 15, fig. 15 is a flowchart of another embodiment of the ue 10 according to the present invention, in which the control information is a discovery target reporting message and the target device 20 is a base station, as shown in fig. 14, the ue 10 according to the present invention includes:
the detecting module 121 is configured to detect a plurality of first neighboring user equipments within a predetermined time period, and acquire a device identification code of the first neighboring user equipment when the first neighboring user equipment is detected.
A receiving module 122, configured to receive a discovery target report message from a base station through a shared channel broadcasted by the base station, where the discovery target report message includes an ACK/NACK indicator and a pilot identifier.
A data packet generating module 124, configured to set, after the receiving module 122 receives the discovery target reporting message, the device identifier codes of the multiple first neighboring user devices and the user identifier code corresponding to the user device 10 in the MAC PDU packet;
a sending module 123, configured to send the MAC PDU packet to the base station through the shared channel.
Optionally, the sending module 123 is specifically configured to send the MAC PDU packet to the base station through the shared channel when a preset condition is met, where the preset condition is: the sending module 123 confirms that the ACK/NACK indication position in the report message of the discovery target is set as ACK.
Optionally, the header of the MAC PDU packet is provided with an indication bit, where the indication bit is used to indicate whether the MAC PDU packet is the last data packet.
Optionally, the user identification code is embodied as a device identification code of the user device 10.
Optionally, the sending module 123 sends the MAC PDU packet to the base station through the shared channel when it is determined that the ACK/NACK indication position in the target report message is set to NACK and waiting for the shared channel to be in an idle state.
In this embodiment, the ue 10 obtains the device identification codes of multiple first neighboring ues in a predetermined time period, receives a discovery target report message from the base station through a shared channel broadcast by the base station, sets the device identification codes of the multiple first neighboring ues and the user identification code corresponding to the ue 10 in an MAC PDU packet in response to the discovery target report message, sends the MAC PDU packet to the base station through the shared channel, and the base station parses the MAC PDU packet, generates an S1AP FP packet according to the device identification codes of the multiple first neighboring ues and the user identification corresponding to the ue 10, and sends the S1AP FP packet to the server. Therefore, the ue 10 does not perform synchronous transmission immediately after acquiring the device id of the first neighboring ue, but acquires the device ids of a plurality of first neighboring ues in a predetermined time period, and then transmits the MAC PDU packet to the base station through the shared channel broadcasted by the base station, and the base station parses the MAC PDU packet to generate an S1AP FP packet and transmits the S1AP FP packet to the server, so that the server acquires the uniformly transmitted device ids of the plurality of first neighboring ues in an asynchronous transmission manner. The asynchronous sending method uniformly sends the relevant information to the base station, and the base station forwards the relevant information to the server, so that the continuous establishment of synchronous connection with the base station can be avoided, the sending frequency of the equipment identification code can be reduced, the channel resource is saved, and the electric quantity loss of the user equipment 10 is reduced.
Referring to fig. 16, fig. 16 is a schematic structural diagram of an apparatus of an embodiment of a target device 20 according to the embodiment of the present invention. As shown in fig. 16, the target device 20 of the embodiment of the present invention includes:
a sending module 261, configured to send control information to the user equipment 10;
a receiving module 262, configured to receive a device identification code of a first neighboring user equipment, sent by the user equipment 10 in a non-synchronous manner according to the control information, where the device identification code of the first neighboring user equipment is obtained by the user equipment 10 from the first neighboring user equipment when the first neighboring user equipment is detected;
the receiving module 262 is specifically configured to: receiving the device identification code of the first neighboring user equipment, which is sent by the user equipment 10 after the preset time and stops sending within the preset effective time according to the control information; or receiving the device identification codes of a plurality of first neighboring user devices, which are acquired within a predetermined time period and uniformly transmitted by the user device 10 according to the control information.
In the prior art, the target device 20 prepares to establish a connection with the ue 10 that has just detected the device id of the neighboring ue 10 at any time and receives the device id of the neighboring ue 10, but in this embodiment, the target device 20 receives the device id of the first neighboring ue that is sent by the ue 10 in an asynchronous manner, and does not need to establish a connection with the ue 10 at any time, so the receiving method of the device id of this embodiment can avoid establishing a synchronous connection with the ue 10 as soon as the device id of the first neighboring ue is detected, and can reduce the frequency of receiving the device id, save channel resources, and reduce the power consumption of the ue 10.
Referring to fig. 17, fig. 17 is a schematic structural diagram of an apparatus of an embodiment of a target device 20 according to the embodiment of the present invention. In this embodiment, the control information is a pre-download information packet, and the target device 20 is a server, as shown in fig. 17, the server in this embodiment of the present invention includes:
a receiving module 211, configured to receive an apparatus identifier sent by the user equipment 10 through an RRC link, where the RRC link is established between the user equipment 10 and the server through an RRC link establishment signaling;
a pre-download packet generation module 212, configured to search the device identification code in the adjacency list, and generate a pre-download information packet according to the adjacency list, where the pre-download information packet includes a preset validity time, a neighboring device identification code corresponding to the device identification code of the first neighboring user device, and a user identification code corresponding to the neighboring device identification code, and the neighboring device identification code is a device identification code of the user device 10 that is within a predetermined distance from the first neighboring user device;
a sending module 213, configured to send the pre-download packet to the user equipment 10 through the RAB channel so that the user equipment 10 receives the pre-download information packet from the server, and store the neighboring device identification code corresponding to the device identification code of the first neighboring user equipment and the user identification code corresponding to the neighboring device identification code;
the receiving module 211 is configured to receive the device identification code of the first neighboring device or the neighboring device identification code sent when the user equipment 10 acquires the device identification code of the first neighboring device or the neighboring device identification code after the preset valid time.
Optionally, the server further includes a proximity relation table generating module and a storage module, where the storage module is configured to store an electronic map, location information registered by a plurality of different user devices 10, and a device identification code; the proximity relation table generating module is configured to generate a proximity relation table based on the electronic map, the location information registered by the plurality of different user devices 10, and the device identification code.
Optionally, the server further includes a proximity relation table generating module, and the receiving module 211 is configured to receive the location information and the device identification code sent by the multiple different user devices 10, and the electronic map; and the proximity relation table generating module is used for generating a proximity relation table according to the position information, the electronic map and the equipment identification code.
Optionally, the server further includes a proximity relation table generating module, and the receiving module 211 is configured to receive the device identification codes respectively transmitted by the multiple different user devices 10 and the device identification code of the detected neighboring user device 10 with the highest frequency; the proximity relation table generating module is used for generating the proximity relation table according to the device identification code and the device identification code of the detected proximity user device 10 with the highest frequency.
In contrast to the synchronous transmission mode in which the device identification codes of the neighboring user devices 10 are synchronously transmitted to the target device 20 immediately after one of the neighboring user devices 10 is detected and the device identification codes of the neighboring user devices 10 are acquired, the user device 10 transmits the device identification code of the first neighboring user device to the target device 20 in a non-synchronous manner. Specifically, in this embodiment, when the user equipment 10 acquires the device identification code of the first neighboring device or the neighboring device identification code within the preset valid time, the user equipment stops sending the device identification code of the first neighboring device or the neighboring device identification code to the server; and when the device identification code of the first neighboring device or the neighboring device identification code is acquired after the preset valid time, the device identification code of the first neighboring device or the neighboring device identification code is sent to the server, and the asynchronous sending method only sends the relevant information to the target device 20 after the preset valid time, so that the server can be prevented from continuously establishing synchronous connection with the user equipment 10, the frequency of receiving the device identification code can be reduced, channel resources are saved, and the power consumption of the user equipment 10 is reduced.
Referring to fig. 18, fig. 18 is a schematic structural diagram of an apparatus of another embodiment of the target device 20 according to the embodiment of the present invention. In this embodiment, the control information is a discovery target reporting message, and the target device 20 is a base station, as shown in fig. 17, the base station in the embodiment of the present invention includes:
a broadcasting module 211, configured to broadcast a shared channel;
a sending module 222, configured to send a discovery target reporting message to the user equipment 10 through a shared channel broadcasted by the base station, where the discovery target reporting message includes an ACK/NACK indicator and a pilot identifier;
a receiving module 223, configured to receive a MAC PDU packet sent by the ue 10 through the shared channel, where the MAC PDU packet is generated by setting, in the MAC PDU packet, the device identification codes of multiple first neighboring ues and the user identification codes corresponding to the ue 10 after the ue 10 receives the discovery target reporting message, and the device identification code of the first neighboring ue is obtained from the multiple first neighboring ues when the ue 10 detects the multiple first neighboring ues within a predetermined time period.
The base station may further include a data packet generating module, where the data packet parsing module is configured to parse the MAC PDU packet and generate an S1AP FP packet according to the device identification code of the first neighboring user equipment and the user identification code corresponding to the user equipment 10; the sending module 222 is further configured to send the S1AP FP packet to a server connected to the base station.
The user identification code is in particular a device identification code of the user device 10.
Optionally, the sending module 222 is configured to send ACK response information to the user equipment 10 after the receiving module 223 receives the MAC PDU packet sent by the user equipment 10 through the shared channel broadcasted by the base station, where the ACK response information is provided with the equipment identification code of the user equipment 10.
Optionally, the sending module 222 sends the discovery target reporting message to the user equipment 10 through the shared channel broadcasted by the base station, when a preset condition is met, where the preset condition is: the receiving module 223 receives a pilot signal sent by the user equipment 10 through the shared channel, where the pilot signal carries a pilot identifier.
In this embodiment, the ue 10 obtains the device identification codes of multiple first neighboring ues in a predetermined time period, receives a discovery target report message from the base station through a shared channel broadcast by the base station, sets the device identification codes of the multiple first neighboring ues and the user identification code corresponding to the ue 10 in an MAC PDU packet in response to the discovery target report message, sends the MAC PDU packet to the base station through the shared channel, and the base station parses the MAC PDU packet, generates an S1AP FP packet according to the device identification codes of the multiple first neighboring ues and the user identification corresponding to the ue 10, and sends the S1AP FP packet to the server. Therefore, the ue 10 does not perform synchronous transmission immediately after acquiring the device id of the first neighboring ue, but acquires the device ids of a plurality of first neighboring ues in a predetermined time period, and then transmits the MAC PDU packet to the base station through the shared channel broadcasted by the base station, and the base station parses the MAC PDU packet to generate an S1AP FP packet and transmits the S1AP FP packet to the server, so that the server acquires the uniformly transmitted device ids of the plurality of first neighboring ues in an asynchronous transmission manner. The asynchronous sending method uniformly sends the relevant information to the base station, so that the base station can be prevented from continuously establishing synchronous connection with the user equipment 10, the frequency of receiving equipment identification codes can be reduced, channel resources are saved, and the electric quantity loss of the user equipment 10 is reduced.
Referring to fig. 19, fig. 19 is a schematic device structure diagram of an embodiment of the user equipment 10 according to the present invention. As shown in fig. 19, the ue 10 of the embodiment of the present invention includes a memory 131, a transceiver module 132, a processor 133, and a bus 134, wherein the memory 131, the transceiver module 132, and the processor 133 are respectively coupled to the bus 134, and wherein:
the transceiving module 132 is configured to detect a first neighboring ue, and acquire a device identifier of the first neighboring ue when the first neighboring ue is detected;
a transceiving module 132 for receiving control information from the target device 20;
a memory 131 for storing a program for controlling the transceiver module 132 to transmit the device identification code of the first neighboring ue to the target device 20 in an asynchronous manner according to the control information;
wherein the program is specifically for: controlling the transceiving module 132 to stop sending the device identification code of the first neighboring user equipment to the target device 20 within the preset valid time according to the control information, and sending the device identification code of the first neighboring user equipment to the target device 20 after the preset valid time; or control the transceiving module 132 to uniformly send the device identification codes of the plurality of first neighboring user devices acquired within the predetermined time period to the target device 20 according to the control information;
and a processor 133 for running the program.
In this embodiment, the ue 10 transmits the device id of the first neighboring ue to the target device 20 in an asynchronous manner, and compared with a synchronous transmission manner in which the device id of the neighboring ue 10 is synchronously transmitted to the target device 20 immediately after detecting one neighboring ue 10 and acquiring the device id of the neighboring ue 10, the transmission method of the device id of this embodiment can avoid continuously establishing a synchronous connection with the target device 20, so that the frequency of transmitting the device id can be reduced, channel resources can be saved, and power consumption of the ue 10 can be reduced.
Referring to fig. 20, fig. 20 is a schematic device structure diagram of another embodiment of the ue 10 according to the present invention. As shown in fig. 20, the user equipment 10 according to the embodiment of the present invention includes a memory 141, a transceiver module 142, a processor 143, and a bus 144, where the memory 141, the transceiver module 142, and the processor 143 are respectively coupled to the bus 144, and:
the transceiving module 142 is configured to establish an RRC connection with the server by sending an RRC connection establishment signaling to the server.
The transceiving module 142 is configured to send the device identifier to the server through an RRC link, so that the server finds the device identifier in the proximity relation table, generates a pre-download packet according to the proximity relation table, and sends the pre-download packet to the ue 10 through an RAB channel, where the pre-download packet includes a preset validity time, a neighboring device identifier corresponding to the device identifier of the first neighboring ue, and a user identifier corresponding to the neighboring device identifier, where the neighboring device identifier is the device identifier of the ue 10 within a predetermined distance from the first neighboring ue.
The transceiving module 142 is configured to receive the pre-download information packet.
A memory 141 for storing the neighboring device identification code and the user identification code corresponding to the neighboring device identification code and the device identification code of the first neighboring user device.
A program, configured to control the transceiver module 142 to stop sending the device identifier code of the first neighboring device or the neighboring device identifier code to the server when the transceiver module acquires the device identifier code of the first neighboring device or the neighboring device identifier code within a preset effective time; or the transceiver module 142 is controlled to send the device identification code of the first neighboring device or the neighboring device identification code to the server when acquiring the device identification code of the first neighboring device or the neighboring device identification code after the preset valid time.
A processor 143 for running the program.
Optionally, the transceiving module 142 acquires the device identifier of the second neighboring user equipment when the second neighboring user equipment is discovered; the program is configured to determine whether the device identifier of the second neighboring ue is the device identifier of the first neighboring ue or one of the neighboring device identifiers, control the transceiver module 142 to stop sending the device identifier of the second neighboring ue to the server within a preset valid time if the device identifier of the second neighboring ue is the device identifier of the first neighboring ue, and control the transceiver module 142 to send the device identifier of the second neighboring ue to the server if the device identifier of the second neighboring ue is not the device identifier of the first neighboring ue.
Optionally, the program is configured to erase the stored neighboring device identification code and the user identification code corresponding to the neighboring device identification code after the preset validity time is over.
In contrast to the synchronous transmission mode in which the device identification codes of the neighboring user devices 10 are synchronously transmitted to the target device 20 immediately after one of the neighboring user devices 10 is detected and the device identification codes of the neighboring user devices 10 are acquired, the user device 10 transmits the device identification code of the first neighboring user device to the target device 20 in a non-synchronous manner. Specifically, in this embodiment, when the user equipment 10 acquires the device identification code of the first neighboring device or the neighboring device identification code within the preset valid time, the user equipment stops sending the device identification code of the first neighboring device or the neighboring device identification code to the server; and when the device identification code of the first neighboring device or the neighboring device identification code is acquired after the preset valid time, the device identification code of the first neighboring device or the neighboring device identification code is sent to the server, and the asynchronous sending method only sends the relevant information to the target device 20 after the preset valid time, so that the continuous establishment of synchronous connection with the target device 20 can be avoided, the frequency of sending the device identification code can be reduced, the channel resource can be saved, and the power consumption of the user equipment 10 can be reduced.
Referring to fig. 21, fig. 21 is a schematic structural diagram of an apparatus of another embodiment of the ue 10 according to the embodiment of the present invention. As shown in fig. 21, the user equipment 10 of the embodiment of the present invention includes a memory 151, a transceiver module 152, a processor 153, and a bus 154, and the memory 151, the transceiver module 152, and the processor 153 are respectively coupled to the bus 154, where:
a transceiving module 152, configured to detect multiple first neighboring ue devices within a predetermined time period, and acquire a device identifier of the first neighboring ue device when the first neighboring ue device is detected;
a transceiving module 152, configured to receive a discovery target report message from a base station via a shared channel broadcasted by the base station, where the discovery target report message includes an ACK/NACK indicator and a pilot identifier;
a program, configured to set, after the transceiver module 152 receives the discovery target reporting message, the device identification codes of the multiple first neighboring user devices and the user identification code corresponding to the user device 10 in the MAC PDU packet;
the transceiving module 152 is configured to transmit the MAC PDU packet to the base station through the shared channel.
And a processor 153 for running the program.
Optionally, the program is specifically configured to control the transceiver module 152 to send the MACPDU packet to the base station through the shared channel when a preset condition is met, where the preset condition is: and the sending module confirms that the ACK/NACK indication position in the report message of the discovery target is set as ACK.
Optionally, the header of the MAC PDU packet is provided with an indication bit, where the indication bit is used to indicate whether the MAC PDU packet is the last data packet.
Optionally, the user identification code is embodied as a device identification code of the user device 10.
Optionally, when the program determines that the ACK/NACK indication position in the target report message is set to NACK, the control transceiver module 152 waits for the shared channel to be in an idle state, and then sends the MAC PDU packet to the base station through the shared channel.
In this embodiment, the ue 10 obtains the device identification codes of multiple first neighboring ues in a predetermined time period, receives a discovery target report message from the base station through a shared channel broadcast by the base station, sets the device identification codes of the multiple first neighboring ues and the user identification code corresponding to the ue 10 in an MAC PDU packet in response to the discovery target report message, sends the MAC PDU packet to the base station through the shared channel, and the base station parses the MAC PDU packet, generates an S1AP FP packet according to the device identification codes of the multiple first neighboring ues and the user identification corresponding to the ue 10, and sends the S1AP FP packet to the server. Therefore, the ue 10 does not perform synchronous transmission immediately after acquiring the device id of the first neighboring ue, but acquires the device ids of a plurality of first neighboring ues in a predetermined time period, and then transmits the MAC PDU packet to the base station through the shared channel broadcasted by the base station, and the base station parses the MAC PDU packet to generate an S1AP FP packet and transmits the S1AP FP packet to the server, so that the server acquires the uniformly transmitted device ids of the plurality of first neighboring ues in an asynchronous transmission manner. The asynchronous sending method uniformly sends the relevant information to the base station, and the base station forwards the relevant information to the server, so that the continuous establishment of synchronous connection with the base station can be avoided, the sending frequency of the equipment identification code can be reduced, the channel resource is saved, and the electric quantity loss of the user equipment 10 is reduced.
Referring to fig. 22, fig. 22 is a schematic structural diagram of an apparatus of an embodiment of the target device 20 according to the embodiment of the present invention. As shown in fig. 22, the target device 20 according to the embodiment of the present invention includes a network interface 231 and a bus 232, the network interface 231 is connected to the bus 232, where:
a network interface 231 for transmitting control information to the user equipment 10;
a network interface 231, configured to receive a device identification code of a first neighboring user equipment, which is sent by the user equipment 10 in a non-synchronous manner according to the control information, wherein the device identification code of the first neighboring user equipment is acquired by the user equipment 10 from the first neighboring user equipment when the first neighboring user equipment is detected;
the network interface 231 is specifically configured to: receiving the device identification code of the first neighboring user equipment, which is sent by the user equipment 10 after the preset time and stops sending within the preset effective time according to the control information; or receiving the device identification codes of a plurality of first neighboring user devices, which are acquired within a predetermined time period and uniformly transmitted by the user device 10 according to the control information.
In the prior art, the target device 20 prepares to establish a connection with the ue 10 that has just detected the device id of the neighboring ue 10 at any time and receives the device id of the neighboring ue 10, but in this embodiment, the target device 20 receives the device id of the first neighboring ue that is sent by the ue 10 in an asynchronous manner, and does not need to establish a connection with the ue 10 at any time, so the receiving method of the device id of this embodiment can avoid establishing a synchronous connection with the ue 10 as soon as the device id of the first neighboring ue is detected, and can reduce the frequency of receiving the device id, save channel resources, and reduce the power consumption of the ue 10.
Referring to fig. 23, fig. 23 is a schematic structural diagram of an apparatus of another embodiment of the target device 20 according to the embodiment of the present invention. In this embodiment, the control information is a pre-download packet, and the target device 20 is a server, as shown in fig. 23, the server in the embodiment of the present invention includes a network interface 243, a memory 241, a processor 242, and a bus 244, where the network interface 243, the memory 241, and the processor 242 are respectively connected to the bus 244.
The network interface 243 is used for receiving the device identification code sent by the user equipment 10 through the RRC link, where the RRC link is established between the user equipment 10 and the server through RRC link establishment signaling.
The memory 241 is configured to store a program, where the program searches for the device identification code in the proximity relation table, and generates a pre-download information packet according to the proximity relation table, where the pre-download information packet includes a preset valid time, a neighboring device identification code corresponding to the device identification code of the first neighboring user device, and a user identification code corresponding to the neighboring device identification code, and the neighboring device identification code is a device identification code of the user device 10 within a predetermined distance from the first neighboring user device.
And a processor 242 for running the program.
A network interface 243 for transmitting the pre-download packet to the user equipment 10 through the RAB channel so that the user equipment 10 receives the pre-download information packet from the server, stores a neighbor identification code corresponding to the equipment identification code of the first neighbor user equipment and a user identification code corresponding to the neighbor identification code.
The network interface 243 is configured to receive the device identification code of the first neighboring device or the neighboring device identification code sent when the user equipment 10 acquires the device identification code of the first neighboring device or the neighboring device identification code after the preset valid time.
Optionally, the memory 241 is also used for storing an electronic map, location information registered by a plurality of different user devices 10, and device identification codes; the program is for generating the adjacency list based on the electronic map, the location information registered by the plurality of different user devices 10, and the device identification code.
Optionally, the network interface 243 is used for receiving the position information and the device identification code transmitted by a plurality of different user devices 10, and the electronic map; and the program is used for generating an adjacency relation table according to the position information, the electronic map and the equipment identification code.
Optionally, the network interface 243 is configured to receive device identification codes respectively transmitted by a plurality of different user equipments 10 and device identification codes of detected neighboring user equipments 10 with the highest frequency; the program is for generating the context table based on the device identification code and the device identification code of the detected most frequent neighboring user device 10.
In contrast to the synchronous transmission mode in which the device identification codes of the neighboring user devices 10 are synchronously transmitted to the target device 20 immediately after one of the neighboring user devices 10 is detected and the device identification codes of the neighboring user devices 10 are acquired, the user device 10 transmits the device identification code of the first neighboring user device to the target device 20 in a non-synchronous manner. Specifically, in this embodiment, when the user equipment 10 acquires the device identification code of the first neighboring device or the neighboring device identification code within the preset valid time, the user equipment stops sending the device identification code of the first neighboring device or the neighboring device identification code to the server; and when the device identification code of the first neighboring device or the neighboring device identification code is acquired after the preset valid time, the device identification code of the first neighboring device or the neighboring device identification code is sent to the server, and the asynchronous sending method only sends the relevant information to the target device 20 after the preset valid time, so that the server can be prevented from continuously establishing synchronous connection with the user equipment 10, the frequency of receiving the device identification code can be reduced, channel resources are saved, and the power consumption of the user equipment 10 is reduced.
Referring to fig. 24, fig. 24 is a schematic structural diagram of an apparatus of another embodiment of the target device 20 according to the embodiment of the present invention. In this embodiment, the control information is a discovery target report message, and the target device 20 is a base station, as shown in fig. 24, the base station in the embodiment of the present invention includes a network interface 253, a memory 251, a processor 252, and a bus, where the network interface 253, the memory 251, and the processor 252 are respectively connected to the bus:
a network interface 253 for broadcasting a shared channel;
a network interface 253, configured to send a discovery target report message to the user equipment 10 through a shared channel broadcasted by the base station, where the discovery target report message includes an ACK/NACK indicator and a pilot identifier;
the network interface 253 is configured to receive a MAC PDU packet sent by the ue 10 through the shared channel, where the MAC PDU packet is generated by setting, in the MAC PDU packet, the device identification codes of multiple first neighboring ues and the user identification codes corresponding to the ue 10 after the ue 10 receives the discovery target reporting message, and the device identification code of the first neighboring ue is obtained from the multiple first neighboring ues when the ue 10 detects the multiple first neighboring ues within a predetermined time period.
A memory 251 for storing a program, where the program is configured to parse the MAC PDU packet, and generate an S1AP FP packet according to the device identification code of the first neighboring ue and the user identification code corresponding to the ue 10;
a processor 252 for running a program;
and a network interface 253 for transmitting the S1AP FP packet to a server connected to the base station.
Optionally, the user identification code is embodied as a device identification code of the user device 10.
Optionally, the network interface 253 is configured to send ACK response information to the user equipment 10 after the receiving module receives the MAC PDU packet sent by the user equipment 10 through the shared channel broadcasted by the base station, where the ACK response information is provided with the equipment identification code of the user equipment 10.
Optionally, the network interface 253 sends the discovery target reporting message to the ue 10 through the shared channel broadcasted by the base station under the condition that a preset condition is met, where the preset condition is: the network interface 253 receives a pilot signal sent by the user equipment 10 through the shared channel, where the pilot signal carries a pilot identifier.
In this embodiment, the ue 10 obtains the device identification codes of multiple first neighboring ues in a predetermined time period, receives a discovery target report message from the base station through a shared channel broadcast by the base station, sets the device identification codes of the multiple first neighboring ues and the user identification code corresponding to the ue 10 in an MAC PDU packet in response to the discovery target report message, sends the MAC PDU packet to the base station through the shared channel, and the base station parses the MAC PDU packet, generates an S1AP FP packet according to the device identification codes of the multiple first neighboring ues and the user identification corresponding to the ue 10, and sends the S1AP FP packet to the server. Therefore, the ue 10 does not perform synchronous transmission immediately after acquiring the device id of the first neighboring ue, but acquires the device ids of a plurality of first neighboring ues in a predetermined time period, and then transmits the MAC PDU packet to the base station through the shared channel broadcasted by the base station, and the base station parses the MAC PDU packet to generate an S1AP FP packet and transmits the S1AP FP packet to the server, so that the server acquires the uniformly transmitted device ids of the plurality of first neighboring ues in an asynchronous transmission manner. The asynchronous sending method uniformly sends the relevant information to the base station, so that the base station can be prevented from continuously establishing synchronous connection with the user equipment 10, the frequency of receiving equipment identification codes can be reduced, channel resources are saved, and the electric quantity loss of the user equipment 10 is reduced.
It should be noted that the present invention is particularly suitable for use in an LTE (Long Term Evolution) network.
Through the above disclosure, the present invention discloses a method for transceiving device identifiers and related devices, wherein, compared with a synchronous transmission method in which device identifiers of neighboring user devices are synchronously transmitted to a target device immediately after a neighboring user device is detected and the device identifiers of the neighboring user devices are acquired, the user device transmits a device identifier of a first neighboring user device to the target device in an asynchronous manner, that is: stopping sending the equipment identification code of the first adjacent user equipment to the target equipment within the preset effective time, and sending the equipment identification code of the first adjacent user equipment to the target equipment after the preset effective time; or uniformly transmitting the device identification codes of a plurality of first adjacent user devices to the target device. After the asynchronous transmission mode is adopted, the connection between the user equipment and the target equipment does not need to be established immediately after the user equipment acquires the equipment identification code of the first adjacent user equipment, so that the continuous establishment of synchronous connection between the user equipment and the target equipment can be avoided, the frequency of equipment identification code transmission can be reduced, channel resources are saved, and the electric quantity loss of the user equipment is reduced.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the implementation scheme of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (30)

1. A method for sending a device identification code, comprising:
the method comprises the steps that user equipment detects first adjacent user equipment, and when the first adjacent user equipment is detected, a device identification code of the first adjacent user equipment is obtained;
the user equipment receives control information from target equipment and sends the equipment identification code of the first adjacent user equipment to the target equipment in a non-synchronous mode according to the control information;
wherein, when the control information is a pre-download information packet and the target device is a server, after the step of detecting a first neighboring user device by the user device and acquiring a device identification code of the first neighboring user device when the first neighboring user device is detected, the method further comprises:
the UE establishes an RRC link with the target UE through an RRC link establishment signaling, and sends an equipment identification code of the first neighboring UE to the server through the RRC link, so that the server finds the equipment identification code of the first neighboring UE in an adjacency list, generates a pre-download information packet according to the adjacency list, and sends the pre-download information packet to the UE through an RAB channel, wherein the pre-download information packet comprises preset effective time, a neighboring equipment identification code corresponding to the equipment identification code of the first neighboring UE, and a user identification code corresponding to the neighboring equipment identification code and the equipment identification code of the first neighboring UE, and the neighboring equipment identification code is the equipment identification code of the UE within a predetermined distance from the first neighboring UE;
the user equipment receiving control information from a target equipment and sending the equipment identification code of the first adjacent user equipment to the target equipment in a non-synchronous mode according to the control information comprises the following steps:
the user equipment receives the pre-download information packet from the server, stores the adjacent equipment identification code and a user identification code corresponding to the adjacent equipment identification code and the equipment identification code of the first adjacent user equipment, and stops sending the equipment identification code of the first adjacent user equipment or the adjacent equipment identification code to the server when the equipment identification code of the first adjacent user equipment or the adjacent equipment identification code is acquired within the preset effective time; when the equipment identification code of the first adjacent user equipment or the adjacent equipment identification code is acquired after the preset effective time, the equipment identification code of the first adjacent user equipment or the adjacent equipment identification code is sent to the server;
or,
when the control information is a discovery target reporting message and the target equipment is a base station; the user equipment detects first neighboring user equipment, and acquiring a device identification code of the first neighboring user equipment when the first neighboring user equipment is detected comprises:
the user equipment detects a plurality of first adjacent user equipment within a preset time period, and acquires the equipment identification code of the first adjacent user equipment when the first adjacent user equipment is detected;
the user equipment receiving control information from a target equipment and sending the equipment identification code of the first adjacent user equipment to the target equipment in a non-synchronous mode according to the control information comprises the following steps:
and the user equipment receives the discovery target reporting message from the base station through a shared channel broadcasted by the base station, sets the equipment identification codes of a plurality of first adjacent user equipment and the user identification codes corresponding to the user equipment in an MAC PDU packet after receiving the discovery target reporting message, and sends the MAC PDU packet to the base station through the shared channel, wherein the discovery target reporting message comprises an ACK/NACK indicating bit and a pilot frequency identification.
2. The method of claim 1, wherein the stopping sending the device identification code of the first neighboring user equipment or the neighboring device identification code to the server when the device identification code of the first neighboring user equipment or the neighboring device identification code is acquired within the preset valid time comprises:
the user equipment acquires a device identification code of second adjacent user equipment when discovering the second adjacent user equipment;
the UE judges whether the equipment identification code of the second adjacent UE is the equipment identification code of the first adjacent UE or one of the adjacent equipment identification codes, if so, the UE stops sending the equipment identification code of the second adjacent UE to the server within the preset effective time, and if not, the UE identification code of the second adjacent UE is sent to the server.
3. The method of claim 1, further comprising:
and after the preset effective time is over, the user equipment clears the stored adjacent equipment identification code and the user identification code corresponding to the adjacent equipment identification code.
4. The method of claim 1, wherein the UE transmitting the MAC PDU packet to the base station via the shared channel comprises:
and when the user equipment meets preset conditions, the MAC PDU packet is sent to the base station through the shared channel, wherein the preset conditions are as follows: and the user equipment confirms that the ACK/NACK indication position in the report message of the discovery target is set as ACK.
5. The method of claim 1, wherein an indication bit is set in a header of the MAC PDU packet, and wherein the indication bit is used to indicate whether the MAC PDU packet is a last data packet.
6. The method according to claim 1, wherein the user identification code is a device identification code of the user equipment.
7. The method of claim 1, wherein the ue sends the MAC PDU packet to the base station through the shared channel when the ue determines that an ACK/NACK indicator in the discovery target report message is NACK and waits for the shared channel to be in an idle state.
8. A method for receiving an identification code of a device, comprising:
the target equipment sends control information to the user equipment;
the target equipment receives a device identification code of first adjacent user equipment sent by the user equipment in a non-synchronous mode according to the control information, wherein the device identification code of the first adjacent user equipment is acquired by the user equipment from the first adjacent user equipment when the user equipment detects the first adjacent user equipment;
when the control information is a pre-download information packet and the target device is a server, the receiving, by the target device, the device identification code of the first neighboring user device sent by the user device in an asynchronous manner according to the control information includes:
the server receives the equipment identification code sent by the user equipment through an RRC link, wherein the RRC link is established between the user equipment and the server through an RRC link establishment signaling, the server searches the equipment identification code in an adjacency list, generates the pre-download information packet according to the adjacency list and sends the pre-download information packet to the user equipment through an RAB channel, the pre-download information packet comprises preset effective time, a neighboring equipment identification code corresponding to the equipment identification code of the first neighboring user equipment and a user identification code corresponding to the neighboring equipment identification code, the neighboring equipment identification code is the equipment identification code of the user equipment within a preset distance from the first neighboring user equipment, so that the user equipment receives the pre-download information packet from the server, and stores the neighboring equipment identification code corresponding to the equipment identification code of the first neighboring user equipment and the neighboring equipment identification code Preparing a user identification code corresponding to an identification code, and stopping sending the equipment identification code of the first adjacent user equipment or the adjacent equipment identification code to the server when the equipment identification code of the first adjacent user equipment or the adjacent equipment identification code is obtained within the preset effective time; when the equipment identification code of the first adjacent user equipment or the adjacent equipment identification code is acquired after the preset effective time, the equipment identification code of the first adjacent user equipment or the adjacent equipment identification code is sent to the server;
or,
when the control information is a discovery target reporting message and the target device is a base station,
the target device sending control information to the user device includes:
the base station sends the discovery target reporting message to the user equipment through a shared channel broadcasted by the base station, wherein the discovery target reporting message comprises an ACK/NACK indicating bit and a pilot frequency identifier;
the receiving, by the target device, the device identification code of the first neighboring user equipment sent by the user equipment to the target device in a non-synchronous manner according to the control information includes:
the base station receives a MAC PDU packet sent by the ue through the shared channel, where the MAC PDU packet is generated by setting, in the MAC PDU packet, a device identification code of a plurality of first neighboring ue devices and a user identification code corresponding to the ue after the ue receives the discovery target report message, and the device identification code of the first neighboring ue device is obtained from the plurality of first neighboring ue devices when the ue detects the plurality of first neighboring ue devices within a predetermined time period.
9. The method according to claim 8, wherein the server stores an electronic map, and the server generates the proximity relation table based on the electronic map, location information registered by a plurality of different user devices, and a device identification code.
10. The method of claim 8, wherein the server receives location information and device identification codes transmitted by a plurality of different user devices and an electronic map, and generates the context table according to the location information, the electronic map and the device identification codes.
11. The method according to claim 8, wherein the server receives device identification codes of the plurality of different user equipments and device identification codes of the neighboring user equipments with the highest frequency detected by the plurality of different user equipments, which are transmitted by the plurality of different user equipments, and generates the proximity relation table according to the device identification codes of the plurality of different user equipments and the device identification codes of the neighboring user equipments with the highest frequency detected by the plurality of different user equipments.
12. The method of claim 8, further comprising:
and the base station analyzes the MAC PDU packet, generates an S1application frame protocol packet according to the equipment identification code of the first adjacent user equipment and the user identification code corresponding to the user equipment, and sends the S1application frame protocol packet to a server.
13. The method according to claim 8, wherein the user identification code is a device identification code of the user equipment.
14. The method of claim 13, further comprising:
and after receiving the MAC PDU packet sent by the user equipment through a shared channel broadcasted by the base station, the base station sends ACK response information to the user equipment, wherein the ACK response information is internally provided with an equipment identification code of the user equipment.
15. The method of claim 8, wherein the base station sends the discovery target report message to the ue through a shared channel broadcasted by the base station under a preset condition, where the preset condition is:
and the base station receives a pilot signal sent by the user equipment through the shared channel, wherein the pilot signal carries the pilot identification.
16. A user device, comprising:
the detection module is used for detecting first adjacent user equipment and acquiring a device identification code of the first adjacent user equipment when the first adjacent user equipment is detected;
a receiving module for receiving control information from a target device;
a sending module, configured to send the device identifier of the first neighboring ue to the target device in a non-synchronous manner according to the control information;
wherein, when the control information is a pre-download information packet and the target device is a server, the user device further includes a storage module, wherein:
the sending module is further configured to establish an RRC connection with the server by sending an RRC connection establishment signaling to the server;
the sending module is further configured to send the device identification code to the server through the RRC link, so that the server finds the device identification code in an adjacency list, generates a pre-download information packet according to the adjacency list, and sends the pre-download information packet to the ue through an RAB channel, where the pre-download information packet includes a preset validity time, a neighboring device identification code corresponding to the device identification code of the first neighboring ue, and a user identification code corresponding to the neighboring device identification code, where the neighboring device identification code is a device identification code of the ue within a predetermined distance from the first neighboring ue;
the receiving module is used for receiving the pre-download information packet;
the storage module is used for storing the adjacent equipment identification code and a user identification code corresponding to the adjacent equipment identification code and the equipment identification code of the first adjacent user equipment;
the sending module is configured to stop sending the device identification code of the first neighboring user equipment or the neighboring device identification code to the server when the detection module obtains the device identification code of the first neighboring user equipment or the neighboring device identification code within the preset valid time; when the detection module acquires the equipment identification code of the first adjacent user equipment or the adjacent equipment identification code after the preset effective time, the equipment identification code of the first adjacent user equipment or the adjacent equipment identification code is sent to the server;
or,
when the control information is a discovery target reporting message and the target device is a base station, the ue further includes a data packet generating module, where the discovery target reporting message includes an ACK/NACK indicator and a pilot identifier, where:
the detection module is used for detecting a plurality of first adjacent user equipment within a preset time period and acquiring the equipment identification codes of the first adjacent user equipment when the first adjacent user equipment is detected;
the receiving module is configured to receive the discovery target reporting message from the base station through a shared channel broadcasted by the base station;
the data packet generating module is configured to set, after the receiving module receives the discovery target reporting message, the device identification codes of the plurality of first neighboring user devices and the user identification codes corresponding to the user devices in an MAC PDU packet;
and the sending module is used for sending the MAC PDU packet to the base station through the shared channel.
17. The user equipment of claim 16,
the detection module is used for acquiring the equipment identification code of the second adjacent user equipment when the second adjacent user equipment is discovered;
the sending module is configured to determine whether the device identifier of the second neighboring user equipment is the device identifier of the first neighboring user equipment or one of the neighboring device identifiers, if so, stop sending the device identifier of the second neighboring user equipment to the server within the preset valid time, and if not, send the device identifier of the second neighboring user equipment to the server.
18. The user equipment of claim 16,
and the sending module is used for clearing the stored adjacent equipment identification code and the user identification code corresponding to the adjacent equipment identification code after the preset effective time is over.
19. The user equipment of claim 16,
the sending module is specifically configured to send the MAC PDU packet to the base station through the shared channel when a preset condition is met, where the preset condition is: and the sending module confirms that the ACK/NACK indication position in the report message of the discovery target is set as ACK.
20. The UE of claim 16, wherein an indicator bit is set in a header of the MAC PDU packet, and wherein the indicator bit is used to indicate whether the MAC PDU packet is a last data packet.
21. The UE of claim 16, wherein the UE is a UE ID.
22. The ue of claim 16, wherein the sending module sends the MAC PDU packet to the base station through the shared channel when the sending module determines that an ACK/NACK indication location in the discovery target report message is NACK and waits for the shared channel to be in an idle state.
23. A target device, comprising:
the sending module is used for sending the control information to the user equipment;
a receiving module, configured to receive a device identifier code of a first neighboring user equipment, which is sent by the user equipment in a non-synchronous manner according to the control information, where the device identifier code of the first neighboring user equipment is obtained by the user equipment from the first neighboring user equipment when the user equipment detects the first neighboring user equipment;
wherein, when the control information is a pre-download information packet and the target device is a server, the server further comprises a pre-download packet generation module,
the receiving module is configured to receive the device identification code sent by the user equipment through an RRC link, where the RRC link is established between the user equipment and the server through an RRC link establishment signaling;
the pre-download packet generation module is configured to search the device identification code in an adjacency list, and generate the pre-download information packet according to the adjacency list, where the pre-download information packet includes a preset valid time, a neighboring device identification code corresponding to the device identification code of the first neighboring user device, and a user identification code corresponding to the neighboring device identification code, and the neighboring device identification code is a device identification code of a user device within a predetermined distance from the first neighboring user device;
the sending module is used for sending the pre-download information packet to the user equipment through an RAB channel so that the user equipment receives the pre-download information packet from the server, and storing a neighboring equipment identification code corresponding to the equipment identification code of the first neighboring user equipment and a user identification code corresponding to the neighboring equipment identification code;
the receiving module is configured to receive the device identification code of the first neighboring user equipment or the neighboring device identification code sent when the user equipment acquires the device identification code of the first neighboring user equipment or the neighboring device identification code after the preset valid time;
or,
when the control information is a discovery target reporting message and the target device is a base station, the base station comprises a broadcasting module,
the broadcast module is used for broadcasting a shared channel;
the sending module is configured to send the discovery target reporting message to the user equipment through a shared channel broadcast by the base station, where the discovery target reporting message includes an ACK/NACK indicator and a pilot identifier;
the receiving module is configured to receive a MAC PDU packet sent by the ue through the shared channel, where the MAC PDU packet is generated by setting, in the MAC PDU packet, a device identification code of a plurality of first neighboring ue devices and a user identification code corresponding to the ue after the ue receives the discovery target reporting message, and the device identification code of the first neighboring ue device is obtained by the ue from the plurality of first neighboring ue devices when the ue detects the plurality of first neighboring ue devices within a predetermined time period.
24. The target device of claim 23, wherein the server further comprises a context table generation module and a storage module,
the storage module is used for storing an electronic map, position information registered by a plurality of different user devices and a device identification code;
the proximity relation table generating module is used for generating the proximity relation table according to an electronic map, position information registered by a plurality of different user devices and device identification codes.
25. The target device of claim 23, wherein the server comprises a context table generation module,
the receiving module is used for receiving the position information and the equipment identification code which are sent by a plurality of different user equipment and an electronic map;
and the proximity relation table generating module is used for generating the proximity relation table according to the position information, the electronic map and the equipment identification code.
26. The target device of claim 25, wherein the server comprises a context table generation module,
the receiving module is configured to receive device identification codes of multiple different user equipments sent by multiple different user equipments and device identification codes of neighboring user equipments detected by the multiple different user equipments with the highest frequency;
the proximity relation table generating module is configured to generate the proximity relation table according to the device identification codes of the multiple different user devices and the device identification code of the neighboring user device with the highest frequency detected by the multiple different user devices.
27. The target device of claim 23, wherein the base station further comprises a packet parsing module,
the data packet analysis module is used for analyzing the MAC PDU packet and generating an S1application frame protocol packet according to the equipment identification code of the first adjacent user equipment and the user identification code corresponding to the user equipment;
the sending module is configured to send the S1application frame protocol packet to a server connected to the base station.
28. The target device of claim 23, wherein the user identification code is a device identification code of the user device.
29. The target device of claim 28,
the sending module is configured to send ACK response information to the user equipment after the receiving module receives a MAC PDU packet sent by the user equipment through a shared channel broadcasted by the base station, where the ACK response information is provided with an equipment identification code of the user equipment.
30. The target device of claim 23, wherein the sending module sends the discovery target report message to the ue through the shared channel broadcasted by the base station under a preset condition, where the preset condition is:
and the receiving module receives a pilot signal sent by the user equipment through the shared channel, wherein the pilot signal carries the pilot identifier.
CN201480000237.8A 2014-02-14 2014-02-14 A kind of receiving/transmission method and relevant device of EIC equipment identification code Active CN105103599B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/072107 WO2015120620A1 (en) 2014-02-14 2014-02-14 Equipment identification code transmitting and receiving method and related equipment

Publications (2)

Publication Number Publication Date
CN105103599A CN105103599A (en) 2015-11-25
CN105103599B true CN105103599B (en) 2019-08-13

Family

ID=53799528

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201480000237.8A Active CN105103599B (en) 2014-02-14 2014-02-14 A kind of receiving/transmission method and relevant device of EIC equipment identification code

Country Status (2)

Country Link
CN (1) CN105103599B (en)
WO (1) WO2015120620A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20190088536A (en) 2017-05-09 2019-07-26 후아웨이 테크놀러지 컴퍼니 리미티드 Session management method, terminal, and system
CN109325485B (en) * 2018-08-14 2021-07-09 深圳市云智融科技有限公司 Method and device for processing equipment identification code information
CN111110050B (en) * 2018-11-01 2022-09-13 阿里巴巴集团控股有限公司 Cooking equipment identification code generation method and device and cooking equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1866863A (en) * 2005-11-03 2006-11-22 华为技术有限公司 Vicinage finding method and system for network apparatus
CN102948179A (en) * 2010-06-23 2013-02-27 高通股份有限公司 Event-triggered peer discovery
CN103250435A (en) * 2012-12-31 2013-08-14 华为技术有限公司 Device to device communication method, apparatus and system
WO2014008073A1 (en) * 2012-07-02 2014-01-09 Intel Corporation Sounding reference signal (srs) mechanism for intracell device-to-device (d2d) communication
WO2014018984A1 (en) * 2012-07-27 2014-01-30 Intel Corporation Hybrid automatic repeat request-acknowledge (harq-ack) codebook generation for inter-band time division duplex (tdd) carrier aggregation (ca)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101155382A (en) * 2006-09-25 2008-04-02 北京三星通信技术研究有限公司 Device and method for sending user's set identification and user information
CN101610536B (en) * 2008-06-20 2012-04-18 中兴通讯股份有限公司 Method and terminal for controlling reporting of multiple measurement results in measurement
US20090325578A1 (en) * 2008-06-27 2009-12-31 Nokia Siemens Networks Oy Support for multi-group frequency division duplex wireless network
JP4750877B2 (en) * 2009-06-29 2011-08-17 日本電信電話株式会社 Information collection system, information collection apparatus, and program
CN102104897B (en) * 2009-12-17 2014-04-09 电信科学技术研究院 Method and equipment for prohibiting measurement report
CN102547840A (en) * 2012-01-20 2012-07-04 电信科学技术研究院 Method and device for reporting MDT measurement result

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1866863A (en) * 2005-11-03 2006-11-22 华为技术有限公司 Vicinage finding method and system for network apparatus
CN102948179A (en) * 2010-06-23 2013-02-27 高通股份有限公司 Event-triggered peer discovery
WO2014008073A1 (en) * 2012-07-02 2014-01-09 Intel Corporation Sounding reference signal (srs) mechanism for intracell device-to-device (d2d) communication
WO2014018984A1 (en) * 2012-07-27 2014-01-30 Intel Corporation Hybrid automatic repeat request-acknowledge (harq-ack) codebook generation for inter-band time division duplex (tdd) carrier aggregation (ca)
CN103250435A (en) * 2012-12-31 2013-08-14 华为技术有限公司 Device to device communication method, apparatus and system

Also Published As

Publication number Publication date
WO2015120620A1 (en) 2015-08-20
CN105103599A (en) 2015-11-25

Similar Documents

Publication Publication Date Title
US10743154B2 (en) Method and apparatus for forwarding vehicle to everything service
US8929306B2 (en) NAS-based signaling protocol for overload protection of random access in massive machine type communication
KR101617888B1 (en) Method and apparatus of paging for high power saving reception mode m2m/mtc device communication in a mobile communication system
WO2016188432A1 (en) Machine type communication scheduling method, base station and user equipment
US9072070B2 (en) Mobile wireless devices and methods of operation
KR101592630B1 (en) Wireless communication method, wireless communication apparatus and wireless communication system
US20130260801A1 (en) Apparatus and method for transceiving multicast traffic in a wireless access system supporting machine-to-machine communication
WO2013063579A1 (en) Systems and methods for fast initial network link setup
EP2772101A2 (en) Systems and methods for fast initial network link setup
EP2772097A2 (en) Systems and methods for fast initial network link setup
EP2772114A1 (en) Systems and methods for fast initial network link setup
CN102457825A (en) Transmission method of data and equipment
CN102340826A (en) Data transmission method and device
EP2772098A1 (en) Systems and methods for fast initial network link setup
EP2772099A1 (en) Systems and methods for fast initial network link setup
WO2013063597A1 (en) Systems and methods for fast initial network link setup
CN101772222A (en) Method and system for obtaining MBSFN configuration information of affiliated subdistrict of adjacent base station
CN103945497A (en) Method for transmitting discovery signal in device-to-device communication, and communication terminal and system
CN113661772A (en) Method and device for identifying user equipment context in edge link transmission
JP2014531871A (en) Method and apparatus for transmitting and receiving multicast data in a wireless communication system
CN105103599B (en) A kind of receiving/transmission method and relevant device of EIC equipment identification code
WO2013008993A1 (en) Method and apparatus for transmitting m2m ranging information in a wireless communication system
CN106535352B (en) Method and device for sending and receiving short transmission time interval communication information
CN105682127B (en) A kind of solution of D2D discovery resource contention
CN104113913A (en) Data transmitting method and device

Legal Events

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