CN106559742B - Data transmission method, device, terminal and server - Google Patents

Data transmission method, device, terminal and server Download PDF

Info

Publication number
CN106559742B
CN106559742B CN201610959251.1A CN201610959251A CN106559742B CN 106559742 B CN106559742 B CN 106559742B CN 201610959251 A CN201610959251 A CN 201610959251A CN 106559742 B CN106559742 B CN 106559742B
Authority
CN
China
Prior art keywords
terminal
control instruction
communication
information
preset
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
CN201610959251.1A
Other languages
Chinese (zh)
Other versions
CN106559742A (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.)
Suzhou Gongxiang Information Technology Co ltd
Original Assignee
Xiamen Meitu Mobile Technology 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 Xiamen Meitu Mobile Technology Co Ltd filed Critical Xiamen Meitu Mobile Technology Co Ltd
Priority to CN201610959251.1A priority Critical patent/CN106559742B/en
Publication of CN106559742A publication Critical patent/CN106559742A/en
Application granted granted Critical
Publication of CN106559742B publication Critical patent/CN106559742B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • H04W4/029Location-based management or tracking services
    • 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
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals

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 data transmission method, a data transmission device, a terminal and a server. The method comprises the following steps: sending a connection request to a first terminal in a communication range or receiving the connection request sent by the first terminal through a preset communication sensor, wherein the first terminal carries a control instruction generated by a server, and the control instruction is specified to be executed by a terminal with specified target terminal identification information; establishing a communication connection with a first terminal; receiving a control instruction from a first terminal; judging whether target terminal identification information exists or not; and if so, executing the control command. According to the method provided by the embodiment of the invention, the data information generated by the server side can be received by the current terminal through the preset communication sensor under the condition of no network.

Description

