CN106231544B - Method and device for storage and selection of transmission path in terminal moving process - Google Patents

Method and device for storage and selection of transmission path in terminal moving process Download PDF

Info

Publication number
CN106231544B
CN106231544B CN201610826424.2A CN201610826424A CN106231544B CN 106231544 B CN106231544 B CN 106231544B CN 201610826424 A CN201610826424 A CN 201610826424A CN 106231544 B CN106231544 B CN 106231544B
Authority
CN
China
Prior art keywords
terminal
communication
moving
file
modes
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
CN201610826424.2A
Other languages
Chinese (zh)
Other versions
CN106231544A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610826424.2A priority Critical patent/CN106231544B/en
Publication of CN106231544A publication Critical patent/CN106231544A/en
Application granted granted Critical
Publication of CN106231544B publication Critical patent/CN106231544B/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/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
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/08Load balancing or load distribution
    • H04W28/082Load balancing or load distribution among bearers or channels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/64Details of telephonic subscriber devices file transfer between terminals

Landscapes

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

Abstract

The invention belongs to the field of communication, and provides a method for selecting storage of a transmission path in a terminal carrier, which comprises the following steps: a first terminal sends a communication request to a second terminal through at least two communication modes, wherein the communication request comprises: an indication of moving; the first terminal receives a communication response sent by the second terminal through the at least two communication modes, wherein the communication response comprises: the second terminal is used for storing the address of the file; the first terminal selects a storage address corresponding to each communication mode in at least two communication modes according to the address used by the second terminal for storing the file, and sends the storage address corresponding to each communication mode to the second terminal; the first terminal sends different moving files to the second terminal through the at least two communication modes. The invention has the advantage of good user experience.

Description

