CN111031471A - Data transmission method, terminal and base station - Google Patents

Data transmission method, terminal and base station Download PDF

Info

Publication number
CN111031471A
CN111031471A CN201911168578.7A CN201911168578A CN111031471A CN 111031471 A CN111031471 A CN 111031471A CN 201911168578 A CN201911168578 A CN 201911168578A CN 111031471 A CN111031471 A CN 111031471A
Authority
CN
China
Prior art keywords
terminal
request message
communication connection
network device
identifier
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911168578.7A
Other languages
Chinese (zh)
Inventor
刘云川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911168578.7A priority Critical patent/CN111031471A/en
Publication of CN111031471A publication Critical patent/CN111031471A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections
    • H04W76/16Involving different core network technologies, e.g. a packet-switched [PS] bearer in combination with a circuit-switched [CS] bearer

Landscapes

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

Abstract

The embodiment of the invention provides a data transmission method, a terminal and a base station, which are applied to the technical field of communication and are used for solving the problem of complex operation in the whole process of establishing connection between the traditional terminal and the terminal. The method comprises the following steps: a first terminal displays a device connection map, wherein the device connection map comprises N terminal identifications; the first terminal receives a first input of a user to a target terminal identifier in the N terminal identifiers, and sends a first request message to the network equipment, wherein the first request message is used for requesting to establish communication connection between the first terminal and a second terminal indicated by the target terminal identifier; and the first terminal establishes a communication connection between the first terminal and the second terminal and transmits the target data through the communication connection under the condition of receiving a first response message sent by the network equipment, wherein the first response message is used for indicating that the second terminal allows establishing the communication connection with the first terminal.

Description