Data transmission method, device, terminal and server
Technical Field
The present invention relates to the field of communications, and in particular, to a data transmission method, apparatus, terminal, and server.
Background
At present, mobile wireless communication terminals such as mobile phones and the like are important tools for people to communicate, and if the mobile phones are lost or stolen, huge loss is brought to mobile phone owners.
After the mobile phone is lost or stolen, the server cannot transmit some special anti-theft instructions to the lost mobile phone due to the reason that the mobile phone cannot be accessed to the network, and meanwhile, the lost mobile phone cannot transmit back data information under the condition that the network does not exist, so that the possibility that a loser finds the mobile phone is greatly reduced, and the personal data security of the owner is threatened to a certain extent due to the fact that remedial measures cannot be taken timely.
For the problem, a common method is to wait for the mobile phone to be networked, acquire corresponding data of the lost mobile phone, and send a related instruction to the lost mobile phone, but the technical means is passive, and often has strong hysteresis, even when the lost mobile phone is in a long-term network-free state, the operation cannot be performed, and the information security of the user cannot be sufficiently guaranteed.
Disclosure of Invention
The embodiment of the invention provides a data transmission method, a data transmission device, a terminal and a server, which can enable a lost mobile phone to receive data information and process data through a preset communication sensor under the condition of no network.
In a first aspect, an embodiment of the present invention provides a data transmission method, including: sending a connection request to a first terminal in a communication range or receiving the connection request sent by the first terminal through a preset communication sensor, wherein the first terminal carries a control instruction generated by a server, and the control instruction is specified to be executed by a terminal with specified target terminal identification information; establishing a communication connection with a first terminal; receiving a control instruction from a first terminal; judging whether target terminal identification information exists or not; and if so, executing the control command.
In a second aspect, an embodiment of the present invention provides a data transmission method, including: the server generates a control instruction, and the control instruction is appointed to be executed by the terminal with appointed target terminal identification information; and sending the control instruction to at least one first terminal in a network connection mode, so that the at least one first terminal can send the control instruction to a target terminal through a preset communication sensor.
In a third aspect, an embodiment of the present invention provides a data transmission apparatus, including: the system comprises a connection request unit, a first terminal and a second terminal, wherein the connection request unit is configured to send a connection request to the first terminal in a communication range or receive the connection request sent by the first terminal through a preset communication sensor, the first terminal carries a control instruction generated by a server, and the control instruction is specified to be executed by a terminal with specified target terminal identification information; a communication connection unit configured to establish a communication connection with any one of the first terminals; a data receiving unit configured to receive a control instruction from a first terminal; a terminal judging unit configured to judge whether or not there is designated target terminal identification information; and the data execution unit is configured to execute the control instruction when the judgment result of the terminal judgment unit is yes.
In a fourth aspect, an embodiment of the present invention provides a data transmission apparatus, including: an instruction generating unit configured to generate a control instruction, the control instruction being executed by a terminal having specified target terminal identification information; and the instruction sending unit is configured to send the control instruction to at least one first terminal in a network connection mode.
In a fifth aspect, an embodiment of the present invention provides a data transmission terminal, including: a memory configured to store program code; a receiving unit configured to receive a control instruction from a first terminal; a processor configured to perform the following steps according to instructions in the program code stored in the memory: sending a connection request to a first terminal in a communication range or receiving the connection request sent by the first terminal through a preset communication sensor, wherein the first terminal carries a control instruction generated by a server, and the control instruction is specified to be executed by a terminal with specified target terminal identification information; establishing a communication connection with a first terminal; judging whether the specified target terminal identification information exists; and if so, executing the control command.
In a sixth aspect, an embodiment of the present invention provides a data server, including: a memory configured to store program code; a processor configured to perform the following steps according to instructions in the program code stored in the memory: generating a control instruction, the control instruction being executed by a terminal having specified target terminal identification information; and the sending unit is configured to send the control instruction to the at least one first terminal in a network connection mode, so that the at least one first terminal can send the control instruction to the target terminal through a preset communication sensor.
According to the data transmission method, the data transmission device, the terminal and the server, the target terminal receives data information sent by the server from the intermediate equipment through the preset communication sensor and performs data processing in the state that no network connection exists.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described below, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart illustrating a data transmission method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a data transmission method according to another embodiment of the present invention;
fig. 3 is a flowchart illustrating a data transmission method according to another embodiment of the present invention;
FIG. 4 is a detailed flowchart of the step of sending a control command to the first terminal of FIG. 3;
fig. 5 is a flowchart illustrating a data transmission method according to still another embodiment of the present invention;
fig. 6 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a data transmission apparatus according to another embodiment of the present invention;
fig. 8 is a schematic structural diagram illustrating a data transmission apparatus according to yet another embodiment of the present invention;
fig. 9 is a schematic structural diagram of a data transmission apparatus according to still another embodiment of the present invention;
fig. 10 is a block diagram illustrating an exemplary hardware architecture of a data transmission terminal provided by an embodiment of the present invention;
fig. 11 is a block diagram illustrating an exemplary hardware architecture of a data transmission server according to an embodiment of the present invention.
Detailed Description
Features and exemplary embodiments of various aspects of the present invention will be described in detail below, and in order to make objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples of the present invention.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The following describes a data delivery method, an apparatus, a terminal and a server in detail according to an embodiment of the present invention with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating a data transmission method according to an embodiment of the present invention. As shown in fig. 1, the data transmission method 100 in this embodiment includes the following steps: step S110, a preset communication sensor sends a connection request to a first terminal in a communication range or receives the connection request sent by the first terminal, the first terminal carries a control instruction generated by a server, and the control instruction is specified to be executed by a terminal with specified target terminal identification information; step S120, establishing communication connection with the first terminal; step S130, receiving a control instruction from the first terminal; step S140, judging whether the specified target terminal identification information exists; in step S150, if the determination result is yes, the control command is executed.
In step S110, the preset communication sensor may be at least one of a bluetooth sensor, an infrared sensor and a near field communication NFC sensor, or another communication sensor preset by a mobile terminal manufacturer and capable of transmitting data.
In this embodiment, as an example, the preset communication sensor may be turned on by a holder of the terminal when using the mobile phone terminal, or may be turned on forcibly when a mobile phone application preset by a mobile phone manufacturer detects that the SIM card of the mobile phone is removed; as another example, if the current terminal is in a state of being lost, the SIM card has not been removed and is temporarily in a state of having a network, at this time, the server may send a corresponding instruction to start the preset communication sensor in a network connection manner in time.
Specifically, the current terminal searches for a first terminal having the same preset communication sensor in a communication range through the preset communication sensor, the number of the searched first terminals may be more than one, that is, when the number of the searched first terminals is multiple, any one of the multiple first terminals may be selected to send a connection request; or is searched by any one of the plurality of first terminals, thereby receiving a connection request of the first terminal.
As an alternative embodiment, in step S120, after the current terminal and the first terminal establish the communication connection, the communication connection may be monitored. Specifically, after a current terminal is in pairing connection with any one of a plurality of first terminals, monitoring communication connection with the first terminal; and if the data transmission does not occur between the current terminal and the first terminal within the preset time length, disconnecting the communication connection with the first terminal.
Further, after the communication connection with the first terminal is disconnected, the current terminal may establish a communication connection again with any one of other first terminals except the first terminal through a preset communication sensor and receive data information.
By monitoring the communication connection between the current terminal and the first terminal, the communication channel of the current terminal can be prevented from being occupied for a long time when no data transmission occurs.
In step S130, the control instruction received from the first terminal is generated by the server, and the server further specifies that the control instruction is executed by the terminal having the specified target terminal identification information. The control instruction is sent to at least one first terminal by the server through network connection, and the control instruction is received from the first terminal after the current terminal establishes communication connection with the first terminal through a preset communication sensor.
As an example, the control instruction may be, for example, locking a use function of the specified target terminal, clearing data information of the specified target terminal, and/or making an audible alarm for the specified target terminal.
As an alternative embodiment, the control instruction received by the current terminal from the first terminal may be received by the first terminal from a second terminal, where the second terminal carries the control instruction generated by the server and is in communication connection with the first terminal through a communication sensor or a network within a communication range of the first terminal.
Specifically, if the first terminal and the second terminal both have the same preset communication sensor or the preset application software of the mobile phone manufacturer that both support the communication sensor, when the second terminal carrying the control instruction appears in the communication range of another mobile phone, for example, the first terminal, the control instruction may be transmitted to the first terminal in a preset communication sensor or network connection manner, so that the first terminal also carries the control instruction. That is to say, the first terminal acts as a "homing pigeon" and collects the control command into its own memory, so that when the target terminal is present in the communication range of the first terminal and establishes communication connection with the first terminal through a preset communication sensor, the control command is transmitted to the target terminal, thereby greatly increasing the probability that the target terminal, for example, a lost mobile phone, acquires data information from the acquisition server.
Further, as an alternative embodiment, the control instruction carried by the second terminal may be received from other second terminal devices. And the second terminal equipment, the second terminal equipment and the first terminal equipment can be connected through a preset communication sensor, and can also be connected through a network.
It should be understood that the first terminal and the second terminal are merely used to distinguish the two terminal devices, and do not necessarily specify the order in which any first or second exists between the two terminals. That is, the current terminal may also establish a communication connection with the second terminal through a preset communication sensor, and receive a control instruction from the second terminal, where the control instruction is received by the second terminal from the first terminal carrying the control instruction.
In step S150, the step of determining whether the current terminal has the specified target terminal identification information may specifically include the following sub-steps: step S151, respectively obtaining identification information of the current terminal and identification information of the target terminal; step S152, comparing the identification information of the current terminal with the identification information of the target terminal, and if the identification information of the current terminal is the same as the identification information of the target terminal, determining that the current terminal is the target terminal.
Specifically, if the determination results are the same, it indicates that the current terminal is the target terminal to be found by the server, and the current terminal specifies the control instruction.
As an example, the identification information may be a name of the mobile phone terminal, a mobile equipment identity IMEI of the mobile phone terminal, a unique identification number of the mobile phone terminal, and/or an electronic serial number ESN of the mobile phone terminal, and the like, which can uniquely identify the mobile phone terminal.
In the above embodiment, because the current terminal is in a network-free state, the server may carry the control instruction to the network through at least one terminal device, and if the terminal device carrying the control instruction appears in the communication range of the target terminal, the control instruction is transmitted to the target terminal through the preset communication sensor, and operations such as locking, clearing data and the like are performed according to the corresponding instruction.
Fig. 2 is a flowchart illustrating a data transmission method according to another embodiment of the present invention. As shown in fig. 2, the data transmission method 200 is substantially the same as the data transmission method 100. The difference is that after the current terminal executes the control instruction in step S150, the method may further include: step S160, generating terminal retrieving information; and step S170, sending the terminal retrieving information to any first terminal.
Specifically, the terminal retrieving information may be data information collected locally by the current terminal and to be transmitted to the server, and may be, for example, location information of the current terminal, an identity IMEI of the mobile device, a media access control MAC address, and/or an execution result feedback after the current terminal executes a control instruction.
As for the acquisition method of the position information of the current terminal, as an example, the position information may be acquired by performing positioning by a GPS positioning system of the current terminal; as another example, since the current terminal and the first terminal are located close to each other when communicating, the first terminal may also acquire the location information when communicating with the current terminal and transmit the location information to the current terminal.
In the above example, if the current terminal cannot acquire accurate location information due to a weak GPS signal, the location information is also provided by the terminal communicating with the current terminal.
In the above embodiment, when the current terminal is in a network-free state, the current terminal may establish a communication connection with the first terminal through a preset communication sensor, receive data information that the server side wants to push to the current terminal from the first terminal, and transmit terminal retrieving information to any one of the plurality of first terminals, so that the first terminal carries the data information that is to be sent to the server side, thereby implementing data communication with the server side.
As an alternative embodiment, please continue to refer to fig. 2, in step S140, that is, in the step of determining whether the current terminal has the specified target terminal identification information, if the determination result is negative, the current terminal performs the following steps: step S180, saving a control instruction; step S181, disconnecting the current first terminal; and step S182, establishing connection with any other first terminal through the communication sensor.
If the current terminal is not the target terminal, for example, a mobile phone is lost, the control instruction can be selected to be stored or discarded, the connection with the current first terminal is disconnected, and the connection with any other first terminal is established through a preset communication sensor, so that the probability of receiving the corresponding control instruction is increased.
As an alternative embodiment, if the current terminal stores a control instruction that is not a designated target terminal, in some embodiments, the current terminal may also be used as a "homing pigeon", that is, after other terminal devices appear in a communication range and are paired and connected through a preset communication sensor, the control instruction is sent to the other terminal devices.
Fig. 3 is a flowchart illustrating a data transmission method according to another embodiment of the present invention. As shown in fig. 3, a data transmission method 300 provided in the embodiment of the present invention includes: step S310, the server generates a control instruction, and the control instruction is appointed to be executed by the terminal with appointed target terminal identification information; step S320, sending the control command to the at least one first terminal in a network connection manner, so that the at least one first terminal can send the control command to the target terminal through a preset communication sensor.
As an alternative embodiment, as shown in fig. 4, step S320 may specifically include the following sub-steps:
step S321, obtaining the position information of the target terminal when the target terminal is connected with the network last time from the historical position information of the target terminal; step S322, selecting at least one first terminal in the preset range of the position information; step S323, transmitting a control command to the selected at least one first terminal.
In the embodiment, the server side locks the range of the first terminal sending the data information by acquiring the position information of the target terminal, such as the lost mobile phone, when the target terminal is connected to the network last time, so that the data transmission can be targeted, and the efficiency of finally transmitting the data information to the lost mobile phone is greatly improved.
As an alternative embodiment, as shown in fig. 5, the data transmission method 500 is substantially the same as the data transmission method 300 of fig. 3, except that the data transmission method 500 may further include:
step S330, receiving terminal retrieval information from a first terminal in a network connection mode; or receiving the terminal retrieval information from the second terminal in a network connection mode, wherein the terminal retrieval information is received by any first terminal of the second terminal retrieving the information from the portable terminal.
Specifically, after the first terminal receives the terminal retrieval information from the target terminal, such as a lost mobile phone, when the network connection can be established, the terminal retrieval information can be sent to the server through the network connection. Or if other terminal equipment such as a second terminal appears in the communication range of the first terminal carrying the terminal retrieving information, the terminal retrieving information can be collected through network connection or a preset communication sensor and the like, and when the second terminal can be networked, the terminal retrieving information is sent to the server through network connection.
By the data transmission method provided by the embodiment of the invention, the target terminal can receive the data from the server through the preset communication sensor in the state of no network, so that the user can still remotely operate the mobile phone and transmit the data information in the case of no network.
Fig. 6 is a schematic structural diagram of a data transmission device according to an embodiment of the present invention. As shown in fig. 6, the data transmission device 600 of the present embodiment may include:
a connection request unit 601 configured to send a connection request to a first terminal in a communication range or receive a connection request sent by the first terminal through a preset communication sensor, where the first terminal carries a control instruction generated by a server, and the control instruction is specified to be executed by a terminal having target terminal identification information; a communication connection unit 602 configured to establish a communication connection with a first terminal; a data receiving unit 603 configured to receive a control instruction from the first terminal; a terminal judging unit 604 configured to judge whether the current terminal has specified target terminal identification information; and a data execution unit 605 configured to execute the control instruction when the judgment result of the terminal judgment unit is yes.
As an alternative embodiment, please refer to fig. 7, which shows a schematic structural diagram of a data transmission apparatus according to another embodiment of the present invention. As shown in fig. 7, the data transmission apparatus 700 is substantially the same as the data transmission apparatus 600 shown in fig. 6, except that the data transmission apparatus 700 may further include: a terminal retrieval information generating unit 606 configured to generate terminal retrieval information; and a terminal retrieval information transmitting unit 607 configured to transmit the terminal retrieval information to any one of the first terminals.
As an alternative embodiment, the data transmission apparatus 700 may further include: a data saving unit 608 configured to save the control instruction when the judgment result of the identification information comparison judgment unit is no; wherein, the communication connection unit 602 is further configured to disconnect the current first terminal and establish a connection with any other first terminal through the communication sensor.
As an alternative embodiment, the data transmission apparatus 700 may further include: the communication connection monitoring unit 609 is configured to monitor a communication connection with the first terminal, and the communication connection unit 602 is further configured to disconnect the communication connection with the first terminal when the current terminal does not perform data transmission with the first terminal within a preset time period.
Referring to fig. 8, a data transmission device according to another embodiment of the present invention is shown. As shown in fig. 8, the data transmission apparatus 800 includes:
an instruction generating unit 801 configured to generate a control instruction executed by a terminal having target terminal identification information; an instruction sending unit 802 configured to send a control instruction to at least one first terminal by means of a network connection.
As an alternative embodiment, as shown in fig. 9, the data transmission apparatus 900 is substantially the same as the data transmission apparatus 800 shown in fig. 8, except that the data transmission apparatus 900 may further include:
a historical location information acquiring unit 803 configured to acquire location information of the target terminal when the target terminal was last networked from the historical location information of the target terminal; a first terminal selecting unit 804 configured to select at least one first terminal within a preset range of the location information according to the location information acquired by the historical location information acquiring unit; the instruction transmitting unit is further configured to transmit a control instruction to the at least one first terminal selected by the first terminal selecting unit.
As an alternative embodiment, the data transmission apparatus 900 may further include:
a data receiving unit 805 configured to receive terminal retrieval information from the first terminal by means of network connection; or receiving the terminal retrieval information from the second terminal in a network connection mode, wherein the terminal retrieval information is received by any first terminal of the second terminal retrieving the information from the portable terminal.
By the data transmission device provided by the embodiment of the invention, the server can still remotely send data or instructions to the mobile terminal under the condition of no network, so that the data transmission between the server and the lost mobile phone is realized.
According to the data transmission device provided by the embodiment, if the terminal to be searched is in a situation of no network for a long time, the server side sends the data information to the mobile terminals with networks, and the mobile terminals with networks transmit the data information to the terminal to be searched through the preset communication sensors; the server can also receive data information from the mobile terminals without the network through the mobile phones with the network, and the mobile terminals without the network and the mobile phones with the network can be in communication connection through preset communication sensors, which will not be described herein again.
It should be noted that, for the device type embodiment, the above description is only a specific implementation manner of the present invention, and for convenience and simplicity of description, the specific working processes of the modules and units described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The data transmission method and apparatus according to the embodiments of the present invention described in conjunction with fig. 1 to 9 may be implemented by a data transmission terminal. Fig. 10 is a block diagram illustrating an exemplary hardware architecture of a data transmission method and apparatus capable of implementing embodiments of the present invention. As shown in fig. 10, the data transmission terminal 1000 includes:
a receiving unit 1001, a processor 1003, a memory 1005, and a transmitting unit 1007. Among them, the receiving unit 1001, the processor 1003, the memory 1005, and the transmitting unit 1007 are connected to each other by a bus 1010. Specifically, the receiving unit 1001 receives input information from the outside and transfers the input information to the processor 1003; the processor 1003 processes input information based on the program codes stored in the memory 1005 to generate output information, temporarily or permanently stores the output information in the memory 1005, and then outputs the output information to the outside of the terminal 1000 for the synchronous stand-alone game through the transmission unit 1007 to be used by a user.
In one embodiment, the data transmission terminal 1000 shown in fig. 10 can be implemented to include: a memory 1005 configured to store program code; a receiving unit 1001 configured to receive a control instruction from a first terminal; a processor 1003 configured to perform the following steps according to instructions in the program code stored in the memory: sending a connection request to a first terminal in a communication range or receiving the connection request sent by the first terminal through a preset communication sensor, wherein the first terminal carries a control instruction generated by a server, and the control instruction is specified to be executed by a terminal with specified target terminal identification information; establishing a communication connection with a first terminal; judging whether the current terminal has the appointed target terminal identification information; and if the judgment result is yes, executing the control instruction received from the first terminal.
By the data transmission terminal of the embodiment of the invention, the data information sent by the server can be received from the first terminal which is used as the intermediate terminal equipment under the condition of no network, and the data communication with the server under the condition of no network is realized.
Referring to fig. 11, a hardware architecture diagram of a data transmission server according to an embodiment of the present invention is shown. As shown in fig. 11, the data transmission server 2000 includes: a receiving unit 2001, a processor 2003, a memory 2005, and a transmitting unit 2007. Among them, the receiving unit 2001, the processor 2003, the memory 2005, and the transmitting unit 2007 are connected to each other by a bus 2010.
Fig. 11 is basically the same as the hardware architecture described in fig. 10 and the operation principle between the components, except that the data transmission server shown in fig. 11 may be implemented to include: a memory 2005 configured to store program code; a processor 2003 configured to perform the following steps according to instructions in the program code stored in the memory: generating a control instruction, the control instruction being executed by a terminal having specified target terminal identification information; a sending unit 2007 configured to send the control instruction to the at least one first terminal by means of network connection, so that the at least one first terminal can send the control instruction to the target terminal through a preset communication sensor.
Through the data transmission server side provided by the embodiment of the invention, in order to transmit the control instruction to the target terminal, such as a lost mobile phone, the control instruction can be transmitted to the intermediate terminal equipment, and the terminal equipment transmits the control instruction to the target terminal through the preset communication sensor. In addition, the server can be arranged on the mobile terminal and also on the WEB server, namely the arrangement of the server can have a more flexible implementation form.
It will be understood by those skilled in the art that the present invention includes apparatus related to performing one or more of the methods and steps described in the present invention. These devices may be specially designed and manufactured for the required purposes, or they may comprise known devices in general mobile terminals. Such as a memory, having program code stored therein that is selectively activated or reconfigured. Such program code may be stored in a readable medium in the device Memory, including but not limited to any type of ROM (Read-Only Memory), RAM (Random Access Memory), EPROM (Erasable programmable Read-Only Memory), EEPROM (Electrically Erasable programmable Read-Only Memory), flash Memory, magnetic card, or optical card, or in any type of media suitable for storing electronic instructions and respectively coupled to the bus. That is, readable media includes any medium that stores or transmits information in a form readable by a terminal.
It will be understood by those within the art that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by instructions in program code that is stored in a memory. Those skilled in the art will appreciate that the instructions in the program code may be implemented by a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, implement the aspects specified in the block or blocks of the block diagrams and/or flowchart illustrations of the present disclosure.
Those of ordinary skill in the art will appreciate that the elements and method steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of clearly illustrating the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In addition, functional units in the embodiments of the present invention 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.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (13)