Method and device for storage and selection of transmission path in terminal moving process
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for selecting transmission path storage in terminal moving.
Background
Terminals in the communication field, such as mobile phones, tablet computers and other devices, belong to devices commonly used by users, and since the devices all have their own operating systems at present, the terminals are also called smart terminals or smart phones, and smart phones (english: smartphones) are collective names for those mobile phones having higher computing power and functions than those of traditional functional mobile phones. The operating systems most used by smartphones are: windows Phone, Android, IOS and BlackBerry OS, but the application software between them is not compatible. The smart phones can be provided with third-party software like a personal computer, so that the functions of the smart phones are rich and the smart phones can be expanded continuously.
Existing terminals all have a function of storing files, such as: photos, texts, videos, address books and the like, along with the increasing styles of current smart phones and the increasing frequency of mobile phone replacement, data transfer after mobile phone replacement is commonly called as mobile phone moving, for the existing mobile phone moving, how to transfer files of an old mobile phone to a new mobile phone is a problem of headache, for example, the address book is taken as an example, the existing scheme is realized through third-party software, such as QQ synchronous assistant, icloud and the like, and in the existing mode, a user cannot move the files through multiple paths in the mobile phone moving, and cannot select storage paths of the paths, so that the user experience degree is low.
Disclosure of Invention
One of the objectives of the present invention is to provide a method for selecting and storing transmission paths during terminal moving, which mainly solves the drawback of low experience in the prior art.
In a first aspect, a method for storage and selection of a transmission path in a terminal carrier is provided, where the method includes the following steps:
a first terminal sends a communication request to a second terminal through at least two communication modes, wherein the communication request comprises: an indication of moving;
the first terminal receives a communication response sent by the second terminal through the at least two communication modes, wherein the communication response comprises: the second terminal is used for storing the address of the file;
the first terminal selects a storage address corresponding to each communication mode in at least two communication modes according to the address used by the second terminal for storing the file, and sends the storage address corresponding to each communication mode to the second terminal;
the first terminal sends different moving files to the second terminal through the at least two communication modes.
Optionally, in the method, the sending, by the first terminal, different moving files to the second terminal through the at least two communication methods specifically includes:
the first terminal detects time delay of at least two communication modes, and different communication modes are distributed to the moving file according to the time delay and the size of the moving file.
Optionally, the allocating different communication modes to the moving file according to the time delay and the size of the moving file specifically includes:
if the time delay of the first communication mode is larger than the time delay of the second communication mode, the moving file with large data volume is allocated to the second communication mode, and the moving file with small data volume is allocated to the first communication mode.
Optionally, in the method, the sending, by the first terminal, different moving files to the second terminal through the at least two communication methods specifically includes:
the first terminal calculates the number of hops of at least two communication methods, allocates a moving file having a large data amount to a communication method having a small number of hops, and allocates a moving file having a large data amount to a communication method having a large number of hops.
Optionally, in the method, the sending, by the first terminal, different moving files to the second terminal through the at least two communication methods specifically includes:
the first terminal calculates the distance between at least two communication methods, assigns a moving file with a large data size to a communication method with a short distance, and assigns a moving file with a large data size to a communication method with a long distance.
In a second aspect, there is provided an apparatus for storing and selecting a transmission path in a terminal carrier, the apparatus being disposed in a first terminal, the apparatus comprising:
a sending unit, configured to send a communication request to a second terminal through at least two communication methods, where the communication request includes: an indication of moving;
a receiving unit, configured to receive a communication response sent by the second terminal through the at least two communication manners, where the communication response includes: the second terminal is used for storing the address of the file;
the processing unit is used for selecting a storage address corresponding to each communication mode in at least two communication modes according to the address used by the second terminal for storing the file, and the first terminal sends the storage address corresponding to each communication mode to the second terminal; and sending different moving files to the second terminal through the at least two communication modes.
Optionally, the processing unit is specifically configured to detect a time delay of at least two communication modes, and allocate different communication modes to the moving file according to the time delay and the size of the moving file.
Optionally, the processing unit is further specifically configured to, if the time delay of the first communication mode is greater than the time delay of the second communication mode, allocate the moving file with a large data size to the second communication mode, and allocate the moving file with a small data size to the first communication mode.
Optionally, the processing unit is specifically configured to calculate a hop count of at least two communication modes, allocate a moving file with a large data size to a communication mode with a small hop count, and allocate a moving file with a large data size to a communication mode with a large hop count.
Optionally, the processing unit is specifically configured to calculate distances of at least two communication modes, allocate moving files with a large data size to communication modes with short distances, and allocate moving files with a large data size to communication modes with long distances.
In a third aspect, a terminal is provided, where the terminal includes the apparatus for storage and selection of transmission paths in moving of the terminal.
It will be appreciated by those of ordinary skill in the art that although the following detailed description will proceed with reference being made to illustrative embodiments, the present invention is not intended to be limited to these embodiments. Rather, the scope of the invention is broad and is intended to be defined only by the claims appended hereto.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
fig. 1 is a flowchart of a method for selecting a transmission path storage in a terminal carrier according to a preferred embodiment of the present invention.
Fig. 2 is a flowchart of a method for selecting a transmission path storage in a terminal carrier according to another preferred embodiment of the present invention.
Fig. 3 is a block diagram of an apparatus for storing and selecting a transmission path in a terminal carrier according to a next preferred embodiment of the present invention.
Fig. 4 is a schematic diagram of a hardware structure of the terminal provided by the present invention.
Detailed Description
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations as a sequential process, many of the operations can be performed in parallel, concurrently, or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
The term "computer device" or "computer" in this context refers to an intelligent electronic device that can execute predetermined processes such as numerical calculation and/or logic calculation by running predetermined programs or instructions, and may include a processor and a memory, wherein the processor executes a pre-stored instruction stored in the memory to execute the predetermined processes, or the predetermined processes are executed by hardware such as ASIC, FPGA, DSP, or a combination thereof. Computer devices include, but are not limited to, servers, personal computers, laptops, tablets, smart phones, and the like.
The methods discussed below, some of which are illustrated by flow diagrams, may be implemented by hardware, software, firmware, middleware, microcode, hardware description languages, or any combination thereof. When implemented in software, firmware, middleware or microcode, the program code or code segments to perform the necessary tasks may be stored in a machine or computer readable medium such as a storage medium. The processor(s) may perform the necessary tasks.
Specific structural and functional details disclosed herein are merely representative and are provided for purposes of describing example embodiments of the present invention. The present invention may, however, be embodied in many alternate forms and should not be construed as limited to only the embodiments set forth herein.
It will be understood that, although the terms first, second, etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first element may be termed a second element, and, similarly, a second element may be termed a first element, without departing from the scope of example embodiments. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used herein, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be noted that, in some alternative implementations, the functions/acts noted may occur out of the order noted in the figures. For example, two figures shown in succession may, in fact, be executed substantially concurrently, or the figures may sometimes be executed in the reverse order, depending upon the functionality/acts involved.
The present invention is described in further detail below with reference to the attached drawing figures.
According to an aspect of the present invention, there is provided a method of storage selection of a transmission path in a terminal carrier. The method is applied to a terminal, and the terminal includes but is not limited to: the smart phone comprises a server, a computer, a tablet computer, a smart phone and the like, and certainly, in practical application, devices such as a smart watch or a smart bracelet can be added.
In an embodiment, the method for storing and selecting the transmission path in the terminal moving process may be used in a terminal, and it should be noted that the terminal is merely an example, and other existing or future network devices and user devices, if applicable to the present invention, should also be included in the scope of the present invention and are included herein by reference.
Referring to fig. 1, fig. 1 is a diagram illustrating a method for selecting a storage of a transmission path in a terminal, where the method is performed by a terminal, according to a preferred embodiment of the present invention, and the method is shown in fig. 1 and includes the following steps:
step S101, a first terminal sends a communication request to a second terminal through at least two communication modes, wherein the communication request comprises: an indication of moving;
the communication request sent by the first terminal to the second terminal in step S101 may be multiple communication requests, and the at least two communication modes may specifically be: any two or more of WIFI, bluetooth, LTE, and CDMA, for example, in a specific solution of a preferred embodiment of the present invention, the communication request sent by the first terminal to the second terminal may be a communication request sent by the first terminal through wireless fidelity (WIFI), and the structure and definition of the communication request may refer to specific definitions in IEEE802.1, which are not described herein again, and it is needless to say that in another specific solution of a preferred embodiment of the present invention, the communication request sent by the first terminal to the second terminal may be a communication request sent by the first terminal through bluetooth, and naturally in practical applications, the communication request may also be sent by using other communication methods, for example, a communication request sent by the first terminal through Long Term Evolution (Long Term Evolution, LTE), of course, the first terminal may also be a communication request sent by Code Division Multiple Access (CDMA). The embodiments of the present invention are not limited to the specific presentation of the communication request nor to the specific standard protocol followed by the communication request.
The value of the moving instruction may be: moving or not moving can be realized by one bit in the extension field in the communication request, for example, setting 1 as moving and 0 as not moving, but in practical application, the above setting can be reversed, for example, setting 0 as moving and 1 as not moving. In practical application, the moving indication may be provided in other manners, for example, a special field with a set length is carried, for example, 10 fields 1, 10 fields 0, 11 fields 1, or 12 fields 0, and only the first terminal and the second terminal need to be able to recognize each other.
Step S102, the first terminal receives a communication response sent by the second terminal through the at least two communication methods, where the communication response may include: the second terminal is used for storing the address of the file;
the communication response received by the first terminal in step S102 and sent by the second terminal may be a plurality of communication responses, for example, in a specific solution of a preferred embodiment of the present invention, the communication response received by the first terminal and sent by the second terminal may be a communication response sent by the second terminal through Wireless Fidelity (WIFI), and the structure and definition of the communication response may refer to specific definitions in IEEE802.1, which are not described herein again, and certainly in another specific solution of a preferred embodiment of the present invention, the communication response received by the first terminal and sent by the second terminal may be a communication response sent by the second terminal through bluetooth, and certainly in practical applications, the communication response may also be sent in other communication manners, for example, the first terminal sends the communication response through Long term evolution (Long term evolution, LTE), of course, the second terminal may transmit the communication response by code division multiple access (english: code division Multiple Access, CDMA). The embodiments of the present invention are not limited to the specific presentation of the communication request nor to the specific standard protocol followed by the communication request.
The address of the second terminal used for storing the file in step S102 may be carried in the extension field of the communication response, and certainly in practical application, may also be carried in the payload of the communication response.
And step S103, the first terminal selects a storage address corresponding to each communication mode in at least two communication modes according to the address used for storing the file by the second terminal, and the first terminal sends the storage address corresponding to each communication mode to the second terminal.
And step S104, the first terminal sends different moving files to the second terminal through the at least two communication modes.
The step S103 of sending the different moving files to the second terminal through the at least two communication methods by the first terminal may specifically be: the first terminal randomly allocates the moving file to send to the second terminal from the two communication modes, and certainly, the moving file may also be sent by allocating different communication modes to the moving file through some set rules, and specific set rules may refer to the description of the following embodiments and are not described herein again.
According to the technical scheme provided by the invention, the storage address (including but not limited to mobile phone storage, an SD1 card and an SD2 card) of the second terminal (namely a new mobile phone) is acquired by receiving the communication response sent by the second terminal, and the second terminal is communicated through at least two communication modes, so that at least two communication modes are provided for the first terminal, and the storage address is provided for each communication mode, therefore, the method and the device have the advantages of transmitting the storage file through multiple modes and improving the user experience.
Referring to fig. 2, fig. 2 is a diagram illustrating a method for storage and selection of a transmission path in a terminal carrier according to another preferred embodiment of the present invention, where the method is performed by a terminal, and the method is shown in fig. 2 and includes the following steps:
step S201, a first terminal sends a communication request to a second terminal through at least two communication methods, where the communication request includes: an indication of moving;
the communication request sent by the first terminal to the second terminal in step S201 may be multiple communication requests, and the at least two communication modes may specifically be: any two or more of WIFI, bluetooth, LTE, and CDMA, for example, in a specific solution of a preferred embodiment of the present invention, the communication request sent by the first terminal to the second terminal may be a communication request sent by the first terminal through wireless fidelity (WIFI), and the structure and definition of the communication request may refer to specific definitions in IEEE802.1, which are not described herein again, and it is needless to say that in another specific solution of a preferred embodiment of the present invention, the communication request sent by the first terminal to the second terminal may be a communication request sent by the first terminal through bluetooth, and naturally in practical applications, the communication request may also be sent by using other communication methods, for example, a communication request sent by the first terminal through Long Term Evolution (Long Term Evolution, LTE), of course, the first terminal may also be a communication request sent by Code Division Multiple Access (CDMA). The embodiments of the present invention are not limited to the specific presentation of the communication request nor to the specific standard protocol followed by the communication request.
The value of the moving instruction may be: moving or not moving can be realized by one bit in the extension field in the communication request, for example, setting 1 as moving and 0 as not moving, but in practical application, the above setting can be reversed, for example, setting 0 as moving and 1 as not moving. In practical application, the moving indication may be provided in other manners, for example, a special field with a set length is carried, for example, 10 fields 1, 10 fields 0, 11 fields 1, or 12 fields 0, and only the first terminal and the second terminal need to be able to recognize each other.
Step S202, the first terminal receives a communication response sent by the second terminal through the at least two communication methods, where the communication response may include: the second terminal is used for storing the address of the file;
the communication response received by the first terminal in step S202 and sent by the second terminal may be a plurality of communication responses, for example, in a specific solution of a preferred embodiment of the present invention, the communication response received by the first terminal and sent by the second terminal may be a communication response sent by the second terminal through Wireless Fidelity (WIFI), and the structure and definition of the communication response may refer to specific definitions in IEEE802.1, which are not described herein again, but in another specific solution of a preferred embodiment of the present invention, the communication response received by the first terminal and sent by the second terminal may be a communication response sent by the second terminal through bluetooth, and certainly in practical applications, the communication response may also be sent in other communication manners, for example, the first terminal sends the communication response through Long term evolution (Long term evolution, LTE), of course, the second terminal may transmit the communication response by code division multiple access (english: code division Multiple Access, CDMA). The embodiments of the present invention are not limited to the specific presentation of the communication request nor to the specific standard protocol followed by the communication request.
The address of the second terminal used for storing the file in step S202 may be carried in the extension field of the communication response, and certainly in practical application, may also be carried in the payload of the communication response.
And step S203, the first terminal selects a storage address corresponding to each communication mode in at least two communication modes according to the address used for storing the file by the second terminal, and the first terminal sends the storage address corresponding to each communication mode to the second terminal.
Step S204, the first terminal detects time delay of at least two communication modes, and different communication modes are allocated to the moving file according to the time delay and the size of the moving file.
In the step S204, the allocating different communication modes to the moving file according to the time delay and the size of the moving file is specifically that, if the time delay of the first communication mode is greater than the time delay of the second communication mode, the moving file with a large data size is allocated to the second communication mode, and the moving file with a small data size is allocated to the first communication mode.
Of course, the above step S204 may be replaced by the following technical solutions:
the first terminal calculates the number of hops of at least two communication methods, allocates a moving file having a large data amount to a communication method having a small number of hops, and allocates a moving file having a large data amount to a communication method having a large number of hops.
The hop count of the path can be calculated by the TTL value of the data packet, according to the specification of the TCP/IP protocol, the initial TTL value is 64, and the TTL value is reduced by 1 every time a router passes through, so that the hop count of the router can be conveniently calculated by the TTL value.
Of course, the above step S204 may be replaced by the following technical solutions:
the first terminal calculates the distance between at least two communication methods, assigns a moving file with a large data size to a communication method with a short distance, and assigns a moving file with a large data size to a communication method with a long distance.
According to the technical scheme provided by the invention, the storage address (including but not limited to mobile phone storage, an SD1 card and an SD2 card) of the second terminal (namely a new mobile phone) is acquired by receiving the communication response sent by the second terminal, and the second terminal is communicated through at least two communication modes, so that at least two communication modes are provided for the first terminal, and the storage address is provided for each communication mode, therefore, the method and the device have the advantages of transmitting the storage file through multiple modes and improving the user experience.
Referring to fig. 3, fig. 3 is a diagram illustrating an apparatus 300 for storing and selecting a transmission path in a terminal carrier according to the present invention, the apparatus being disposed in a first terminal, the apparatus including:
a sending unit 301, configured to send a communication request to a second terminal through at least two communication methods, where the communication request includes: an indication of moving;
a receiving unit 302, configured to receive a communication response sent by the second terminal through the at least two communication manners, where the communication response includes: the second terminal is used for storing the address of the file;
the processing unit 303 is configured to select a storage address corresponding to each of at least two communication modes according to an address used by the second terminal to store a file, and the first terminal sends the storage address corresponding to each communication mode to the second terminal; and sending different moving files to the second terminal through the at least two communication modes.
Optionally, the processing unit 303 is specifically configured to detect a time delay of at least two communication modes, and allocate different communication modes to the moving file according to the time delay and the size of the moving file.
Optionally, the processing unit 303 is further configured to, if the time delay of the first communication mode is greater than the time delay of the second communication mode, allocate the moving file with a large data size to the second communication mode, and allocate the moving file with a small data size to the first communication mode.
Optionally, the processing unit 303 is specifically configured to calculate the hop counts of at least two communication modes, allocate a moving file with a large data size to a communication mode with a small hop count, and allocate a moving file with a large data size to a communication mode with a large hop count.
Optionally, the processing unit 303 is specifically configured to calculate distances of at least two communication methods, assign a moving file with a large data size to a communication method with a short distance, and assign a moving file with a large data size to a communication method with a long distance.
The specific embodiment of the present invention further provides a terminal, which includes the apparatus 300 for storing and selecting the transmission path during moving the terminal.
The present invention may be embodied in other specific forms without departing from its spirit or essential characteristics. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the system claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Referring to fig. 4, an embodiment of the present invention further provides a terminal 400, where the terminal 400 includes, but is not limited to: as shown in fig. 4, the terminal 400 includes a smart phone, a smart watch, a tablet computer, a personal computer, a notebook computer, or a computer group: a processor 401, a memory 403, a transceiver 402, and a bus 404. The transceiver 402 is used for transceiving data with an external device. The number of processors 401 in the device 400 may be one or more. In some embodiments of the present application, the processor 401, the memory 403, and the transceiver 402 may be connected by a bus system or other means. The apparatus 400 may be used to perform the method shown in fig. 1. With regard to the meaning and examples of the terms related to the present embodiment, reference may be made to the corresponding description of fig. 1. And will not be described in detail herein.
Wherein the memory 403 stores program code therein. The processor 401 is arranged to call program code stored in the memory 403 for performing the steps as shown in fig. 1.
It should be noted that the processor 401 may be a single processing element or may be a general term for a plurality of processing elements. For example, the Processing element may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement embodiments of the present Application, such as: one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs).
The memory 403 may be a single storage device or a combination of multiple storage elements, and is used for storing executable program codes or parameters, data, etc. required by the running device of the application program. And the memory 403 may include a Random Access Memory (RAM) or a non-volatile memory (non-volatile memory), such as a magnetic disk memory, a Flash memory (Flash), and the like.
The bus 404 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 4, but this does not indicate only one bus or one type of bus.
The user equipment may also include input and output devices coupled to bus 404 for interfacing with other components such as processor 401 via the bus. The input and output device can provide an input interface for an operator so that the operator can select a control item through the input interface, and can also be other interfaces through which other equipment can be externally connected.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
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 functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the present invention, and they should be construed as being included in the following claims and description.