Data transmission method, terminal and base station
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a data transmission method, a terminal and a base station.
Background
With the development of the mobile internet technology and the wide coverage of the wireless network, data transmission can be performed between the terminals through various transmission modes (for example, data line transmission, bluetooth transmission, WIFI transmission, and the like).
However, any of the above transmission methods has a certain problem. For example, although data line transmission does not need a network, but needs a data line, the overall convenience is not high, although bluetooth transmission does not need a network nor a data line, the transmission speed is slow and limited by the distance between devices, while WIFI transmission does not need a data line and has a fast transmission speed, but needs a terminal to connect to the same WIFI and needs to install the same file transmission application program to perform data transmission, and the operation is relatively complex.
Disclosure of Invention
The embodiment of the invention provides a data transmission method, a terminal and a base station, and aims to solve the problem of complex operation in the whole process of establishing connection between the traditional terminal and the terminal.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present invention provides a data transmission method, which is applied to a first terminal, and the method includes: a first terminal displays a device connection map, wherein the device connection map comprises N terminal identifications; a first terminal receives first input of a user to a target terminal identifier in the N terminal identifiers, wherein one terminal identifier indicates one terminal, and N is an integer greater than 1; responding to the first input, the first terminal sends a first request message to the network equipment, wherein the first request message is used for requesting to establish communication connection between the first terminal and a second terminal, the second terminal is the terminal indicated by the target terminal identification, and the second terminal and the first terminal are both accessed to the network equipment; the first terminal establishes communication connection between the first terminal and the second terminal under the condition of receiving the first response message sent by the network equipment, and transmits target data through the communication connection; the first response message is used for indicating that the second terminal allows establishing the communication connection with the first terminal.
In a second aspect, an embodiment of the present invention further provides a first terminal, where the first terminal includes: the display module is used for displaying a device connection map, and the device connection map comprises N terminal identifications; a receiving module, configured to receive a first input of a target terminal identifier from the N terminal identifiers displayed by the display module, where one terminal identifier indicates one terminal, and N is an integer greater than 1; a sending module, configured to send, in response to the first input received by the receiving module, a first request message to a network device, where the first request message is used to request establishment of a communication connection between a first terminal and a second terminal, the second terminal is a terminal indicated by the target terminal identifier, and both the second terminal and the first terminal access the network device; the establishing module is used for establishing communication connection between the first terminal and the second terminal under the condition of receiving the first response message sent by the network equipment; the execution module is used for transmitting the target data through the communication connection established by the creation module; the first response message is used for indicating that the second terminal allows establishing the communication connection with the first terminal.
In a third aspect, an embodiment of the present invention provides a data transmission method, which is applied to a network device, and the method includes: the network equipment receives a first request message sent by a first terminal; the network device sends a second request message to the second terminal, the second request message is used for requesting to establish the communication connection between the first terminal and the second terminal, and the network device sends a first response message to the first terminal under the condition that the network device receives a second response message sent by the second terminal, and the first response message is used for indicating that the second terminal allows to establish the communication connection with the first terminal.
In a fourth aspect, an embodiment of the present invention further provides a network device, where the network device includes: the receiving module is used for receiving a first request message sent by a first terminal; a sending module, configured to send a second request message to a second terminal, where the second request message is used to request establishment of a communication connection between the first terminal and the second terminal; the sending module is further configured to send a first response message to the first terminal when receiving a second response message sent by the second terminal, where the first response message is used to indicate that the second terminal allows establishing a communication connection with the first terminal.
In a fifth aspect, an embodiment of the present invention provides a terminal, including a processor, a memory, and a computer program stored on the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the data transmission method according to the first aspect.
In a sixth aspect, an embodiment of the present invention provides a network device, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor, and when executed by the processor, the computer program implements the steps of the data transmission method according to the third aspect.
In a seventh aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the data transmission method according to the first aspect or the third aspect.
In the embodiment of the invention, a first terminal displays a device connection map comprising N terminal identifications, one terminal identification indicates one terminal, after the first terminal receives a first input of a target terminal identification in the N terminal identifications by a user, because a second terminal indicated by the target terminal identification and the first terminal are both accessed into the same network device, the first terminal can request to establish a communication connection between the first terminal and the second terminal by sending a first request message to the network device, so that when the first terminal receives a first response message sent by the network device and used for indicating that the second terminal allows to establish the communication connection with the first terminal, the communication connection between the first terminal and the second terminal can be established, thereby realizing direct connection between the first terminal and the second terminal without passing through the network device, and further realizing short-distance quick connection between the terminals through the communication connection, Safe and convenient data sharing.
Drawings
Fig. 1 is a schematic diagram of a possible structure of a communication system according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an android operating system according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a method of data transmission according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating an application of a data transmission method according to an embodiment of the present invention;
fig. 5 is a second schematic diagram illustrating an application of a data transmission method according to an embodiment of the present invention;
fig. 6 is a third schematic diagram illustrating an application of a data transmission method according to an embodiment of the present invention;
fig. 7 is a fourth schematic diagram illustrating an application of a data transmission method according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a first terminal according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a network device according to an embodiment of the present invention;
fig. 10 is a schematic diagram of a hardware structure of a terminal according to an embodiment of the present invention;
fig. 11 is a schematic diagram of a hardware structure of a network device according to an embodiment of the present invention.
Detailed Description
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, 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 application.
It should be noted that "/" in this context means "or", for example, A/B may mean A or B; "and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone.
It should be noted that "a plurality" herein means two or more than two.
It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
It should be noted that, for the convenience of clearly describing the technical solutions of the embodiments of the present invention, in the embodiments of the present invention, words such as "first" and "second" are used to distinguish the same items or similar items with substantially the same functions or actions, and those skilled in the art can understand that the words such as "first" and "second" do not limit the quantity and execution order. For example, the first terminal and the second terminal are for distinguishing different terminals, not for describing a specific order of the terminals.
The technical scheme provided by the invention can be applied to various communication systems, such as a 5G communication system, a future evolution system or a plurality of communication convergence systems and the like. A variety of application scenarios may be included, for example, scenarios such as Machine to Machine (M2M), D2M, macro and micro Communication, enhanced Mobile Broadband (eMBB), ultra high reliability and ultra Low Latency Communication (urrllc), and mass internet of things Communication (mtc). These scenarios include, but are not limited to: communication between the UE and the UE, communication between the network device and the network device, or communication between the network device and the terminal. The embodiment of the invention can be applied to the communication between the network equipment and the terminal in the 5G communication system, or the communication between the terminal and the terminal, or the communication between the network equipment and the network equipment.
Fig. 1 shows a schematic diagram of a possible structure of a communication system according to an embodiment of the present invention. As shown in fig. 1, the communication system includes a network device 11 and at least two terminals (only two are shown in fig. 1, a terminal 21 and a terminal 22, respectively) connected to the network device 11.
In the embodiment of the present invention, the terminal 21 (i.e., the first terminal in the present application) requests to establish a connection between the terminal 21 and the terminal 22 (i.e., the second terminal in the present application) by sending a connection request to the network device 11. The network device 11, upon receiving the connection request, transmits the connection request to the terminal 22. After receiving the connection request, the terminal 22 establishes a connection between the terminals 21 and 22 if the request is granted, and cannot establish a connection between the terminals 21 and 22 if the request is not granted.
The network device 11 may be a base station, a core network device, a transmission and Reception node (TRP), a relay station, an access Point, or the like. The network device 11 may be a Base Transceiver Station (BTS) in a Global System for Mobile communication (GSM) or Code Division Multiple Access (CDMA) network, may be an nb (nodeb) in Wideband Code Division Multiple Access (WCDMA), and may be an eNB or enodeb (evolved nodeb) in LTE. The Network device 11 may also be a wireless controller in a Cloud Radio Access Network (CRAN) scenario. The network device 11 may also be a network device in a 5G communication system or a network device in a future evolution network. The words used are not to be construed as limitations of the invention.
The terminals 21 and 22 may be wireless terminal devices or wired terminal devices, and the wireless terminal devices may be devices providing voice and/or other service data connectivity to users, handheld devices with wireless communication functions, computing devices or other processing devices connected to wireless modems, mobile phones, tablet computers, notebook computers, palm computers, vehicle-mounted terminal devices, wearable devices, ultra-mobile personal computers (UMPCs), netbooks or Personal Digital Assistants (PDAs), terminal devices in future 5G networks or terminal devices in future evolved PLMN networks, and the like. A Wireless terminal device may communicate with one or more core networks via a Radio Access Network (RAN), and may be a mobile terminal device, such as a mobile phone (or "cellular" phone) and a computer with a mobile terminal device, for example, a portable, pocket, hand-held, computer-embedded or vehicle-mounted mobile device, which exchanges languages and/or data with the RAN, and Personal Communication Service (PCS) phones, cordless phones, Session Initiation Protocol (SIP) phones, Wireless Local Loop (WLL) stations, Personal Digital Assistants (PDAs), and the like, and may also be a mobile device, UE terminal device, Access terminal device, Wireless Communication device, terminal device unit, or the like, A Terminal equipment Station, a Mobile Station (Mobile Station), a Mobile Station (Mobile), a Remote Station (Remote Station), a Remote Station, a Remote Terminal equipment (Remote Terminal), a Subscriber Unit (Subscriber Unit), a Subscriber Station (Subscriber Station), a User Agent (User Agent), a Terminal equipment device, and the like. As an example, in the embodiment of the present invention, fig. 1 illustrates that the terminal is a mobile phone.
An execution main body of the data transmission method provided in the embodiment of the present invention may be the first terminal (including a mobile terminal and a non-mobile terminal), or may also be a functional module and/or a functional entity capable of implementing the data transmission method in the first terminal, which may be determined specifically according to actual use requirements, and the embodiment of the present invention is not limited. The following takes a terminal as an example to exemplarily explain a data transmission method provided by the embodiment of the present invention.
The first terminal and the second terminal in the embodiment of the present invention may be terminals having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present invention are not limited in particular.
The following describes a software environment to which the data transmission method provided by the embodiment of the present invention is applied, by taking an android operating system as an example.
Fig. 2 is a schematic diagram of an architecture of an android operating system according to an embodiment of the present invention. In fig. 2, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the data transmission method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 2, so that the data transmission method may operate based on the android operating system shown in fig. 2. That is, the processor or the terminal may implement the data transmission method provided by the embodiment of the present invention by running the software program in the android operating system.
In combination with the above, the solution provided herein will be explained with reference to the accompanying drawings.
The data transmission method according to the embodiment of the present invention is described below with reference to a flow chart of the data transmission method shown in fig. 3, and as shown in fig. 3, the data transmission method provided in the embodiment of the present invention specifically includes the following steps 301 to 307:
step 301: the first terminal display device is connected with the map.
In the embodiment of the present invention, the device connection map includes N terminal identifiers, where N is a positive integer greater than 1, and one terminal identifier indicates one terminal.
Optionally, in this embodiment of the present invention, the device connection map may display terminal identifiers corresponding to N terminals closest to the first terminal. Illustratively, the terminal identifier is information such as a head portrait, an account number, and the like of the terminal associated user.
Optionally, in this embodiment of the present invention, before the step 301, the method further includes a step 301 a:
step 301 a: in the case where a first terminal accesses a network device, the first terminal generates a device connection map.
In an embodiment of the present invention, the device connection map includes a terminal identifier of at least one terminal located within a network coverage area of the network device.
In this way, after the first terminal is successfully connected to the network device, a device connection map including terminal identifiers of a plurality of terminals located within a network coverage area of the network device is generated, so that a user can quickly identify a target terminal to be connected based on the terminal identifiers in the device connection map.
Step 302: the first terminal receives a first input of a target terminal identifier in the N terminal identifiers from a user.
Illustratively, the first input may include: the click input of the user on the target terminal identifier, or the slide input of the user on the target terminal identifier, or the press input of the user on the target terminal identifier, or other feasible inputs of the user on the target terminal identifier may be determined specifically according to actual use requirements, and the embodiment of the present invention is not limited.
For example, the click input may be a single click input, a double click input, or any number of click inputs; the click input may be a long-press input or a short-press input, the slide input may be a slide input in any direction, for example, a slide in an upward direction, a slide in a downward direction, a slide in a leftward direction, or a slide in a rightward direction, and a slide trajectory of the slide input may be a straight line or a curved line, and may be specifically set according to actual requirements.
Step 303: in response to the first input, the first terminal sends a first request message to the network device.
Step 304: the network equipment receives a first request message sent by a first terminal.
Step 305: the network device sends a second request message to the second terminal.
In this embodiment of the present invention, the first request message is used to request to establish a communication connection between the first terminal and the second terminal, and the second request message is used to request to establish a communication connection between the first terminal and the second terminal.
In the embodiment of the present invention, the second terminal is the terminal indicated by the target terminal identifier, and the first terminal and the second terminal are both terminals accessing the same network device.
Optionally, in this embodiment of the present invention, the first request message includes a first terminal ID of the first terminal and a second terminal ID of the second terminal. Thus, after receiving the first request message, the network device can quickly determine the request source device and the request receiving device based on the terminal ID contained in the first request message, and further quickly establish a D2D connection between the two terminals through the network device.
Illustratively, the first request message may further include at least one of: a request code requesting establishment of a communication connection between the first terminal and the second terminal, a device code of the network device. Wherein the first terminal ID includes: the method comprises the steps that equipment codes of a first terminal are obtained, and the first terminal is associated with information such as a head portrait and an account number of a user; the second terminal ID includes: and the second terminal is associated with information such as the head portrait, the account number and the like of the user.
Step 306: and the network equipment sends the first response message to the first terminal under the condition of receiving the second response message sent by the second terminal.
Step 307: and the first terminal establishes communication connection between the first terminal and the second terminal under the condition of receiving the first response message sent by the network equipment, and transmits the target data through the communication connection.
In this embodiment of the present invention, the first response message is used to indicate that the second terminal allows establishing a communication connection with the first terminal.
Illustratively, the first terminal can also establish communication connection with a plurality of second terminals at the same time.
For example, the first terminal sends a request message to the terminals corresponding to the plurality of terminal identifications in the device connection map, where each request message includes a second terminal ID of a different terminal, and after the plurality of terminals receive the connection request, the first terminal ID of the first terminal can be checked according to the connection request, and whether to establish a communication connection with the first terminal is determined according to the first terminal ID.
In the data transmission method provided by the embodiment of the present invention, a first terminal displays a device connection map including N terminal identifiers, one terminal identifier indicates one terminal, and after receiving a first input of a target terminal identifier from among the N terminal identifiers by a user, the first terminal requests to establish a communication connection between the first terminal and a second terminal by sending a first request message to the network device because the second terminal and the first terminal indicated by the target terminal identifier are both accessed to the same network device, so that when the first terminal receives a first response message sent by the network device to indicate that the second terminal allows establishing the communication connection with the first terminal, the communication connection between the first terminal and the second terminal can be established, thereby enabling direct connection between the first terminal and the second terminal without passing through the network device, and then the short-distance, safe and convenient data sharing among the terminals is realized through the communication connection.
Optionally, in this embodiment of the present invention, when the first request message includes a second terminal ID of the second terminal, the step 305 may further include the steps 305a1 and 305a 2:
step 305a 1: and the network equipment analyzes the first request message to acquire the ID of the second terminal.
Step 305a 2: the network device searches for a second terminal from terminals accessing the network device based on the second terminal ID, and transmits a second request message to the second terminal.
Thus, after receiving the first request message, the network device can quickly determine the request receiving device based on the second terminal ID included in the first request message, and can further establish a D2D connection between the two terminals as soon as possible through the network device.
Optionally, in this embodiment of the present invention, in a case that the second response message includes the first terminal ID of the first terminal, the step 306 may further include the step 306b1 and the step 306b 2:
step 306b 1: and the network equipment analyzes the second response message to acquire the first terminal ID.
Step 306b 2: the network device searches for the first terminal from terminals accessed to the network device based on the first terminal ID, and sends a first response message to the first terminal.
Thus, after receiving the second response message, the network device can quickly determine the request source device based on the first terminal ID included in the second response message, and can further establish a D2D connection between the two terminals as soon as possible through the network device.
For example, after the first terminal sends the first request message to the network device, the network device obtains the device code of the second terminal included in the first request message by parsing the first request message, and searches for the second terminal based on the device code, thereby sending the second request message to the second terminal. After receiving the second request message, the second terminal may check a first terminal ID included in the second request message, then determine whether to establish a connection with the first terminal according to the first terminal ID, if the second terminal agrees to establish a connection, feed back a second response message to the network Device, the network Device obtains the first terminal ID by parsing the second response message, and send a first response message to the first terminal, after receiving the first response message, the first terminal completes a terminal-to-terminal (Device-to-Device, abbreviated as D2D) connection between the first terminal and the second terminal (i.e., the above communication connection), and after the connection is successful, the first terminal and the second terminal may perform data transmission. On the contrary, if the second terminal does not agree with the connection, the second response message is not fed back to the network device, and the D2D connection between the first terminal and the second terminal cannot be established.
Optionally, in this embodiment of the present invention, the N terminal identifiers include a first type terminal identifier and a second type terminal identifier, where a terminal indicated by the first type terminal identifier is a terminal accessing the network device, and a terminal indicated by the second type terminal identifier satisfies a first condition and a second condition. Wherein the first condition is: the current position of the terminal is positioned in the network coverage range of the network equipment; the second condition includes at least one of: and the terminal which is not accessed to the network equipment rejects the terminal which establishes communication connection with other terminals.
In an example, after a terminal is successfully connected to a network device, a user of the terminal may select to turn on or turn off a device connection map, and when the user selects to turn on the device connection map, the terminal is indicated by a first type of terminal identifier in the device connection map, and otherwise, when the user selects to turn off the device connection map, the terminal is indicated by a second type of terminal identifier in the device connection map.
Illustratively, if a certain terminal identifier is a first-class terminal identifier, it indicates that the terminal indicated by the terminal identifier accepts to establish communication connection with other terminals; otherwise, if a certain terminal identifier is the second type of terminal identifier, it indicates that the terminal indicated by the terminal identifier does not accept to establish communication connection with other terminals.
By way of example, example 1: the first type terminal identification and the second type terminal identification can be represented by icons in two colors, and the icons in the two colors can be icons with the same shape but different colors, such as: the first type of terminal identifier is indicated by a red circular icon, the second type of terminal identifier is indicated by a green circular icon, and example 2: the first type terminal identifier and the second type terminal identifier may also be represented by two icons with different shapes and the same color, for example, a circle indicates the first type terminal identifier, and a diamond indicates the second type terminal identifier. The color may be any possible color such as red, yellow, blue, green, etc., and the shape may be any possible shape such as a circle, a rectangle, a triangle, a diamond, or a polygon, which may be determined according to actual use requirements, and the embodiment of the present invention is not limited.
For example, the terminal identifier displayed in the device connection map may be divided into the following two display modes.
The first display mode is as follows: and all the N terminal identifications displayed by the equipment connection map are first-class terminal identifications.
For example, the following steps are carried out:
as shown in fig. 4, after the first terminal accesses a 5G base station (i.e. a network device), a device connection map (e.g. 41 in fig. 4) is displayed in a main interface of the first terminal, user icons (i.e. the above-mentioned N terminal identifiers) corresponding to 6 terminal users are displayed in the device connection map, which are respectively the user 1, the user 2, the user 3, the user 4, the user 5, and the user 6, and all of the user 1 to the user 6 are first type identifiers, i.e. the above-mentioned user 1 to the user 6 all allow connection to be established with other terminals, so that the user of the first terminal can determine a terminal to establish connection according to the icons and names of the user 1 to the user 6, and when the user of the first terminal determines to establish a D2D connection with the terminal corresponding to the user 1, the user of the first terminal can click (i.e. the above-mentioned first input) the user icon of the user 1 (i.e. the above-, i.e., 42 in fig. 4), thereby sending a first request message to the network device.
The second display mode is as follows: among the N terminal identifiers displayed on the device connection map, one part may be a first type terminal identifier and the other part may be a second type terminal identifier.
For example, the following steps are carried out:
as shown in fig. 5, the device connection map (51 in fig. 5) displayed by the first terminal displays the user avatars corresponding to 6 terminal users (i.e., the above-mentioned N terminal identifiers), since solid circular icons (i.e., the above-mentioned first type terminal identifiers, 52a in fig. 5) are displayed under the user avatars of the users 1, 2, 4, 5, and the icons displayed under the user avatars of the users 3 and 6 are hollow circular icons (i.e., the above-mentioned second type terminal identifiers, 52b in fig. 5), the user of the first terminal can determine the user to establish a connection according to the user avatars and names (i.e., the above-mentioned terminal identifiers) in the users 1, 2, 4, 5, and after determining that a D2D connection is to be established with the terminal corresponding to the user 1, the user of the first terminal can click (i.e., the above-mentioned first input) the user avatar of the user 1 (i.e., the above-mentioned target terminal identifier), a first request message requesting the establishment of a terminal corresponding to the avatar of the user 1 is transmitted.
Therefore, the N terminal identifications displayed in the equipment connection map display the N terminal identification classification marks, so that a user can quickly and intuitively find the terminal identification to be established with communication connection in the equipment connection map, and the terminal corresponding to the terminal identification can quickly establish communication connection.
Optionally, in an embodiment of the present invention, after the step 304, the data transmission method further includes steps a1 to A3:
step A1: the first terminal displays M information identifications.
In an embodiment of the present invention, the one information identifier indicates information, and the information includes at least one of the following: pictures, files, audio, video, contacts, and applications.
Step A2: and the first terminal receives a second input of the target information identifier in the M information identifiers from the user.
Illustratively, the target information identifier is at least one of M information identifiers.
Illustratively, the second input may include: the click input of the user on the target information identifier, or the slide input of the user on the target information identifier, or the press input of the user on the target information identifier, or other feasible inputs of the user on the target information identifier may be determined specifically according to actual use requirements, and the embodiment of the present invention is not limited.
It should be noted that, the above-mentioned click input and the above-mentioned slide input may refer to the above-mentioned description of the first input, and are not described herein again.
Step A3: and responding to the second input, and the first terminal sends the information corresponding to the target information identification to the second terminal.
For example, in a case that a first terminal may establish a communication connection with a second terminal, the first terminal may directly select a target information identifier to implement data transmission with the second terminal.
For example, taking the above information identifier as a picture, as shown in fig. 6, after a connection is established between the first terminal and the second terminal, if a user of the first terminal wants to transmit a picture to the second terminal, an album may be called, an album interface (e.g. 61 in fig. 6) currently displayed by the first terminal is displayed on the album interface 61, thumbnails of 6 pictures (i.e. the above information identifier) are displayed on the album interface 61, and the 6 pictures are respectively picture 1, picture 2, picture 3, picture 4, picture 5, and picture 6. If the user of the first terminal wants to send the picture 2 to the second terminal, the user can click on the thumbnail of the picture 2 (i.e. the target information identifier, such as 62 in fig. 6), so as to directly send the picture 2 to the second terminal.
Therefore, after the first terminal and the second terminal establish communication connection, the target information identifier can be directly selected, and the information corresponding to the target information identifier is sent, so that the whole information sending process is more convenient.
Optionally, when the first terminal establishes communication connections with a plurality of second terminals at the same time, the first terminal displays a plurality of terminal identifiers, and one terminal identifier corresponds to one second terminal, where the step a2 may include the step a21:
step A21: and the first terminal receives a second input that the user drags the target information identifier to the area where the target terminal identifier is located.
For example, after the first terminal establishes communication connections with multiple second terminals at the same time, with reference to fig. 6 and as shown in fig. 7, terminal identifiers (i.e., terminal a and terminal b in fig. 7) of all the second terminals that are successfully connected with the first terminal are displayed in the album interface, and a user of the first terminal may drag a thumbnail of the picture 2 (i.e., the above-mentioned target information identifier, such as 72 in fig. 7) to an area (such as 73 in fig. 7) where the terminal identifier of the terminal a is located, that is, it indicates that the first terminal transmits the picture 2 to the terminal a, thereby completing data sharing between the terminals.
Therefore, after the first terminal is in communication connection with the plurality of terminals, the target information identifier is dragged to the area where the terminal identifier of the second terminal is located, information corresponding to the target information identifier is sent to the second terminal, file transmission among the plurality of terminals is achieved, and operation of sending the target information is more convenient.
Fig. 8 is a schematic structural diagram of a first terminal according to an embodiment of the present invention, and as shown in fig. 8, the first terminal 800 includes: a display module 801, a receiving module 802, a first sending module 803, a creating module 804 and a second sending module 805, wherein: a display module 801, configured to display a device connection map, where the device connection map includes N terminal identifiers; a receiving module 802, configured to receive a first input of a target terminal identifier from N terminal identifiers displayed by the display module 801, where one terminal identifier indicates one terminal, and N is an integer greater than 1; a first sending module 803, configured to send, in response to the first input received by the receiving module 802, a first request message to the network device, where the first request message is used to request to establish a communication connection between a first terminal and a second terminal, the second terminal is a terminal indicated by the target terminal identifier, and both the second terminal and the first terminal access the network device; a creating module 804, configured to establish a communication connection between a first terminal and a second terminal when a first response message sent by a network device is received; a second sending module 805, configured to transmit the target data through the communication connection established by the creating module 804; the first response message is used for indicating that the second terminal allows establishing the communication connection with the first terminal.
Optionally, the display module 801 is further configured to display M information identifiers, where one information identifier indicates one information; the receiving module 802 is further configured to receive a second input of a target information identifier from the M information identifiers from the user; the second sending module 805 is further configured to send, in response to the second input received by the receiving module 802, information corresponding to the target information identifier to the second terminal.
Therefore, after the first terminal and the second terminal are in communication connection, the target information identification can be directly selected, and the information corresponding to the target information identification is sent, so that the whole information sending process is more convenient and faster.
Optionally, the receiving module 802 is specifically configured to receive a second input that the user drags the target information identifier to an area where the target terminal identifier is located.
Therefore, after the first terminal is in communication connection with the second terminal, the target information identifier is dragged to the area where the terminal identifier of the second terminal is located, information corresponding to the target information identifier is sent to the second terminal, file transmission among multiple terminals is achieved, and operation of sending the target information is more convenient and faster.
Optionally, the N terminal identifiers include a first type terminal identifier and a second type terminal identifier; the terminal indicated by the first type terminal identification is a terminal accessed to the network equipment, and the terminal indicated by the second type terminal identification meets a first condition and a second condition; wherein the first condition is: the current position of the terminal is positioned in the network coverage range of the network equipment; the second condition includes at least one of: and the terminal which is not accessed to the network equipment rejects the terminal which establishes communication connection with other terminals.
Therefore, the N terminal identifications displayed in the equipment connection map display the N terminal identification classification marks, so that a user can quickly and intuitively find the terminal identification to be established with communication connection in the equipment connection map, and the terminal corresponding to the terminal identification can quickly establish communication connection.
Optionally, as shown in fig. 8, the first terminal 800 further includes: a generating module 806, configured to generate a device connection map when the first terminal accesses the network device; the device connection map includes a terminal identifier of at least one terminal within a network coverage area of the network device.
In this way, after the first terminal successfully connects to the network device, a device connection map including terminal identifiers of a plurality of terminals located within a network coverage area of the network device is generated, so that a user can quickly identify a terminal to be connected based on the terminal identifier in the device connection map.
Optionally, the first request message includes a first terminal ID of the first terminal and a second terminal ID of the second terminal.
Thus, after receiving the first request message, the network device can quickly determine the request source device and the request receiving device based on the terminal ID contained in the first request message, and further quickly establish a D2D connection between the two terminals through the network device.
In the first terminal according to the embodiment of the present invention, the first terminal displays an apparatus connection map including N terminal identifiers, one terminal identifier indicates one terminal, and after receiving a first input of a target terminal identifier from a user to the N terminal identifiers, because both the second terminal indicated by the target terminal identifier and the first terminal access the same network apparatus, the first terminal may request to establish a communication connection between the first terminal and the second terminal by sending a first request message to the network apparatus, so that when the first terminal receives a first response message sent by the network apparatus to indicate that the second terminal allows establishing a communication connection with the first terminal, the communication connection between the first terminal and the second terminal may be established, thereby enabling direct connection between the first terminal and the second terminal without passing through the network apparatus, and then the short-distance, safe and convenient data sharing among the terminals is realized through the communication connection.
It should be noted that, as shown in fig. 8, modules that are necessarily included in the terminal device 800 are illustrated by solid line boxes, such as a display module 801; modules that may or may not be included in terminal device 800 are illustrated with dashed boxes, such as generating module 806.
The first terminal provided in the embodiment of the present invention can implement each process implemented by the terminal in the foregoing method embodiments, and is not described here again to avoid repetition.
Fig. 9 is a schematic structural diagram of a network device according to an embodiment of the present invention, and as shown in fig. 9, the network device 900 includes: a receiving module 901 and a sending module 902, wherein:
a receiving module 901, configured to receive a first request message sent by a first terminal; a sending module 902, configured to send a second request message to the second terminal, where the second request message is used to request to establish a communication connection between the first terminal and the second terminal; the sending module 902 is further configured to send, to the first terminal, a first response message in the case of receiving a second response message sent by the second terminal, where the first response message is used to indicate that the second terminal allows establishing a communication connection with the first terminal.
Optionally, the first request message includes a second terminal ID of the second terminal; the sending module 902 is specifically configured to parse the first request message to obtain the second terminal ID; based on the second terminal ID, the second terminal is searched from the terminals accessing the network device 900, and a second request message is sent to the second terminal.
Thus, after receiving the first request message, the network device can quickly determine the request receiving device based on the second terminal ID included in the first request message, and can further establish a D2D connection between the two terminals as soon as possible through the network device.
Optionally, the second response message includes a first terminal ID of the first terminal; the sending module 902 is specifically configured to parse the second response message to obtain the first terminal ID; based on the first terminal ID, the first terminal is searched from the terminals accessing the network device 900, and a first response message is sent to the first terminal.
Thus, after receiving the second response message, the network device can quickly determine the request source device based on the first terminal ID included in the second response message, and can further establish a D2D connection between the two terminals as soon as possible through the network device.
In the network device provided by the embodiment of the present invention, after receiving the first request message sent by the first terminal, the network device sends the second request message for requesting establishment of the communication connection between the first terminal and the second terminal to the second terminal, and then, in a case where the network device receives the second response message sent by the second terminal, the network device sends the first response message for indicating that the second terminal allows establishment of the communication connection with the first terminal to the first terminal, so that the first terminal establishes the communication connection with the second terminal, thereby enabling direct connection between the first terminal and the second terminal without passing through the network device, and further enabling fast, safe, and convenient data sharing in a short distance between the terminals through the communication connection.
The network device provided by the embodiment of the present invention can implement each process implemented by the network device in the above method embodiments, and is not described here again to avoid repetition.
Fig. 10 is a schematic diagram of a hardware structure of a terminal for implementing various embodiments of the present invention, where the terminal 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the configuration of terminal 100 shown in fig. 10 is not intended to be limiting, and terminal 100 may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the terminal 100 includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal device, a wearable device, a pedometer, and the like.
The display unit 106 is configured to display a device connection map, where the device connection map includes N terminal identifiers; a user input unit 107, configured to receive a first input of a target terminal identifier from the N terminal identifiers by a user; the processor 110, in response to the first input, sends a first request message to the network device, where the first request message is used to request to establish a communication connection between a first terminal and a second terminal, the second terminal is a terminal indicated by a target terminal identifier, and both the second terminal and the first terminal access the network device; the processor 110 is further configured to, upon receiving a first response message (the first response message is used to indicate that the second terminal allows establishing a communication connection with the first terminal) sent by the network device, establish a communication connection between the first terminal and the second terminal, and transmit the target data through the communication connection.
In the terminal provided by the embodiment of the invention, the terminal displays the device connection map comprising N terminal identifications (N is an integer larger than 1), one terminal identification indicates one terminal, after receiving a first input of a target terminal identifier in the N terminal identifiers from a user, the terminal sends a first request message to the network device for requesting establishment of a communication connection between the terminal and a second terminal, since the second terminal is the terminal indicated by the target terminal identifier, and both the second terminal and the terminal have access to the network device, therefore, in case that the terminal receives the first response message sent by the network device for indicating that the second terminal allows establishing the communication connection with the terminal, and establishing a communication connection between the terminal and the second terminal, and carrying out rapid transmission of the target data through the communication connection. Thereby simplifying the process of establishing a connection between the terminal and the second terminal.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The terminal 100 provides the user with wireless broadband internet access through the network module 102, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The terminal 100 also includes at least one sensor 105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal 100. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 10, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the terminal 100, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the terminal 100, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal 100 or may be used to transmit data between the terminal 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the terminal 100, connects various parts of the entire terminal 100 using various interfaces and lines, performs various functions of the terminal 100 and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the terminal 100. Processor 110 may include one or more processing units; alternatively, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and optionally, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the terminal 100 includes some functional modules that are not shown, and thus, the detailed description thereof is omitted.
Optionally, an embodiment of the present invention further provides a terminal, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor 110, where the computer program, when executed by the processor, implements each process of the data transmission method embodiment, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
Fig. 11 is a schematic hardware structure diagram of a network device for implementing an embodiment of the present invention, where the network device 1100 includes: a processor 1101, a transceiver 1102, a memory 1103, a user interface 1104, and a bus interface.
The transceiver 1102 is configured to receive a first request message sent by a first terminal, and is further configured to send a second request message to a second terminal, where the second request message is used to request establishment of a communication connection between the first terminal and the second terminal, and is further used to send a first response message to the first terminal when receiving a second response message sent by the second terminal, where the first response message is used to indicate that the second terminal allows establishment of a communication connection with the first terminal.
In the network device provided by the embodiment of the present invention, after receiving the first request message sent by the first terminal, the network device sends the second request message for requesting establishment of the communication connection between the first terminal and the second terminal to the second terminal, and then, in a case where the network device receives the second response message sent by the second terminal, the network device sends the first response message for indicating that the second terminal allows establishment of the communication connection with the first terminal to the first terminal, so that the first terminal establishes the communication connection with the second terminal, thereby enabling direct connection between the first terminal and the second terminal without passing through the network device, and further enabling fast, safe, and convenient data sharing in a short distance between the terminals through the communication connection.
In embodiments of the invention, in FIG. 11, the bus architecture may include any number of interconnected buses and bridges, with one or more processors represented by the processor 1101 and various circuits of the memory represented by the memory 1103 linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 1102 may be a plurality of elements including a transmitter and a receiver that provide a means for communicating with various other apparatus over a transmission medium. For different user devices, the user interface 1104 may also be an interface capable of interfacing with a desired device externally, including but not limited to a keypad, display, speaker, microphone, joystick, etc. The processor 1101 is responsible for managing the bus architecture and general processing, and the memory 1103 may store data used by the processor 1101 in performing operations.
In addition, the network device 1100 further includes some functional modules that are not shown, and are not described herein again.
Optionally, an embodiment of the present invention further provides a network device, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor 1100, where the computer program, when executed by the processor, implements each process of the data transmission method embodiment, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the data transmission method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (21)