1. A method of data transmission, comprising:
under the condition that the SIM card is detected to be removed, a preset communication sensor is turned on, or the preset communication sensor is turned on when a starting instruction sent by a server side is received;
sending a connection request to a first terminal in a communication range or receiving the connection request sent by the first terminal through a preset communication sensor, wherein the first terminal carries a control instruction generated by a server, and the control instruction is specified to be executed by a terminal with specified target terminal identification information;
establishing a communication connection with the first terminal;
receiving the control instruction from the first terminal;
judging whether the appointed target terminal identification information exists or not;
if the judgment result is yes, executing the control instruction;
generating terminal retrieval information;
sending the terminal retrieval information to the first terminal;
monitoring a communication connection with the first terminal;
when data transmission does not occur with the first terminal within a preset time length, disconnecting the communication connection with the first terminal, and establishing new communication connection with any other terminal except the first terminal through the communication sensor;
the terminal retrieving information comprises: the position information of the current terminal, the identification code IMEI of the mobile equipment, the MAC address and/or the execution result of the control instruction are fed back;
the position information of the current terminal includes: the position information of the current terminal or the position information of the first terminal which establishes communication connection with the current terminal.
2. The method of claim 1, wherein,
the control instruction is received by the first terminal from a second terminal, the second terminal carries the control instruction generated by the server, and the control instruction is in communication connection with the first terminal through the communication sensor or the network within the communication range of the first terminal.
3. The method according to claim 1, wherein in the step of judging whether or not there is the target terminal identification information specified, if the judgment result is NO,
saving the control instruction;
disconnecting the current first terminal;
and establishing communication connection with any other first terminal through the communication sensor.
4. The method of claim 1, wherein,
the control instructions include: locking the use function of the target terminal, clearing the data information of the target terminal and/or making the target terminal give out sound alarm.
5. The method of claim 1, wherein,
the preset communication sensor includes: at least one of a bluetooth sensor, an infrared sensor, and a Near Field Communication (NFC) sensor.
6. A method of data transmission, comprising:
sending a starting instruction to a target terminal, wherein the starting instruction instructs the target terminal to start a preset communication sensor;
generating a control instruction, the control instruction being executed by a terminal having specified target terminal identification information;
acquiring the position information of the target terminal when the target terminal is connected with the network last time from the historical position information of the target terminal;
selecting at least one first terminal within a preset range of the position information at the latest networking;
and sending the control instruction to the at least one first terminal in a network connection mode, so that the at least one first terminal can send the control instruction to the target terminal through a preset communication sensor, the communication connection with the first terminal is disconnected when the target terminal does not perform data transmission with the first terminal within a preset time length, and a new communication connection is established with any other terminal except the first terminal through the communication sensor.
7. The method of claim 6, further comprising:
receiving terminal retrieval information from the first terminal; or
Receiving terminal recovery information from the second terminal, wherein,
the terminal retrieval information is received by the second terminal from any one of the first terminals carrying the terminal retrieval information.
8. A data transmission apparatus comprising:
the connection request unit is configured to turn on a preset communication sensor under the condition that the SIM card is detected to be removed, or start the preset communication sensor when a start instruction sent by the server is received; sending a connection request to a first terminal in a communication range or receiving the connection request sent by the first terminal through a preset communication sensor, wherein the first terminal carries a control instruction generated by a server, and the control instruction is specified to be executed by a terminal with specified target terminal identification information;
a communication connection unit configured to establish a communication connection with the first terminal;
a data receiving unit configured to receive the control instruction from the first terminal;
a terminal judging unit configured to judge whether the current terminal has the specified target terminal identification information;
a data execution unit configured to execute the control instruction when the determination result of the terminal determination unit is yes;
a terminal retrieval information generating unit configured to generate terminal retrieval information; and
a terminal retrieval information sending unit configured to send the terminal retrieval information to any one of the first terminals;
a communication connection monitoring unit configured to monitor a communication connection with the first terminal;
the communication connection unit is further configured to disconnect the communication connection with the first terminal when data transmission does not occur with the first terminal within a preset time period, and establish a new communication connection with any other terminal except the first terminal through the communication sensor;
wherein, the terminal retrieving information comprises: the position information of the current terminal, the identification code IMEI of the mobile equipment, the MAC address and/or the execution result of the control instruction are fed back;
the position information of the current terminal comprises position information of the current terminal or position information of the first terminal which establishes communication connection with the current terminal.
9. The apparatus of claim 8, further comprising:
a data saving unit configured to save the control instruction when the determination result of the terminal determining unit is negative;
the communication connection unit is also configured to disconnect the current first terminal and establish a connection with any other first terminal through the communication sensor.
10. A data transmission apparatus comprising:
an instruction generating unit configured to generate a control instruction executed by a terminal having specified target terminal identification information;
the system comprises a historical position information acquisition unit, a position information acquisition unit and a position information acquisition unit, wherein the historical position information acquisition unit is used for acquiring the position information of a target terminal when the target terminal is connected with the network last time from the historical position information of the target terminal;
a first terminal selection unit configured to select at least one first terminal within a preset range of the location information at the latest networking time according to the location information at the latest networking time acquired by the historical location information acquisition unit;
the instruction sending unit is configured to send a starting instruction to a target terminal and send the control instruction to at least one first terminal in a network connection mode, so that the at least one first terminal can send the control instruction to the target terminal through a preset communication sensor, and the starting instruction instructs the target terminal to start a preset sensor;
the instruction sending unit is further configured to send the control instruction to the at least one first terminal selected by the first terminal selection unit, so that the at least one first terminal can send the control instruction to the target terminal through a preset communication sensor, so that when the target terminal does not perform data transmission with the first terminal within a preset time period, the communication connection with the first terminal is disconnected, and a new communication connection is established with any other terminal except the first terminal through the communication sensor.
11. The apparatus of claim 10, further comprising:
the data receiving unit is configured to receive terminal retrieval information from the first terminal in a network connection mode; or
And receiving terminal retrieval information from a second terminal in a network connection mode, wherein the terminal retrieval information is received by the second terminal from any first terminal carrying the terminal retrieval information.
12. A data transmission terminal comprising:
a memory configured to store program code;
a receiving unit configured to receive a control instruction from a first terminal;
a processor configured to perform the following steps according to instructions in the program code stored in the memory:
under the condition that the SIM card is detected to be removed, a preset communication sensor is turned on, or the preset communication sensor is turned on when a starting instruction sent by a server side is received;
sending a connection request to a first terminal in a communication range or receiving the connection request sent by the first terminal through a preset communication sensor, wherein the first terminal carries a control instruction generated by a server, and the control instruction is specified to be executed by a terminal with specified target terminal identification information;
establishing a communication connection with the first terminal;
judging whether the appointed target terminal identification information exists or not;
if the judgment result is yes, executing the control instruction;
generating terminal retrieval information;
sending the terminal retrieval information to the first terminal;
monitoring a communication connection with the first terminal;
when data transmission does not occur with the first terminal within a preset time length, disconnecting the communication connection with the first terminal, and establishing new communication connection with any other terminal except the first terminal through the communication sensor;
the terminal retrieving information comprises: the position information of the current terminal, the identification code IMEI of the mobile equipment, the MAC address and/or the execution result of the control instruction are fed back;
the position information of the current terminal comprises position information of the current terminal or position information of the first terminal which establishes communication connection with the current terminal.
13. A data transmission server, comprising:
a memory configured to store program code;
a processor configured to perform the following steps according to instructions in the program code stored in the memory:
generating a control instruction, the control instruction being executed by a terminal having specified target terminal identification information;
a sending unit configured to send a start instruction to a target terminal, acquire location information of the target terminal at the latest time of networking from historical location information of the target terminal, select at least one first terminal within a preset range of the location information at the latest time of networking, sending the control instruction to the at least one first terminal in a network connection mode, so that the at least one first terminal can send the control instruction to the target terminal through a preset communication sensor, for disconnecting the communication connection with the first terminal when the target terminal does not perform data transmission with the first terminal within a preset time length, and establishing new communication connection with any other terminal except the first terminal through the communication sensor, wherein the starting instruction instructs the target terminal to start a preset communication sensor.
CN201610959251.1A 2016-11-03 2016-11-03 Data transmission method, device, terminal and server Active CN106559742B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610959251.1A CN106559742B (en) 2016-11-03 2016-11-03 Data transmission method, device, terminal and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610959251.1A CN106559742B (en) 2016-11-03 2016-11-03 Data transmission method, device, terminal and server