Claims (13)

1. A method for storing and selecting a transmission path in terminal moving is characterized by comprising the following steps:
a first terminal sends a communication request to a second terminal through at least two communication modes, wherein the communication request comprises: an indication of moving;
the first terminal receives a communication response sent by the second terminal through the at least two communication modes, wherein the communication response comprises: the second terminal is used for storing the address of the file;
the first terminal selects a storage address corresponding to each communication mode in at least two communication modes according to the address used by the second terminal for storing the file, and sends the storage address corresponding to each communication mode to the second terminal;
the first terminal sends different moving files to the second terminal through the at least two communication modes.
2. The method according to claim 1, wherein the method that the first terminal sends different moving files to the second terminal in at least two communication modes specifically comprises:
the first terminal detects time delay of at least two communication modes, and different communication modes are distributed to the moving file according to the time delay and the size of the moving file.
3. The method of claim 2, wherein the allocating different communication modes to the moving file according to the time delay and the size of the moving file specifically comprises:
if the time delay of the first communication mode is larger than the time delay of the second communication mode, the moving file with large data volume is allocated to the second communication mode, and the moving file with small data volume is allocated to the first communication mode.
4. The method according to claim 1, wherein the method that the first terminal sends different moving files to the second terminal in at least two communication modes specifically comprises:
the first terminal calculates the number of hops of at least two communication methods, allocates a moving file having a large data amount to a communication method having a small number of hops, and allocates a moving file having a large data amount to a communication method having a large number of hops.
5. The method according to claim 1, wherein the method that the first terminal sends different moving files to the second terminal in at least two communication modes specifically comprises:
the first terminal calculates the distance between at least two communication methods, assigns a moving file with a large data amount to a communication method with a short distance, and assigns a moving file with a small data amount to a communication method with a long distance.
6. A device for storage and selection of transmission paths in moving of terminals is characterized in that the device is configured in a first terminal, and the device comprises:
a sending unit, configured to send a communication request to a second terminal through at least two communication methods, where the communication request includes: an indication of moving;
a receiving unit, configured to receive a communication response sent by the second terminal through the at least two communication manners, where the communication response includes: the second terminal is used for storing the address of the file;
the processing unit is used for selecting a storage address corresponding to each communication mode in at least two communication modes according to the address used by the second terminal for storing the file, and the first terminal sends the storage address corresponding to each communication mode to the second terminal; and sending different moving files to the second terminal through the at least two communication modes.
7. The apparatus according to claim 6, wherein the processing unit is specifically configured to detect a time delay of at least two communication modes, and allocate different communication modes to the moving file according to the time delay and a size of the moving file.
8. The device according to claim 7, wherein the processing unit is further configured to, if the time delay of the first communication mode is greater than the time delay of the second communication mode, allocate the moving file with a large data size to the second communication mode, and allocate the moving file with a small data size to the first communication mode.
9. The device according to claim 6, wherein the processing unit is configured to calculate the number of hops for at least two communication schemes, allocate a moving file with a large amount of data to a communication scheme with a small number of hops, and allocate a moving file with a large amount of data to a communication scheme with a large number of hops.
10. The device according to claim 6, wherein the processing unit is configured to calculate distances of at least two communication methods, assign a moving file with a large data amount to a communication method with a short distance, and assign a moving file with a small data amount to a communication method with a long distance.
11. A terminal, characterized in that the terminal comprises means for storage selection of a transmission path in a terminal carrier according to any of claims 6-10.
12. A computer-readable storage medium comprising, in combination,
stored with a computer program which, when executed by a computer device, performs the method of any one of claims 1 to 5.
13. A terminal comprising a memory and a processor;
wherein the memory stores a computer program and the processor is adapted to call the computer program stored in the memory to perform the method of any of claims 1 to 5.
CN201610826424.2A 2016-09-14 2016-09-14 Method and device for storage and selection of transmission path in terminal moving process Active CN106231544B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610826424.2A CN106231544B (en) 2016-09-14 2016-09-14 Method and device for storage and selection of transmission path in terminal moving process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610826424.2A CN106231544B (en) 2016-09-14 2016-09-14 Method and device for storage and selection of transmission path in terminal moving process