1. A data transmission method is applied to a first terminal, and is characterized by comprising the following steps:
displaying a device connection map, wherein the device connection map comprises N terminal identifications;
receiving a first input of a user to a target terminal identifier in the N terminal identifiers, wherein one terminal identifier indicates one terminal, and N is an integer greater than 1;
responding to the first input, sending a first request message to a network device, where the first request message is used to request establishment of a communication connection between the first terminal and a second terminal, the second terminal is a terminal indicated by the target terminal identifier, and both the second terminal and the first terminal access the network device;
under the condition of receiving a first response message sent by the network equipment, establishing a communication connection between the first terminal and the second terminal, and transmitting target data through the communication connection;
wherein the first response message is used for indicating that the second terminal allows establishing the communication connection with the first terminal.
2. The method of claim 1, wherein after establishing the communication connection between the first terminal and the second terminal, the method further comprises:
displaying M information marks, wherein one information mark indicates one information;
receiving a second input of a user to a target information identifier in the M information identifiers;
and responding to the second input, and sending information corresponding to the target information identification to the second terminal.
3. The method of claim 2, wherein receiving a second input from the user to a target information identifier of the M information identifiers comprises:
and receiving a second input that the user drags the target information identifier to the area where the target terminal identifier is located.
4. The method according to any one of claims 1 to 3, wherein the N terminal identifications comprise a first type terminal identification and a second type terminal identification;
the terminal indicated by the first type terminal identification is a terminal accessed to the network equipment, and the terminal indicated by the second type terminal identification meets a first condition and a second condition; wherein the first condition is: the current position of the terminal is positioned in the network coverage range of the network equipment; the second condition includes at least one of: and the terminal which is not accessed to the network equipment rejects the terminal which establishes communication connection with other terminals.
5. The method of claim 1, wherein prior to the display device connecting to the map, the method further comprises:
generating a device connection map under the condition that the first terminal is accessed to the network device;
wherein the device connection map comprises terminal identifications of at least one terminal within a network coverage of the network device.
6. The method of claim 1, wherein the first request message comprises a first terminal ID of the first terminal and a second terminal ID of the second terminal.
7. A data transmission method is applied to network equipment, and the method comprises the following steps:
receiving a first request message sent by a first terminal;
sending a second request message to a second terminal, wherein the second request message is used for requesting to establish communication connection between the first terminal and the second terminal;
and sending a first response message to the first terminal under the condition of receiving a second response message sent by the second terminal, wherein the first response message is used for indicating that the second terminal allows establishing communication connection with the first terminal.
8. The method of claim 7, wherein the first request message comprises a second terminal ID of the second terminal;
the sending the second request message to the second terminal includes:
analyzing the first request message to acquire the ID of the second terminal;
and searching the second terminal from the terminals accessed to the network equipment based on the second terminal ID, and sending a second request message to the second terminal.
9. The method of claim 7, wherein the second response message comprises a first terminal ID of the first terminal;
the sending the first response message to the first terminal includes:
analyzing the second response message to obtain the ID of the first terminal;
and searching the first terminal from the terminals accessed to the network equipment based on the first terminal ID, and sending a first response message to the first terminal.
10. A first terminal, characterized in that the first terminal comprises:
the display module is used for displaying an equipment connection map, and the equipment connection map comprises N terminal identifications;
a receiving module, configured to receive a first input of a target terminal identifier from the N terminal identifiers displayed by the display module, where one terminal identifier indicates one terminal, and N is an integer greater than 1;
a first sending module, configured to send, in response to the first input received by the receiving module, a first request message to a network device, where the first request message is used to request establishment of a communication connection between the first terminal and a second terminal, the second terminal is a terminal indicated by the target terminal identifier, and both the second terminal and the first terminal access the network device;
a creating module, configured to establish a communication connection between the first terminal and the second terminal when receiving a first response message sent by the network device;
the second sending module is used for transmitting the target data through the communication connection established by the establishing module;
wherein the first response message is used for indicating that the second terminal allows establishing the communication connection with the first terminal.
11. The first terminal of claim 10,
the display module is also used for displaying M information identifications, and one information identification indicates one information;
the receiving module is further configured to receive a second input of a target information identifier in the M information identifiers from a user;
the second sending module is further configured to send, in response to the second input received by the receiving module, information corresponding to the target information identifier to the second terminal.
12. The first terminal of claim 11,
the receiving module is specifically configured to receive a second input that the user drags the target information identifier to an area where the target terminal identifier is located.
13. The first terminal according to any one of claims 10 to 12, wherein the N terminal identifications include a first class of terminal identifications and a second class of terminal identifications;
the terminal indicated by the first type terminal identification is a terminal accessed to the network equipment, and the terminal indicated by the second type terminal identification meets a first condition and a second condition; wherein the first condition is: the current position of the terminal is positioned in the network coverage range of the network equipment; the second condition includes at least one of: and the terminal which is not accessed to the network equipment rejects the terminal which establishes communication connection with other terminals.
14. The first terminal of claim 10, wherein the first terminal further comprises:
the generating module is used for generating a device connection map under the condition that the first terminal is accessed to the network device;
wherein the device connection map comprises terminal identifications of at least one terminal within a network coverage of the network device.
15. The first terminal of claim 10, wherein the first request message comprises a first terminal ID of the first terminal and a second terminal ID of the second terminal.
16. A network device, characterized in that the network device comprises:
the receiving module is used for receiving a first request message sent by a first terminal;
a sending module, configured to send a second request message to a second terminal, where the second request message is used to request establishment of a communication connection between the first terminal and the second terminal;
the sending module is further configured to send a first response message to the first terminal under the condition that a second response message sent by the second terminal is received, where the first response message is used to indicate that the second terminal allows establishing a communication connection with the first terminal.
17. The network device of claim 16, wherein the first request message comprises a second terminal ID of the second terminal;
the sending module is specifically configured to parse the first request message to obtain the second terminal ID; and searching the second terminal from the terminals accessed to the network equipment based on the second terminal ID, and sending a second request message to the second terminal.
18. The network device of claim 16, wherein the second response message comprises a first terminal ID of the first terminal;
the sending module is specifically configured to parse the second response message to obtain the first terminal ID; and searching the first terminal from the terminals accessed to the network equipment based on the first terminal ID, and sending a first response message to the first terminal.
19. A terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the data transmission method according to any one of claims 1 to 6.
20. A network device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the data transmission method according to any one of claims 7 to 9.
21. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the data transmission method according to one of claims 1 to 6.
CN201911168578.7A 2019-11-25 2019-11-25 Data transmission method, terminal and base station Pending CN111031471A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911168578.7A CN111031471A (en) 2019-11-25 2019-11-25 Data transmission method, terminal and base station

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911168578.7A CN111031471A (en) 2019-11-25 2019-11-25 Data transmission method, terminal and base station

Publications (1)

Publication Number Publication Date
CN111031471A true CN111031471A (en) 2020-04-17

Family

ID=70201962

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911168578.7A Pending CN111031471A (en) 2019-11-25 2019-11-25 Data transmission method, terminal and base station

Country Status (1)

Country Link
CN (1) CN111031471A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112004187A (en) * 2020-08-26 2020-11-27 维沃移动通信有限公司 Data sharing method and device
CN112333795A (en) * 2020-11-11 2021-02-05 维沃移动通信有限公司 Network access method and device
CN112947825A (en) * 2021-01-28 2021-06-11 维沃移动通信有限公司 Display control method, display control device, electronic device, and medium
CN113286278A (en) * 2021-04-07 2021-08-20 维沃移动通信有限公司 Audio output control method and device
CN113746876A (en) * 2020-05-27 2021-12-03 维沃移动通信有限公司 Communication agent establishing method, device and terminal
CN114466319A (en) * 2020-11-09 2022-05-10 中国移动通信有限公司研究院 Terminal packet processing method and device, terminal and network equipment
CN111800890B (en) * 2020-06-30 2023-09-19 联想(北京)有限公司 Processing method and input device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103002013A (en) * 2012-11-06 2013-03-27 深圳中兴网信科技有限公司 Social music query system and social music query method
CN103731902A (en) * 2012-10-12 2014-04-16 中兴通讯股份有限公司 Method and device for inquiring direct connection communication target terminal information
WO2014198114A1 (en) * 2013-06-14 2014-12-18 Tencent Technology (Shenzhen) Company Limited Method, system, and device for initializing a media equipment
CN104541550A (en) * 2013-06-29 2015-04-22 华为技术有限公司 Network access control method and system, and related device
CN104838697A (en) * 2012-11-01 2015-08-12 英特尔公司 Network assisted device-to-device discovery for peer-to-peer applications
CN104954968A (en) * 2014-03-24 2015-09-30 中国电信股份有限公司 Method and system for device-to-device communication on wireless local area network frequency band
CN106792545A (en) * 2017-01-17 2017-05-31 维沃移动通信有限公司 A kind of data transmission method, mobile terminal and server
CN106815345A (en) * 2017-01-17 2017-06-09 维沃移动通信有限公司 A kind of display methods of real time data and a kind of mobile terminal
CN108566686A (en) * 2018-03-29 2018-09-21 维沃移动通信有限公司 A kind of methods, devices and systems that D2D connections are established
CN110072214A (en) * 2017-10-30 2019-07-30 大唐移动通信设备有限公司 Using the method and device of discovery in a kind of device-to-device D2D communication

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103731902A (en) * 2012-10-12 2014-04-16 中兴通讯股份有限公司 Method and device for inquiring direct connection communication target terminal information
CN104838697A (en) * 2012-11-01 2015-08-12 英特尔公司 Network assisted device-to-device discovery for peer-to-peer applications
CN103002013A (en) * 2012-11-06 2013-03-27 深圳中兴网信科技有限公司 Social music query system and social music query method
WO2014198114A1 (en) * 2013-06-14 2014-12-18 Tencent Technology (Shenzhen) Company Limited Method, system, and device for initializing a media equipment
CN104541550A (en) * 2013-06-29 2015-04-22 华为技术有限公司 Network access control method and system, and related device
CN104954968A (en) * 2014-03-24 2015-09-30 中国电信股份有限公司 Method and system for device-to-device communication on wireless local area network frequency band
CN106792545A (en) * 2017-01-17 2017-05-31 维沃移动通信有限公司 A kind of data transmission method, mobile terminal and server
CN106815345A (en) * 2017-01-17 2017-06-09 维沃移动通信有限公司 A kind of display methods of real time data and a kind of mobile terminal
CN110072214A (en) * 2017-10-30 2019-07-30 大唐移动通信设备有限公司 Using the method and device of discovery in a kind of device-to-device D2D communication
CN108566686A (en) * 2018-03-29 2018-09-21 维沃移动通信有限公司 A kind of methods, devices and systems that D2D connections are established

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113746876A (en) * 2020-05-27 2021-12-03 维沃移动通信有限公司 Communication agent establishing method, device and terminal
CN113746876B (en) * 2020-05-27 2023-09-19 维沃移动通信有限公司 Communication proxy establishing method, device and terminal
CN111800890B (en) * 2020-06-30 2023-09-19 联想(北京)有限公司 Processing method and input device
CN112004187A (en) * 2020-08-26 2020-11-27 维沃移动通信有限公司 Data sharing method and device
CN114466319A (en) * 2020-11-09 2022-05-10 中国移动通信有限公司研究院 Terminal packet processing method and device, terminal and network equipment
CN112333795A (en) * 2020-11-11 2021-02-05 维沃移动通信有限公司 Network access method and device
CN112333795B (en) * 2020-11-11 2023-10-27 维沃移动通信有限公司 Network access method and device
CN112947825A (en) * 2021-01-28 2021-06-11 维沃移动通信有限公司 Display control method, display control device, electronic device, and medium
CN113286278A (en) * 2021-04-07 2021-08-20 维沃移动通信有限公司 Audio output control method and device

Similar Documents

Publication Publication Date Title
CN111031471A (en) Data transmission method, terminal and base station
WO2021197263A1 (en) Content sharing method and electronic device
CN111083684A (en) Method for controlling electronic equipment and electronic equipment
WO2019000411A1 (en) Method and device for establishing wireless communication connection
WO2021104246A1 (en) Network connection method and electronic device
CN109379735B (en) eSIM card operation method, mobile terminal and eSIM card device
KR102441850B1 (en) Service processing method and mobile communication terminal
WO2018040813A1 (en) Audio/video communication method, terminal, server, and storage medium
WO2019140657A1 (en) Method and device for network connection and terminal
US20220217799A1 (en) Multi-network access method and terminal device
WO2019011324A1 (en) Method for determining access method of mobile terminal, storage medium, and mobile terminal
CN111093289A (en) Service transmission method and electronic equipment
CN108810262B (en) Application configuration method, terminal and computer readable storage medium
KR102596801B1 (en) PC5 link establishment methods, equipment and systems
CN111045737B (en) Equipment identifier acquisition method, device, terminal equipment and storage medium
CN109947617B (en) Method, terminal and readable storage medium for monitoring display content of application interface
CN109743469B (en) VOLTE-based communication method and mobile terminal
CN109257739B (en) eSIM card operation method, mobile terminal and eSIM card device
CN109089258B (en) eSIM card operation method, mobile terminal and eSIM card device
CN109219039B (en) eSIM card operation method, mobile terminal and eSIM card device
CN108811177B (en) Communication method and terminal
CN111314900A (en) Wireless connection method, wireless connection device and mobile terminal
CN107256108B (en) Screen splitting method, device and computer readable storage medium
CN111565388B (en) Network registration method and electronic equipment
CN110012146B (en) Communication sharing method and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200417

RJ01 Rejection of invention patent application after publication