Publications (2)

Publication Number Publication Date
CN106559742A CN106559742A (en) 2017-04-05
CN106559742B true CN106559742B (en) 2020-08-28

Family

ID=58444182

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610959251.1A Active CN106559742B (en) 2016-11-03 2016-11-03 Data transmission method, device, terminal and server

Country Status (1)

Country Link
CN (1) CN106559742B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019075662A1 (en) * 2017-10-18 2019-04-25 深圳市奥星澳科技有限公司 Gateway multi-connection method and device
CN108011970B (en) * 2017-12-20 2024-02-06 联创中控(北京)教育科技有限公司 Universal acquisition control node, system and data acquisition method
CN108115691A (en) * 2018-01-31 2018-06-05 塔米智能科技(北京)有限公司 A kind of robot interactive system and method
CN109032787B (en) * 2018-05-29 2021-02-12 北京奇艺世纪科技有限公司 Task allocation method and device
CN112511188A (en) * 2020-12-03 2021-03-16 杭州得诚电力科技股份有限公司 Anti-interference data acquisition method and device, electronic equipment and storage medium
CN113259863B (en) * 2021-06-23 2021-09-24 北京翔东智能科技有限公司 Take bluetooth adapter of NFC function

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102387494A (en) * 2011-11-02 2012-03-21 北京邮电大学 Android-mobile-platform-based remote automatic information exchange and control solution
CN102395102A (en) * 2011-10-25 2012-03-28 华为终端有限公司 Processing method of lost mobile terminal, related apparatus and communication system
CN104796860A (en) * 2015-04-21 2015-07-22 努比亚技术有限公司 Method and device for positioning terminals

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101765076A (en) * 2009-12-17 2010-06-30 中兴通讯股份有限公司 Method, device and system for partially locking termination function
CN105516948B (en) * 2014-09-26 2019-05-10 华为技术有限公司 A kind of apparatus control method and device
CN104935751A (en) * 2015-06-26 2015-09-23 深圳市壹萌生活科技有限公司 Electronic equipment position determining method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102395102A (en) * 2011-10-25 2012-03-28 华为终端有限公司 Processing method of lost mobile terminal, related apparatus and communication system
CN102387494A (en) * 2011-11-02 2012-03-21 北京邮电大学 Android-mobile-platform-based remote automatic information exchange and control solution
CN104796860A (en) * 2015-04-21 2015-07-22 努比亚技术有限公司 Method and device for positioning terminals

Also Published As

Publication number Publication date
CN106559742A (en) 2017-04-05

Similar Documents

Publication Publication Date Title
CN106559742B (en) Data transmission method, device, terminal and server
CN105683845B (en) System and method for device detection and APP configuration
US10154526B2 (en) Network setup for limited user interface devices
CN108282767B (en) Pairing method, device and system
US10223887B2 (en) Anti-theft apparatus for smart device
JP6663110B2 (en) Wireless communication device, wireless communication system, connection processing method, and connection processing program
CN105934962B (en) The method and the network equipment of supervision domain identifier for the network equipment
TW201816423A (en) System and method for automatically detecting and initiating a walk
CN111263338B (en) Network distribution method of Bluetooth Mesh network, related network distribution equipment and system
KR20180097981A (en) Method and apparatus for authenticating car smart key
CN104767639A (en) Equipment management method and device
CN105376711A (en) Position prompting method and apparatus of wearable device, and wearable device
JP2018019144A5 (en)
WO2016160824A1 (en) Mobile device and method for meter configuring and data collection
CN107209982B (en) Method and device for associating object with user, communication object and storage medium
CN104869621B (en) A kind of Network Recognition method and apparatus
US20100062710A1 (en) Monitoring for the presence of a radio-communicating module in the vicinity of a radio-communicating terminal
CN112423368A (en) Gateway, intelligent device, mobile terminal, network access method and network access auxiliary method and system
CN104023412A (en) Wireless terminal pairing method and device thereof
CN112073906B (en) Method and device for searching equipment, electronic equipment and storage medium
EP3136744B1 (en) Device control method and apparatus in home network system
WO2014165500A1 (en) Remote onboard emission compliance technique
CN108037680B (en) Instruction processing method and device
CN113489831B (en) Equipment control method, device and storage medium
CN118019950A (en) Refrigerator and control method thereof

Legal Events

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

Effective date of registration: 20221103

Address after: Room 1518, Floor 5, Building 1, No. 483, Changxu Road, Suzhou City, Jiangsu Province, 215008

Patentee after: Suzhou Gongxiang Information Technology Co.,Ltd.

Address before: 361000 112a, Chuangye building, Pioneer Park, torch high tech Zone, Xiamen, Fujian Province

Patentee before: Xiamen Meitu Mobile Technology Co.,Ltd.