Publications (2)

Publication Number Publication Date
CN106231544A CN106231544A (en) 2016-12-14
CN106231544B true CN106231544B (en) 2020-01-14

Family

ID=58075560

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610826424.2A Active CN106231544B (en) 2016-09-14 2016-09-14 Method and device for storage and selection of transmission path in terminal moving process

Country Status (1)

Country Link
CN (1) CN106231544B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106484506B (en) * 2016-09-14 2020-01-14 Oppo广东移动通信有限公司 File storage path selection method and device in terminal moving

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100426890C (en) * 2006-08-11 2008-10-15 华为技术有限公司 Message transmitting equipment and method
CN104348583A (en) * 2013-08-08 2015-02-11 联想(北京)有限公司 Information processing method and electronic equipment
CN104598545A (en) * 2014-12-31 2015-05-06 深圳市金立通信设备有限公司 File operation method
CN104955104B (en) * 2015-05-27 2018-07-24 北京邮电大学 A kind of transmission method and device of data
CN105491113B (en) * 2015-11-25 2019-03-12 小米科技有限责任公司 Moving method, device and terminal

Also Published As

Publication number Publication date
CN106231544A (en) 2016-12-14

Similar Documents

Publication Publication Date Title
EP3637908A1 (en) Data processing method and device
CN110800358A (en) Transmission configuration method and related product
EP3702915B1 (en) Data processing method and device, storage medium, processor, and system
CN109548149B (en) RBG (role-based group) dividing method and user terminal
CN110692274A (en) Signal transmission method and related equipment
EP2950219A1 (en) Method and apparatus for using serial port in time division multiplexing manner
JP2020520575A (en) Method for transmitting signal, network device and terminal device
CN106612559B (en) Time slot scheduling method and device
KR20200087833A (en) Resource allocation instruction, receiving method and device
EP3121973A1 (en) Method, device and system for directional direction selection
CN106231544B (en) Method and device for storage and selection of transmission path in terminal moving process
CN105490966A (en) Method for dynamically sharing network bandwidth and electronic equipment
CN108199809A (en) A kind of method for transmitting information, base station and user equipment
EP3563616B1 (en) Method and apparatus for allocating uplink resources
EP2999285B1 (en) Method for transmitting signal in device to device proximity service, base station and user equipment
CN111585817B (en) Power-saving mode switching method and device
EP4017192A1 (en) Feedback channel mapping method and apparatus, device, and storage medium
KR102557530B1 (en) Server and method for controlling a wireless communication network performed by using the server
WO2019084924A1 (en) Data transmission method and device
CN112738889B (en) Frequency domain resource indication method and device
CN106446110B (en) Method and device for realizing connection security of terminal moving
WO2019010799A1 (en) Internet of things terminal migration method and gateway
JP7153066B2 (en) Method and apparatus for determining channel frequency hopping, computer storage medium
CN106484506B (en) File storage path selection method and device in terminal moving
CN106507268B (en) Method and device for dynamic verification in mobile phone carriers

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant