CN105491165A - Method and device for task migration between intelligent equipment - Google Patents

Method and device for task migration between intelligent equipment Download PDF

Info

Publication number
CN105491165A
CN105491165A CN201610040818.5A CN201610040818A CN105491165A CN 105491165 A CN105491165 A CN 105491165A CN 201610040818 A CN201610040818 A CN 201610040818A CN 105491165 A CN105491165 A CN 105491165A
Authority
CN
China
Prior art keywords
smart machine
migration
source
application
migrate application
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.)
Granted
Application number
CN201610040818.5A
Other languages
Chinese (zh)
Other versions
CN105491165B (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.)
Shanghai Di'an Technology Co ltd
Original Assignee
Northwestern Polytechnical University
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 Northwestern Polytechnical University filed Critical Northwestern Polytechnical University
Priority to CN201610040818.5A priority Critical patent/CN105491165B/en
Publication of CN105491165A publication Critical patent/CN105491165A/en
Application granted granted Critical
Publication of CN105491165B publication Critical patent/CN105491165B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/04Protocols specially adapted for terminals or networks with limited capabilities; specially adapted for terminal portability
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution
    • G06F9/4856Task life-cycle, e.g. stopping, restarting, resuming execution resumption being on a different machine, e.g. task migration, virtual machine migration

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a method and device for task migration between intelligent equipment, relates to the technical field of information, and aims at realizing convenient and rapid application migration between the intelligent equipment so as to enhance user experience. The method comprises the steps that a user instruction is acquired, and a migration application is determined according to the user instruction; accessing to a migration network is performed; when the migration network includes at least one set of intelligent equipment possibly receiving migration, installation information of the migration application of the at least one set of intelligent equipment possibly receiving migration is acquired; target intelligent equipment is determined according to the installation information of the migration application of the at least one set of intelligent equipment possibly receiving migration and application information of the migration application of source intelligent equipment; operation information of the migration application of the source intelligent equipment is transmitted to the target intelligent equipment; and when the target intelligent equipment completes migration of migration application of the source intelligent equipment according to the operation information, a migration completion message returned by the target intelligent equipment is received.

Description

The method of task immigration and device between a kind of smart machine
Technical field
The present invention relates to areas of information technology, particularly relate to method and the device of task immigration between a kind of smart machine.
Background technology
Universal along with smart mobile phone and panel computer, user has multiple smart machine usually.Increasing user habit is anywhere or anytime by various smart machine viewing video, browsing page etc.Such as, by mobile terminal viewing videos such as mobile phone, panel computer, individual PC when user walks out of doors, in indoor then by equipment viewing videos such as personal computers.But, user's indiscriminately ad. as one wishes seamless switching current network application between each smart machine also cannot be supported in prior art, such as user on the way watches certain video by mobile phone, when it enters into the interior space with panel computer, during as got home, then more wish that the video switch it can watched continues viewing to this panel computer, to obtain better viewing experience.On the other hand, when the smart machine electricity used is not enough, user wishes the application run to switch on other smart machines, as viewing video or read text etc.
Therefore, how between smart machine, to move current application quickly and easily, to promote the experience of user, become the problem that those skilled in the art need solution badly.
Summary of the invention
Embodiments of the invention provide method and the device of task immigration between a kind of smart machine, in order to realize the migration realizing carrying out quickly and easily applying between smart machine, improve Consumer's Experience.
For achieving the above object, embodiments of the invention adopt following technical scheme:
Embodiments provide the method for task immigration between a kind of smart machine, comprising: source smart machine obtains user instruction, and according to described user instruction determination migrate application; Described migrate application is to be migrated to the application in other smart machines in the smart machine of described source; Described source smart machine adds migration network; In described migration network, include at least one when may receive the smart machine of migration, described source smart machine obtain described at least one may receive the mount message of the migrate application of the smart machine of migration; The described smart machine that may receive migration is the smart machine in described migration network except the smart machine of described source; Described source smart machine according to described at least one may receive the mount message of the migrate application of the smart machine of migration and the application message of the migrate application of source smart machine, determine Intelligent target equipment; Described Intelligent target equipment has installed described migrate application in described migration network, and the smart machine of migrate application in the smart machine of the migrate application of described installation compatible described source; The operation information of the migrate application in the smart machine of described source is sent to described Intelligent target equipment by described source smart machine, so that described Intelligent target equipment runs the migrate application in described Intelligent target equipment according to the operation information of the migrate application in the smart machine of described source; Described operation information records the service data of migrate application in the smart machine of described source in the smart machine of described source and the relevant information of state; When described Intelligent target equipment to complete the migration of the migrate application in the smart machine of described source according to described operation information, described source smart machine receives the migration that described Intelligent target equipment returns and completes message.
Optionally, described source smart machine according to described at least one may receive the mount message of the migrate application of the smart machine of migration, and the application message of the migrate application of source smart machine, determine that Intelligent target equipment comprises: described source smart machine according to described at least one may receive the mount message of the migrate application of the smart machine of migration, and the application message of the migrate application of source smart machine, determine Intelligent target list of devices; Have recorded in described migration network in described Intelligent target list of devices and migrate application has been installed, and the device identification of the smart machine of migrate application in the smart machine of the migrate application of described installation compatible described source; Described device identification is used for uniquely indicating smart machine; Described source smart machine, according to described Intelligent target list of devices, determines Intelligent target equipment.
Optionally, described source smart machine add migration network comprise: described source smart machine broadcasting packet; The device identification of described source smart machine and the network name of described source smart machine is carried in described message; The network name of described source smart machine is that described source smart machine gives tacit consent to the network name added; When receiving the response message of the smart machine that may receive migration, described source smart machine determines that whether described may to receive the network name carried in the response message of the smart machine of migration identical with the network name of described source smart machine; If identical, then described source smart machine is according to network name and preset password, adds the described network that may receive the smart machine place of migration; If not identical, then whether described source smart machine detection history network list, determine to have in described web-based history list and the described occurrence that may receive the network name that carries in the response message of the smart machine of migration and match; If have in described web-based history list and the described occurrence that may receive the network name that carries in the response message of the smart machine of migration and match, then described source smart machine is according in described web-based history list with the described occurrence that may receive the network name that carries in the response message of the smart machine of migration and match, and adds the described network that may receive the smart machine place of migration; And upgrade network name.
Optionally, if described not identical, then source smart machine detection history network list, determine whether to have in described web-based history list and may receive the occurrence that the network name that carries in the response message of the smart machine of migration matches comprise with described: if not identical, then source smart machine is according to default network priority order, whether detection history network list, determine to have in described web-based history list and the described occurrence that may receive the network name that carries in the response message of the smart machine of migration and match.
Further, embodiments provide the method for task immigration between a kind of smart machine, comprising: Intelligent target equipment receives the operation information of the migrate application in the described source smart machine of source smart machine transmission; Described operation information records the service data of migrate application in the smart machine of described source in the smart machine of described source and the relevant information of state; Migrate application in Intelligent target equipment described in described Intelligent target opening of device, and according to the operation information of migrate application in the described source smart machine received, the relevant parameter of the migrate application in described Intelligent target equipment is set; When migrate application in described Intelligent target equipment is run according to the relevant parameter of the described migrate application arranged, described Intelligent target equipment sends migration to described source smart machine and completes message.
Further, embodiments provide the device of task immigration between a kind of smart machine, be applied to source smart machine, comprise: processing unit, for obtaining user instruction, and according to described user instruction determination migrate application; Described migrate application is to be migrated to the application in other smart machines in the smart machine of described source; Described processing unit, also for adding migration network; Acquiring unit, for include in described migration network at least one may receive the smart machine of migration time, obtain described at least one may receive the mount message of the migrate application of the smart machine of migration; The described smart machine that may receive migration is the smart machine in described migration network except the smart machine of described source; Determining unit, at least one may receive the mount message of the migrate application of the smart machine of migration described in obtaining according to described acquiring unit, and the application message of the migrate application of source smart machine, determine Intelligent target equipment; Described Intelligent target equipment has installed migrate application in described migration network, and the smart machine of migrate application in the smart machine of the migrate application of described installation compatible described source; Transmitting element, for the operation information of the migrate application in the smart machine of described source is sent to described Intelligent target equipment, so that described Intelligent target equipment runs the migrate application in described Intelligent target equipment according to the operation information of the migrate application in the smart machine of described source; Described operation information records the service data of migrate application in the smart machine of described source in the smart machine of described source and the relevant information of state; Receiving element, during for complete the migration of the migrate application in the smart machine of described source according to described operation information at described Intelligent target equipment, receives the migration that described Intelligent target equipment returns and completes message.
Optionally, described determining unit, specifically for according to described at least one may receive the mount message of the migrate application of the smart machine of migration and the application message of the migrate application of source smart machine, determine Intelligent target list of devices; Have recorded in described migration network in described Intelligent target list of devices and migrate application has been installed, and the device identification of the smart machine of migrate application in the smart machine of the migrate application of described installation compatible described source; Described device identification is used for uniquely indicating smart machine; According to described Intelligent target list of devices, determine Intelligent target equipment.
Optionally, described processing unit, specifically for broadcasting packet; The device identification of described source smart machine and the network name of described source smart machine is carried in described message; The network name of described source smart machine is that described source smart machine gives tacit consent to the network name added; When receiving the response message of the smart machine that may receive migration, determine that whether described may to receive the network name carried in the response message of the smart machine of migration identical with the network name of described source smart machine; If identical, then according to network name and preset password, add the described network that may receive the smart machine place of migration; If not identical, then whether detection history network list, determine to have in described web-based history list and the described occurrence that may receive the network name that carries in the response message of the smart machine of migration and match; If have in described web-based history list and the described occurrence that may receive the network name that carries in the response message of the smart machine of migration and match, then according in described web-based history list with the described occurrence that may receive the network name that carries in the response message of the smart machine of migration and match, add the described network that may receive the smart machine place of migration; And upgrade network name.
Optionally, described processing unit, if specifically for not identical, then according to presetting network priority order, whether detection history network list, determine to have in described web-based history list and the described occurrence that may receive the network name that carries in the response message of the smart machine of migration and match.
Further, embodiments provide the device of task immigration between a kind of smart machine, be applied to Intelligent target equipment, comprise: receiving element, for receiving the operation information of the migrate application in the described source smart machine of source smart machine transmission; Described operation information records the service data of described migrate application in the smart machine of described source and the relevant information of state; Processing unit, for opening the migrate application in described Intelligent target equipment, and according to the operation information of migrate application in the described source smart machine received, arranges the relevant parameter of the migrate application in described Intelligent target equipment; Transmitting element, when running according to the relevant parameter of the described migrate application arranged for the migrate application in described Intelligent target equipment, sends migration to described source smart machine and completes message.
Embodiments provide method and the device of task immigration between a kind of smart machine, comprise: source smart machine obtains user instruction, and according to user instruction determination migrate application, migrate application is to be migrated to the migrate application in other smart machines in the smart machine of source; Source smart machine adds migration network; Move in network include at least one may receive the smart machine of migration time, source smart machine obtains the mount message that at least one may receive the migrate application of the smart machine of migration; Source smart machine may receive the mount message of the migrate application of the smart machine of migration according at least one, and the version number of the migrate application of source smart machine, determines Intelligent target equipment; Intelligent target equipment has installed migrate application in migration network, and the smart machine of migrate application in the migrate application compatible source smart machine installed; The operation information of the migrate application in the smart machine of source is sent to Intelligent target equipment by source smart machine; When Intelligent target equipment to complete the migration of the migrate application in the smart machine of source according to operation information, the migration that source smart machine receiving target smart machine returns completes message.Like this, user is when needing the application migration in the smart machine of source to other smart machines, and the application to other smart machines to be migrated can be defined as migrate application by source smart machine, and after determining migrate application, can add migration network.Intelligent target equipment is determined in migration network, thus make source smart machine that the operation information of the migrate application in it is sent to Intelligent target equipment, so that Intelligent target equipment is according to the migrate application in the operation information operational objective smart machine of the migrate application in the smart machine of source, complete the migration of the migrate application of source smart machine, be the present invention and migrate application can be migrated to Intelligent target equipment by source smart machine, achieve the migration realizing carrying out quickly and easily network application between smart machine, improve Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The first schematic flow sheet of the method for task immigration between a kind of smart machine that Fig. 1 provides for the embodiment of the present invention;
The second schematic flow sheet of the method for task immigration between a kind of smart machine that Fig. 2 provides for the embodiment of the present invention;
The third schematic flow sheet of the method for task immigration between a kind of smart machine that Fig. 3 provides for the embodiment of the present invention;
The structural representation of the device of task immigration between the smart machine in the provenance smart machine that Fig. 4 provides for the embodiment of the present invention;
The structural representation of the device of task immigration between the smart machine in a kind of Intelligent target equipment that Fig. 5 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiments provide the method for task immigration between a kind of smart machine, as shown in Figure 1, comprising:
Step 101, source smart machine obtain user instruction, and according to user instruction determination migrate application.
Wherein, migrate application is to be migrated to the application in other smart machines in the smart machine of source.
Concrete, run the first application in the smart machine of source, if user needs when running in the first application migration to other smart machines, user instruction can have been sent, to inform source smart machine by the first application migration in other smart machines to source smart machine.Now, after source smart machine receives user instruction, can resolve this user instruction and then know that user needs by the first application migration to other smart machines, now the first application can be defined as migrate application by source smart machine.
It should be noted that, user instruction can indicate to be migrated to the application in other smart machines, and such source smart machine just can be determined to be migrated to the migrate application in other smart machines with user instruction.
Exemplary, if source smart machine is mobile phone, user watches Video Applications by mobile phone, if user needs to be migrated to by video in other smart machines, can send the user instruction indicating and Video Applications is migrated to other smart machines to mobile phone.Mobile phone, after receiving user instruction, can resolve this user instruction, and then Video Applications can be defined as the migrate application to other smart machines to be migrated.
Step 102, source smart machine add migration network.
Concrete, source smart machine is after determining migrate application, and because migrate application is migrated to other smart machines by needs, now source smart machine is in order to communicate with other smart machines, can add migration network.
Wherein, the Intelligent region network that network is assembly between smart machine is moved.
Further, source smart machine add migration network comprise: source smart machine broadcasting packet; When receiving the response message of the smart machine that may receive migration, determine that whether the network name that may receive network name and the source smart machine carried in the response message of the smart machine of migration is identical; If identical, then source smart machine is according to network name and preset password, adds the network at the smart machine place that may receive migration; If not identical, then whether source smart machine detection history network list, determine to have in web-based history list and the occurrence that may receive the network name that carries in the response message of the smart machine of migration and match; If have in web-based history list and the occurrence that may receive the network name that carries in the response message of the smart machine of migration and match, then according in web-based history list with the occurrence that may receive the network name that carries in the response message of the smart machine of migration and match, add the network at the smart machine place that may receive migration; And upgrade network name.
Wherein, the device identification of active smart machine and the network name of source smart machine is carried in message; The network name of source smart machine is that source smart machine gives tacit consent to the network name added.
Further, when user preset is provided with network priority order, source smart machine can be added to the network at the smart machine place that may receive migration according to default network priority order, if now not identical, then source smart machine detection history network list, determine whether to have in web-based history list and the occurrence that the network name that carries in the response message of the smart machine of migration matches may be received comprise: if not identical, then source smart machine is according to default network priority order, detection history network list, determine whether to have in web-based history list and the occurrence that may receive the network name that carries in the response message of the smart machine of migration and match.
Concrete, source smart machine needs add move network time, do not know whether other smart machines have set up migration network due to source smart machine, now can broadcasting packet.Wherein, the device identification of source smart machine and the network name of source smart machine can be carried in message.If the smart machine now likely receiving migration has established migration network, after the smart machine that may receive migration receives the message of source smart machine broadcast, response message can be sent to source smart machine.The network name of the smart machine that may receive migration is carried in this response message.Like this, source smart machine can receive the response message that the smart machine that may receive migration returns.Due to the title that the network name that may receive the smart machine of migration carried in response message is the migration network that the smart machine that possible receive migration adds.Therefore, source smart machine after receiving the response message that the smart machine that may receive migration returns, can be resolved the response message that may receive the intelligent equipment of migration, knows the migration network of network name that the smart machine that may receive migration adds.
If this source smart machine only receives a smart machine that may receive migration when returning response message, source smart machine resolves the response message that may receive the intelligent equipment of migration, after knowing the migration network of network name that the smart machine that may receive migration adds, the network name of the network name of oneself with the smart machine that may receive migration can be compared, determine that whether whether the network name of source smart machine oneself identical with the network name of the smart machine that may receive migration.If identical, then illustrate that source smart machine gives tacit consent to the network added and the added network of smart machine that may receive migration is same network, now, source smart machine is to add this network, then preset password and network name all can be sent to the smart machine that may receive migration, like this, the preset password that the smart machine that may receive migration can send according to source smart machine and network name, determine whether source smart machine can add so far network.
Further, the preset password that the smart machine that may receive migration sends according to source smart machine and network name, determine that the method whether source smart machine can add so far network can be, when the smart machine that may receive migration has the authority of certification, can after the preset password receiving source smart machine transmission and network name, the preset password send source smart machine and network name are verified, determine that whether network name and the preset password of source smart machine be correct, if correct, then illustrate that source smart machine has the authority adding network, source smart machine can be allowed to add network, thus success message can be added to the transmission of source smart machine, like this, source smart machine adds the network at the smart machine place that may receive migration.When the smart machine that may receive migration does not have the authority of certification, the smart machine of migration may be received after the preset password receiving source smart machine transmission and network name, the smart machine in this network with certification authority can be sent it to, by the smart machine with certification authority, certification is carried out to source smart machine.Determine that source smart machine has the authority adding network at the smart machine with certification authority, source smart machine can be allowed to add network, success message can be added to the transmission of source smart machine by the smart machine that may receive migration, like this, source smart machine adds the network at the smart machine place that may receive migration.
Further, if the smart machine that may receive migration verifies the network name of source smart machine and preset password is not right, then can return the message of network name or preset password mistake to source smart machine, now source smart machine needs again to obtain password by user, is verifying.
The network name carried in the response message of the smart machine of migration if may receive is not identical with the network name of source smart machine, then illustrate that source smart machine gives tacit consent to the network added and the added network of smart machine that may receive migration is not same network, now, source smart machine can according to the network name of smart machine that may receive migration, detection history network list, whether check has with the network name of the smart machine that may receive migration to one that mates in web-based history list, be in the network name recorded in web-based history list and whether have one identical with the network name of the smart machine that may receive migration.If there is the occurrence matched with the network name of the smart machine that may receive migration in web-based history list, that is, one identical with the network name of the smart machine that may receive migration is had in the network name recorded in web-based history list, then illustrate that source smart machine added this network, network name in the content of occurrence in web-based history list and password can be sent to the smart machine that may receive migration by source smart machine, to add the network at the smart machine place that may receive migration.
Wherein, the smart machine of migration may be received how by the network name in the content of occurrence in the web-based history list of source smart machine and password, source smart machine is verified, and when by checking, source smart machine is added into concrete grammar in the network at the smart machine place that may receive migration and the above-mentioned smart machine that may receive migration after getting the network name and preset password that source smart machine sends, the concrete grammar that source smart machine is added in the network at the smart machine place that may receive migration by the network name sent according to source smart machine and preset password is identical, do not repeat them here.
Be added to the network at the smart machine place that may receive migration at source smart machine after, the network name of source smart machine is updated to the title of the network at the smart machine place that may receive migration.
Further, source smart machine receive at least two smart machines that may receive migration return response message time, source smart machine can resolve the response message that at least two smart machines that may receive migration return respectively, knows at least two network names that may receive the smart machine of migration.Now the network name of himself and at least two network names that may receive the smart machine of migration can be compared by source smart machine respectively, if determine, the network name of himself is all identical with at least two network names that may receive the smart machine of migration, be at least two smart machines that may receive migration in same network, now network name and preset password can be sent at least two any one that may receive in the smart machine of migration by source smart machine, the smart machine that may receive migration of the network name and preset password that now receive source smart machine can according to the network name of source smart machine and preset password, source smart machine is verified, and when by checking, source smart machine is added in the network at its place.
Wherein, the smart machine of migration may be received according to the network name of source smart machine and preset password, source smart machine is verified, and when by checking, source smart machine is added into concrete grammar in the network at the smart machine place that may receive migration and above-mentioned source smart machine when only receiving the response message that a smart machine that may receive migration returns, the smart machine of migration may be received after the network name getting source smart machine transmission and preset password, the concrete grammar that source smart machine is added in the network at the smart machine place that may receive migration by the network name sent according to source smart machine and preset password is identical, do not repeat them here.
Or, determining that the network name of himself is identical with the network name that above-mentioned at least two at least one that may receive in the smart machine of migration may receive the smart machine of migration, and when the network name that above-mentioned at least two may receive the smart machine of migration is not exclusively identical with the network name of source smart machine, source smart machine preferentially can add the network name network that may receive the smart machine place of migration identical with himself network name.Be, network name and preset password are sent to the smart machine that may receive migration identical with its network name by source smart machine, to add the network at the smart machine place that so far may receive migration.
Or, when determining that the network name of himself is all not identical with above-mentioned at least two networks that may receive the smart machine of migration, when pre-setting network priority order, source smart machine can according to default network priority order, after the network name of the smart machine of migration may being received at least two that parse, the network name of the smart machine of migration can may be received according at least two, determine that each may receive the priority of the smart machine place network of migration, thus the network priority at the smart machine place of migration may be received according to each, be added to the network at the smart machine place that may receive migration.Now, because the network name of source smart machine is all not identical with at least two network names that may receive the smart machine of migration, therefore, source smart machine can may receive the network priority at the smart machine place of migration according to above-mentioned each, according to the order that priority reduces gradually, the content of the network name and web-based history list records that one by one each may be received the smart machine of migration is compared, until find the occurrence mated with the network name of the smart machine that may receive migration in web-based history list.Find occurrence in web-based history list after, the network that may receive the smart machine place of migration corresponding to so far occurrence can be added according to this occurrence.And join occurrence add so far occurrence corresponding may receive the network at smart machine place of migration after, network name can be updated to its network of network title added by source smart machine.
Wherein, how source smart machine adds the network that may receive the smart machine place of migration corresponding to so far occurrence according to this occurrence, when can only receive with reference to above-mentioned source smart machine the response message that a smart machine that may receive migration returns, how source smart machine adds the network that may receive the smart machine place of migration corresponding to so far occurrence according to this occurrence, does not repeat them here.
It should be noted that, preset network priority order and pre-set, the priority orders of the network that source smart machine can add.
It should be noted that, the network name stored in the smart machine of source and preset password are that user pre-sets.
It should be noted that, the web-based history list of source smart machine is the list of the relevant information of its network once added that record source smart machine stores.
Further, after source smart machine broadcasts message, the response message that the smart machine that may receive migration if do not receive returns, now source smart machine oneself can set up migration network, now, the name of migration network can be set as the network name himself stored.Like this, source smart machine can wait for that other smart machines join in this migration network, thus realizes the migration of migrate application.
Further, source smart machine is after being added to migration network, and each smart machine in migration network needs regular broadcasting packet, to notify the current state of other smart machines self.Like this, each smart machine in migration network can according to the broadcasting packet received, generating network list, thus safeguards other smart machines in migration network.Further, when migration network in smart machine exceed Preset Time do not receive certain smart machine broadcast message after, can think that this smart machine has removed migration network, in network list, the relevant information of this smart machine can be deleted.
It should be noted that, Preset Time is that user presets setting according to actual needs.
As above described in example, user pre-sets it at mobile phone and gives tacit consent to the network that adds, and the network that mobile phone stores is called a, and stores and add the password that network is called the network of a.After determining that Video Applications is migrate application, mobile phone can broadcasting packet, and wherein message includes the mark of network name a and mobile phone.If existing smart machine 1, smart machine 2, smart machine 3, smart machine 4, smart machine 5 and smart machine 6 all have sent response message to mobile phone.Mobile phone is receiving smart machine 1, smart machine 2, smart machine 3, smart machine 4, after the response message that smart machine 5 and smart machine 6 send, resolve smart machine 1 respectively, smart machine 2, smart machine 3, smart machine 4, the response message that smart machine 5 and smart machine 6 send, thus know that the network carried in the response message of smart machine 1 is called b, the network carried in the response message of smart machine 2 is called b, the network carried in the response message of smart machine 3 is called b, the network carried in the response message of smart machine 4 is called b, the network carried in the response message of smart machine 5 is called b, the network that the response message of smart machine 6 carries is called c.The network name a self stored and each network name parsed compare by mobile phone, determine that the network name parsed is all not identical with the network name a that mobile phone stores.If user pre-sets network priorities.And default network priorities is: the priority that network is called a is the highest, and the priority that network is called b is taken second place, and the priority of network name c is minimum.Now, because the network name parsed is all different from the network name a that mobile phone stores, now, mobile phone obtains the web-based history list stored, and searches and whether record one that network is called b in web-based history list.If there is network to be called of b in web-based history list, then can find the occurrence that network is called b.Now mobile phone can be called b according to the network recorded in this occurrence, and password sends network name b to smart machine 1, and password.Smart machine 1 receive mobile phone send network name b and password after, because smart machine 1 does not verify network name and the whether correct authority of password, now the network name of the mobile phone of reception and password can be sent to the smart machine 3 with checking network name and the whether correct authority of password by smart machine 1.Smart machine 3 after the network name receiving mobile phone and password, can verify the network name of mobile phone and password whether correct.Suppose smart machine 3 verify the network name that mobile phone is sent out and password correct, mobile phone is added in the network of network name b, and to be sent to mobile phone by smart machine 1 and add success message, such mobile phone, after receiving and adding success message, can know that mobile phone has added the network that network is called b.
Step 103, move in network include at least one may receive the smart machine of migration time, source smart machine obtains the mount message that at least one may receive the migrate application of the smart machine of migration.
Wherein, the smart machine that may receive migration is the smart machine in described migration network except the smart machine of source.
It should be noted that, whether the mount message that may receive the migrate application of the smart machine of migration can indicate has installed the application identical with the migrate application of source smart machine in the smart machine that may receive migration, be, in the smart machine that may receive migration, whether migrate application be installed.When the application identical with the migrate application of source smart machine being installed if may receive in the smart machine of migration, the information such as the version number of its this application of installing.
It should be noted that, in all embodiments of the present invention, the migrate application that may receive the smart machine of migration does not refer to the application to other smart machines to be migrated in the smart machine that may receive migration, and refers to application identical with the migrate application of source smart machine in the smart machine that may receive migration.
It should be noted that, other smart machines except source smart machine in migration network also can install the application identical with the migrate application of source smart machine, are other smart machines and also can install migrate application.But the application message of the migrate application that other smart machines are installed can be identical with the application message of the migrate application of source smart machine, also can be different.The version number of the migrate application of such as installing is different, and resolution is not equal.That is, source smart machine has installed migrate application, when other smart machines there are also installed migrate application, can think that other smart machines and source smart machine have installed identical application, and other smart machines can be different from the application message of the migrate application that source smart machine is installed.Such as, love strange skill application has been installed in the smart machine of source, and its version number is 3.5.In other smart machines, installed the strange skill application of love, and its version number is 4.0, then can think that other smart machines and source smart machine have installed same application, is and likes the application of strange skill, the application message of the application that they install is different.
Concrete, after source smart machine adds migration network, can communicate with the smart machine in migration network, thus at least one comprising in acquisition migration network may receive the mount message of the migrate application of the smart machine of migration.
When source smart machine does not obtain network list, broadcast the request message of the mount message of migrate application can be obtained in migration network, at least one in migration network may receive the smart machine of migration after the request message of mount message receiving the acquisition migrate application that source smart machine is broadcasted, the request message that this obtains the mount message of migrate application can be resolved, and then get the identification information of migrate application and the device identification of source smart machine that obtain and carry in the request message of the mount message of migrate application.At least one in such migration network may receive the smart machine of migration can according to the identification information of migrate application, in each application of self installing, search whether have migrate application, if there is migrate application, then obtain the application messages such as the version number of this migration information further.Like this, the smart machine of migration may be received when self having installed migrate application, after obtaining the application messages such as the version number of migrate application, can according to being provided with migrate application, and the application message such as the version number of the migrate application of installing generates the mount message of migrate application.When the smart machine that may receive migration does not install migrate application, can according to the mount message self not installing migrate application generation migrate application.The smart machine of migration may be received after the mount message generating migration, the mount message of the migrate application after generation can be sent to source smart machine according to the device identification of source smart machine.
It should be noted that, obtain in the request message of the mount message of migrate application and carry the identification information of migrate application and the device identification of source smart machine.
It should be noted that, the identification information of migrate application is used for uniquely indicating migrate application.Device identification is used for uniquely indicating smart machine.
Further, when source smart machine obtains network list, source smart machine according to the device identification of the smart machine in the migration network recorded in network list, can send the request message of the mount message obtaining migrate application to each smart machine that may receive migration.Like this, after the smart machine that may receive migration receives the request message of the mount message of the acquisition migrate application that source smart machine sends, the request message that this obtains the mount message of migrate application can be resolved, and then get the identification information of migrate application and the device identification of source smart machine that obtain and carry in the request message of the mount message of migrate application.The smart machine that may receive migration according to the identification information of migrate application, can search whether have migrate application in each application of self installing.If there is migrate application, then obtain the application messages such as the version number of this migration information further.The smart machine that may receive migration self is installing migrate application, and after obtaining the application messages such as the version number of migrate application, can according to being provided with migrate application, and the application message such as the version number of the migrate application of installing generates the mount message of migrate application.When the smart machine that may receive migration does not install migrate application, can according to the mount message self not installing migrate application generation migrate application.And the smart machine of migration may be received after the mount message generating migration, the mount message of the migrate application after generation can be sent to source smart machine according to the device identification of source smart machine.
As above, described in example, suppose that the application message of Video Applications is the version number of Video Applications.Mobile phone, after adding migration network, has smart machine 1, smart machine 2, smart machine 3, smart machine 4, smart machine 5 in migration network.Each smart machine in migration network needs regular broadcasting packet, to self current state of other smart machines report.Like this, mobile phone can by receiving smart machine 1, smart machine 2, smart machine 3, smart machine 4, and the message of smart machine 5 periodic broadcasting, sets up network list, the information of each smart machine in record migration network.Because mobile phone needs to obtain smart machine 1, smart machine 2, smart machine 3, smart machine 4, the mount message of the Video Applications of smart machine 5.Therefore, mobile phone can according to network list respectively to smart machine 1, smart machine 2, smart machine 3, smart machine 4, and smart machine 5 sends the request message of the mount message obtaining Video Applications.Wherein, obtain in the request message of the mount message of Video Applications and carry the identification information of Video Applications and the device identification of mobile phone.Like this, after smart machine 1 receives the request message of the mount message obtaining Video Applications, resolve the request message of the mount message obtaining migrate application, get the identification information of Video Applications and the device identification of mobile phone.According to the identification information of Video Applications, in the application that self installs, look into and see if there is the Video Applications corresponding with the identification information of Video Applications.If installed the Video Applications corresponding with the identification information of Video Applications in smart machine 1, then can obtain the version number of Video Applications in it, and by smart machine 1, Video Applications is installed, and the version number of the Video Applications of installing is as the mount message of the Video Applications of smart machine 1, is sent to mobile phone.In like manner, smart machine 2, smart machine 3 and smart machine 4, after the request message receiving the mount message obtaining Video Applications, carry out the process identical with smart machine 1, and by the mount message of the Video Applications of generation, are sent to mobile phone, do not repeat them here.After smart machine 5 receives the request message of the mount message obtaining Video Applications, resolve the request message of the mount message obtaining migrate application, get the identification information of Video Applications and the device identification of mobile phone.According to the identification information of Video Applications, in the application that self installs, look into and see if there is the Video Applications corresponding with the identification information of Video Applications.Install the Video Applications corresponding with the identification information of Video Applications if do not have in smart machine 5, now smart machine 5 is not using installing the mount message of Video Applications as Video Applications, is sent to mobile phone.Mobile phone receives smart machine 1 respectively, smart machine 2, smart machine 3, smart machine 4, the mount message of the Video Applications that smart machine 5 sends.
Step 104, source smart machine may receive the mount message of the migrate application of the smart machine of migration according at least one, and the application message of the migrate application of source smart machine, determine Intelligent target equipment.
Wherein, Intelligent target equipment has installed described migrate application in migration network, and the smart machine of migrate application in the migrate application compatible source smart machine installed.
It should be noted that, the application message of migrate application is the attribute relevant information of migrate application.Comprise: the version number of migrate application, resolution etc., the present invention is not restricted this.
Concrete, source smart machine is after at least one obtaining in migration network may receive the mount message of the migrate application of the smart machine of migration, the mount message that at least one may receive the migrate application of the smart machine of migration can be resolved, determine that the smart machine which may receive migration has installed migrate application.And the application message of migrate application according to source smart machine, and the application message that may receive the smart machine of migration of migrate application has been installed, having installed may the receiving in the smart machine of migration of migrate application, determine the smart machine that may receive migration of the migrate application in the migrate application compatible source smart machine of installation.When the smart machine that may receive migration of migrate application in the migrate application compatible source smart machine installed only has one, the smart machine that may receive migration of the migrate application in the migrate application compatible source smart machine this can installed be defined as Intelligent target equipment.When the smart machine that may receive migration of migrate application in the migrate application compatible source smart machine installed has at least two, then can according to selection rule, may receiving in the smart machine of migration of migrate application at least two migrate application compatible source smart machines installed, determines Intelligent target equipment.
Further, selection rule can be that user pre-sets according to actual needs.Can be, by least two information feed back that may receive the smart machine of migration of the migrate application in the migrate application compatible source smart machine of installation to user, determined by user.Now, source smart machine determine the migrate application at least two migrate application compatible source smart machines installed may receive the smart machine of migration time, the information feed back that can may receive the smart machine of migration by these at least two, to user, may to be received in the smart machine of migration at least two by user and determine that a smart machine that may receive migration is as Intelligent target equipment.
Selection rule also can be user when being set in advance in the migration carrying out migrate application, other smart machines can carry out the priority of migrate application migration, will meet transition condition, and the highest smart machine of priority is as Intelligent target equipment.Like this, source smart machine can determine the migrate application at least two migrate application compatible source smart machines installed may receive the smart machine of migration time, can according to selection rule, may receiving in the smart machine of migration of migrate application at least two migrate application compatible source smart machines installed, is defined as Intelligent target equipment by the smart machine that may receive migration the highest for priority.
It should be noted that, selection rule also other rules, the present invention does not limit this.
Optionally, the application message of migrate application can be the version number of migrate application.Now, source smart machine is after determining that smart machine which may receive migration has installed migrate application, can and the version number of migrate application according to source smart machine, may the receiving in the smart machine of migration of migrate application is being installed, the version number that may receive the migrate application of the smart machine of migration of having installed migrate application with each compares, thus determines that the version number of the migrate application of installation is not less than the smart machine that may receive migration of the version number of the migrate application of source smart machine.If the smart machine that may receive migration that the version number of the migrate application of installing is not less than the version number of the migrate application of source smart machine only has one, then the smart machine that may receive migration that the version number of the migrate application of this installation can be not less than the version number of the migrate application of source smart machine is defined as Intelligent target equipment.If the smart machine that may receive migration that the version number of migrate application of installing is not less than the version number of the migrate application of source smart machine has at least two, then can may to receive in the smart machine of migration at least two according to selection rule and determine Intelligent target equipment.
Further, source smart machine may receive the mount message of the migrate application of the smart machine of migration according at least one, and the application message of the migrate application of source smart machine, determine that Intelligent target equipment comprises: source smart machine may receive the mount message of the migrate application of the smart machine of migration according at least one, and the application message of the migrate application of source smart machine, determine Intelligent target list of devices.Source smart machine, according to Intelligent target list of devices, determines Intelligent target equipment.
Wherein, have recorded in Intelligent target list of devices in migration network and migrate application has been installed, and the device identification of smart machine of migrate application in the migrate application compatible source smart machine installed; Device identification is used for uniquely indicating smart machine.
That is, source smart machine is after at least one obtaining in migration network may receive the mount message of the migrate application of the smart machine of migration, the mount message that at least one may receive the migrate application of the smart machine of migration can be resolved, determine that the smart machine which may receive migration has installed migrate application.And according to the application message of the migrate application of source smart machine and the application message that may receive the migrate application of the smart machine of migration of having installed migrate application, having installed may the receiving in the smart machine of migration of migrate application, determine the smart machine that may receive migration of the migrate application in the migrate application compatible source smart machine of installation.According to the smart machine that may receive migration of the migrate application in the migrate application compatible source smart machine of the installation determined, generate Intelligent target list of devices.Intelligent target list of devices can be fed back to user like this, in Intelligent target list, marking a smart machine that may receive migration by user is Intelligent target equipment, like this, the smart machine that may receive migration of user's mark in Intelligent target list of devices can be defined as Intelligent target equipment by source smart machine.
As above described in example, mobile phone is receiving smart machine 1, smart machine 2, smart machine 3, smart machine 4, after the mount message of the Video Applications that smart machine 5 sends, smart machine 1 can be resolved, smart machine 2, smart machine 3, smart machine 4, the mount message of the Video Applications that smart machine 5 sends.Mobile phone can know smart machine 1, smart machine 2, smart machine 3, smart machine 4 by the mount message of resolving Video Applications, and whether smart machine 5 has installed Video Applications, if installed Video Applications, its version number of installing is how many.Like this, mobile phone can know smart machine 1, smart machine 2, smart machine 3, and smart machine 4 has installed Video Applications.Smart machine 5 does not install Video Applications, then Video Applications can not migrate in smart machine 5 by mobile phone.The version number of the Video Applications that mobile phone can be installed according to oneself, respectively at smart machine 1, smart machine 2, smart machine 3, the version number of the Video Applications that smart machine 4 is installed contrasts, determine smart machine 1, the version number of the Video Applications that the version number of Video Applications that smart machine 2 is installed installs higher than mobile phone, the version number of the Video Applications of smart machine 3 installation is identical with the version number of the Video Applications that mobile phone is installed.The version number of the Video Applications that the version number of Video Applications that smart machine 4 is installed installs lower than mobile phone.Like this, mobile phone can be determined in migration network, the smart machine that can carry out Video Applications migration is smart machine 1, smart machine 2, smart machine 3, now mobile phone can generate and record the smart machine that can carry out Video Applications migration is smart machine 1, smart machine 2, the Intelligent target list of devices of smart machine 3, and Intelligent target list of devices is fed back to user, determine to need video equipment to migrate in which smart machine by user.If user selects Video Applications to migrate to smart machine 1, now, mobile phone according to the selection result of user, can determine that smart machine 1 is Intelligent target equipment.
The operation information of the migrate application in the smart machine of source is sent to Intelligent target equipment by step 105, source smart machine, so that Intelligent target equipment is according to the migrate application in the operation information operational objective smart machine of the migrate application in the smart machine of source.
Wherein, operation information is the service data of migrate application in the smart machine of source in the smart machine of record source and the relevant information of state.
Concrete, source smart machine, after determining Intelligent target equipment, can check the migrate application of self, obtains the operation information of the migrate application in the smart machine of source.And the operation information of the migrate application in the source smart machine of acquisition is sent to Intelligent target equipment.Like this, Intelligent target equipment, after the operation information receiving the migrate application in the smart machine of source, can open the migrate application in himself.And the operation information of migrate application in the source smart machine sent according to the source smart machine received, each operational factor of the migrate application of self is set, thus the running status of the migrate application in Intelligent target equipment is set to the running status of the migrate application in the smart machine of source, make the migrate application in Intelligent target equipment then the migrate application of source smart machine to continue to run.The setting of the migrate application in himself is completed at Intelligent target equipment, migrate application in the Intelligent target equipment migrate application then in the smart machine of source is made to continue to run, be Intelligent target equipment when completing the migration of the migrate application in the smart machine of source, migration can be sent to source smart machine and complete message, so that the source smart machine of informing completes the migration of migrate application.
As above described in example, when mobile phone determines smart machine 1 for Intelligent target equipment, mobile phone can obtain the operation information of self-operating Video Applications, be and obtain himself the operation service data of Video Applications and the relevant information of state, and the operation information of the Video Applications in mobile phone is sent to smart machine 1.Like this, after smart machine 1 receives the operation information of the Video Applications in mobile phone, the Video Applications of self can be opened, and the operation information of Video Applications in the mobile phone sent according to the mobile phone received, each operational factor of the Video Applications of self is set, make the Video Applications of self can be configured to the running status identical with the Video Applications in mobile phone, thus the Video Applications making the Video Applications in smart machine 1 can then carry out in mobile phone is run, so that the position that the Video Applications making user watch in smart machine 1 is play, for the position that the Video Applications of the viewing in mobile phone is play, such user in smart machine 1 without the need to again watching Video Applications.If the video that mobile phone has run Video Applications viewing time is 30:00, then the video of the Video Applications of self viewing time can be set to 30:00 by smart machine 1, thus makes user can continue to watch video in smart machine 1.Smart machine 1, when completing the migration of the Video Applications in mobile phone, can send migration to mobile phone and complete message, to inform the success of mobile video application migration.
Step 106, when Intelligent target equipment to complete the migration of the migrate application in the smart machine of source according to operation information, the migration that source smart machine receiving target smart machine returns completes message.
Concrete, when Intelligent target equipment to complete the migration of the migrate application in the smart machine of source according to operation information, Intelligent target equipment needs to send migration to source smart machine and completes message, now source smart machine can receive migration and complete message, thus message can be completed according to migration, know that Intelligent target equipment has completed the migration of the migrate application in the smart machine of source.
Further, the migrate application of self, when knowing that Intelligent target equipment completes the migration of the migrate application in the smart machine of source, can be closed by source smart machine, and also can not close but continue to run, the present invention does not limit this.
As above described in example, smart machine 1 is after the migration completing the Video Applications in mobile phone, and can complete message to mobile phone remigration, such mobile phone can receive migration and complete message, and then message can be completed according to migration, know that smart machine 1 has completed the migration of the Video Applications in mobile phone.
Embodiments provide the method for task immigration between a kind of smart machine, comprising: source smart machine obtains user instruction, and according to user instruction determination migrate application, migrate application is to be migrated to the migrate application in other smart machines in the smart machine of source; Source smart machine adds migration network; Move in network include at least one may receive the smart machine of migration time, source smart machine obtains the mount message that at least one may receive the migrate application of the smart machine of migration; Source smart machine may receive the mount message of the migrate application of the smart machine of migration according at least one, and the version number of the migrate application of source smart machine, determines Intelligent target equipment; Intelligent target equipment has installed migrate application in migration network, and the smart machine of migrate application in the migrate application compatible source smart machine installed; The operation information of the migrate application in the smart machine of source is sent to Intelligent target equipment by source smart machine; When Intelligent target equipment to complete the migration of the migrate application in the smart machine of source according to operation information, the migration that source smart machine receiving target smart machine returns completes message.Like this, user is when needing the application migration in the smart machine of source to other smart machines, and the application to other smart machines to be migrated can be defined as migrate application by source smart machine, and after determining migrate application, can add migration network.Intelligent target equipment is determined in migration network, thus make source smart machine that the operation information of the migrate application in it is sent to Intelligent target equipment, so that Intelligent target equipment is according to the migrate application in the operation information operational objective smart machine of the migrate application in the smart machine of source, complete the migration of the migrate application of source smart machine, be the present invention and migrate application can be migrated to Intelligent target equipment by source smart machine, achieve the migration realizing carrying out quickly and easily network application between smart machine, improve Consumer's Experience.
Embodiments provide the method for task immigration between a kind of smart machine, as shown in Figure 2, comprising:
Step 201, Intelligent target equipment receive the operation information of the migrate application in the source smart machine of source smart machine transmission.
Wherein, operation information is the service data of migrate application in the smart machine of source in the smart machine of record source and the relevant information of state.
Concrete, source smart machine, can to the operation information of the migrate application in Intelligent target equipment transmission source smart machine when migrate application is migrated to Intelligent target equipment by needs.Intelligent target equipment receives the operation information of this migrate application.
Migrate application in step 202, Intelligent target opening of device Intelligent target equipment, and according to the operation information of migrate application in the source smart machine received, the relevant parameter of the migrate application in Offered target smart machine.
Concrete, Intelligent target equipment, after the operation information receiving the migrate application in the smart machine of source, can resolve this operation information, knows the identification information of the migrate application in operation information, the relevant information of service data and state.According to the identification information of this migrate application in the application of self installing, find the application corresponding with the identification information of migrate application, be the migrate application finding self to install, open the migrate application that this self installs.After the migrate application of opening the installation of Intelligent target equipment self, each operational factor of the migrate application that self installs can be set according to the relevant information of the service data in operation information and state, make the running status of migrate application identical with the running status of the migrate application of source smart machine.
When step 203, migrate application in Intelligent target equipment are run according to the relevant parameter of the migrate application arranged, Intelligent target equipment sends migration to source smart machine and completes message.
Concrete, Intelligent target equipment is after each operational factor of migrate application setting up self according to the operation information of the migrate application in the smart machine of source, if the migrate application of self can be run normally, the migration success of migrate application is then described, now Intelligent target equipment can send migration to source smart machine and complete message.
Embodiments provide the method for task immigration between a kind of smart machine, comprising: Intelligent target equipment receives the operation information of the migrate application in the source smart machine of source smart machine transmission; Migrate application in Intelligent target opening of device Intelligent target equipment, and according to the operation information of migrate application in the source smart machine received, the relevant parameter of the migrate application in Offered target smart machine; When migrate application in Intelligent target equipment is run according to the relevant parameter of the migrate application arranged, Intelligent target equipment sends migration to source smart machine and completes message.Like this, when needing to carry out the migration of applying, the operation information of the migrate application of self can be sent to Intelligent target equipment by source smart machine, make Intelligent target equipment according to the migrate application in the operation information operational objective smart machine of the migrate application in the smart machine of source, complete the migration of the migrate application in the smart machine of source, be the present invention and migrate application can be migrated to Intelligent target equipment by source smart machine, achieve the migration realizing carrying out quickly and easily network application between smart machine, improve Consumer's Experience.
Embodiments provide the method for task immigration between a kind of smart machine, as shown in Figure 3, comprising:
Step 301, source smart machine obtain user instruction, and according to user instruction determination migrate application.
Wherein, migrate application is to be migrated to the application in other smart machines in the smart machine of source.
Concrete, can refer step 101, do not repeat them here.
Step 302, source smart machine add migration network.
Concrete, can refer step 102, do not repeat them here.
Step 303, move in network include at least one may receive the smart machine of migration time, source smart machine obtains the mount message that at least one may receive the migrate application of the smart machine of migration.
Wherein, the smart machine that may receive migration moves the smart machine in network except the smart machine of described source.
Concrete, can refer step 103, do not repeat them here.
Step 304, source smart machine may receive the mount message of the migrate application of the smart machine of migration according at least one, and the application message of the migrate application of source smart machine, determine Intelligent target equipment.
Concrete, can refer step 104, do not repeat them here.
The operation information of the migrate application in the smart machine of source is sent to Intelligent target equipment by step 305, source smart machine, so that Intelligent target equipment is according to the migrate application in the operation information operational objective smart machine of the migrate application in the smart machine of source.Intelligent target equipment receives the operation information of the migrate application in the source smart machine of source smart machine transmission.
Concrete, can refer step 105 and step 201, do not repeat them here.
Migrate application in step 306, Intelligent target opening of device Intelligent target equipment, and according to the operation information of migrate application in the source smart machine received, the relevant parameter of migrate application in Offered target smart machine.
Concrete, can refer step 202, do not repeat them here.
It should be noted that, the operation information of the migrate application of Intelligent target equipment in the source smart machine sent according to source smart machine, after the relevant parameter of the migrate application that himself is installed is set, migrate application in Intelligent target equipment may be run normally according to each operational factor, also possibly cannot normally run.Intelligent target equipment is according to the difference of migrate application operation result, and the step performed below is different.When migrate application in Intelligent target equipment is normally run according to the relevant parameter of the migrate application arranged, perform step 307a.When migrate application in Intelligent target equipment cannot normally be run according to the relevant parameter of the migrate application arranged, perform step 307b.
When step 307a, migrate application in Intelligent target equipment are run according to the relevant parameter of the migrate application arranged, Intelligent target equipment sends migration to source smart machine and completes message.The migration that source smart machine receiving target smart machine returns completes message.
Concrete, can refer step 203 and step 106, do not repeat them here.
When step 307b, migrate application in Intelligent target equipment cannot be run according to the relevant parameter of the migrate application arranged, Intelligent target equipment sends migration failed message to source smart machine.The migration failed message that source smart machine receiving target smart machine returns.
Concrete, when migrate application in Intelligent target equipment cannot be run according to the relevant parameter of the migrate application arranged, be migrate application when migrating to Intelligent target equipment by source smart machine, the migrate application of Intelligent target equipment cannot normally be run, now Intelligent target equipment can determine the migration failure of migrate application, now sends migration failed message to source smart machine.The migration failed message that source smart machine receiving target smart machine returns.
Further, migrate application can migrate in other smart machines after receiving migration failed message by source smart machine again.
It should be noted that, steps different in the smart machine of source can be performed by different processes.When needs and Intelligent target devices communicating, can by performing with the process of Intelligent target devices communicating.And source smart machine without the need to the part with Intelligent target devices communicating, can be performed by other processes.And the communication between different process can be passed through API (ApplicationProgrammingInterface, application programming interface) and carries out.
Embodiments provide the method for task immigration between a kind of smart machine, comprising: source smart machine obtains user instruction, and according to user instruction determination migrate application, migrate application is to be migrated to the migrate application in other smart machines in the smart machine of source; Source smart machine adds migration network; Move in network include at least one may receive the smart machine of migration time, source smart machine obtains the mount message that at least one may receive the migrate application of the smart machine of migration; Source smart machine may receive the mount message of the migrate application of the smart machine of migration according at least one, and the version number of the migrate application of source smart machine, determines Intelligent target equipment; Intelligent target equipment has installed migrate application in migration network, and the smart machine of migrate application in the migrate application compatible source smart machine installed; The operation information of the migrate application in the smart machine of source is sent to Intelligent target equipment by source smart machine; When Intelligent target equipment to complete the migration of the migrate application in the smart machine of source according to operation information, the migration that source smart machine receiving target smart machine returns completes message.Like this, user is when needing the application migration in the smart machine of source to other smart machines, and the application to other smart machines to be migrated can be defined as migrate application by source smart machine, and after determining migrate application, can add migration network.Intelligent target equipment is determined in migration network, thus make source smart machine that the operation information of the migrate application in it is sent to Intelligent target equipment, so that Intelligent target equipment is according to the migrate application in the operation information operational objective smart machine of the migrate application in the smart machine of source, complete the migration of the migrate application of source smart machine, be the present invention and migrate application can be migrated to Intelligent target equipment by source smart machine, achieve the migration realizing carrying out quickly and easily network application between smart machine, improve Consumer's Experience.
Embodiments provide the device of task immigration between a kind of smart machine, be applied to source smart machine, as shown in Figure 4, comprising:
Processing unit 401, for obtaining user instruction, and according to user instruction determination migrate application.
Wherein, migrate application is to be migrated to the migrate application in other smart machines in the smart machine of source.
Processing unit 401, also for adding migration network.
Concrete, processing unit 401, specifically for broadcasting packet.When receiving the response message of the smart machine that may receive migration, determine that whether the network name that may receive network name and the source smart machine carried in the response message of the smart machine of migration is identical.If identical, then according to network name and preset password, add the network at the smart machine place that may receive migration.If not identical, then whether detection history network list, determine to have in web-based history list and the occurrence that may receive the network name that carries in the response message of the smart machine of migration and match.If have in web-based history list and the occurrence that may receive the network name that carries in the response message of the smart machine of migration and match, then according in web-based history list with the occurrence that may receive the network name that carries in the response message of the smart machine of migration and match, add the network at the smart machine place that may receive migration; And upgrade network name.
Wherein, the device identification of active smart machine and the network name of source smart machine is carried in message.The network name of source smart machine is that source smart machine gives tacit consent to the network name added.
Further, processing unit 401 processes is determining that the network name that may receive network name and the source smart machine carried in the response message of the smart machine of migration is not identical, then detection history network list, determine whether to have in described web-based history list and the occurrence that the network name that carries in the response message of the smart machine of migration matches may be received be specially: if not identical, then according to presetting network priority order, detection history network list, determine whether to have in web-based history list and the occurrence that may receive the network name that carries in the response message of the smart machine of migration and match.
Acquiring unit 402, for move in network include at least one may receive the smart machine of migration time, obtain the mount message that at least one may receive the migrate application of the smart machine of migration.
Wherein, the smart machine that may receive migration moves the smart machine in network except the smart machine of source.
Determining unit 403, may receive the mount message of the migrate application of the smart machine of migration at least one acquisition according to acquiring unit 402, and the application message of the migrate application of source smart machine, determines Intelligent target equipment.
Wherein, Intelligent target equipment has installed migrate application in migration network, and the smart machine of migrate application in the migrate application compatible source smart machine installed.
Concrete, determining unit 403, specifically for may receive the mount message of the migrate application of the smart machine of migration according at least one, and the application message of the migrate application of source smart machine, determine Intelligent target list of devices; According to Intelligent target list of devices, determine Intelligent target equipment.
Wherein, have recorded in Intelligent target list of devices in migration network and migrate application has been installed, and the device identification of smart machine of migrate application in the migrate application compatible source smart machine installed.Device identification is used for uniquely indicating smart machine.
Transmitting element 404, for the operation information of the migrate application in the smart machine of source is sent to Intelligent target equipment, so that Intelligent target equipment is according to the migrate application in the operation information operational objective smart machine of the migrate application in the smart machine of source.
Wherein, operation information is the service data of migrate application in the smart machine of source in the smart machine of record source and the relevant information of state.
Receiving element 405, during for complete the migration of the migrate application in the smart machine of source according to operation information at Intelligent target equipment, the migration that receiving target smart machine returns completes message.
Embodiments provide the device of task immigration between a kind of smart machine, be applied to source smart machine, now source smart machine obtains user instruction, and according to user instruction determination migrate application, migrate application is to be migrated to the migrate application in other smart machines in the smart machine of source; Source smart machine adds migration network; Move in network include at least one may receive the smart machine of migration time, source smart machine obtains the mount message that at least one may receive the migrate application of the smart machine of migration; Source smart machine may receive the mount message of the migrate application of the smart machine of migration according at least one, and the version number of the migrate application of source smart machine, determines Intelligent target equipment; Intelligent target equipment has installed migrate application in migration network, and the smart machine of migrate application in the migrate application compatible source smart machine installed; The operation information of the migrate application in the smart machine of source is sent to Intelligent target equipment by source smart machine; When Intelligent target equipment to complete the migration of the migrate application in the smart machine of source according to operation information, the migration that source smart machine receiving target smart machine returns completes message.Like this, user is when needing the application migration in the smart machine of source to other smart machines, and the application to other smart machines to be migrated can be defined as migrate application by source smart machine, and after determining migrate application, can add migration network.Intelligent target equipment is determined in migration network, thus make source smart machine that the operation information of the migrate application in it is sent to Intelligent target equipment, so that Intelligent target equipment is according to the migrate application in the operation information operational objective smart machine of the migrate application in the smart machine of source, complete the migration of the migrate application of source smart machine, be the present invention and migrate application can be migrated to Intelligent target equipment by source smart machine, achieve the migration realizing carrying out quickly and easily network application between smart machine, improve Consumer's Experience.
Embodiments provide the device of task immigration between a kind of smart machine, be applied to Intelligent target equipment, as shown in Figure 5, comprising:
Receiving element 501, for receiving the operation information of the migrate application in the source smart machine of source smart machine transmission.
Wherein, operation information is the service data of migrate application in the smart machine of source in the smart machine of record source and the relevant information of state.
Processing unit 502, for opening the migrate application in Intelligent target equipment, and according to the operation information of migrate application in the source smart machine received, the relevant parameter of the migrate application in Offered target smart machine.
Transmitting element 503, when running according to the relevant parameter of the described migrate application arranged for the migrate application in Intelligent target equipment, sends migration to source smart machine and completes message.
Embodiments provide the device of task immigration between a kind of smart machine, be applied to Intelligent target equipment, now, Intelligent target equipment receives the operation information of the migrate application in the source smart machine of source smart machine transmission; Migrate application in Intelligent target opening of device Intelligent target equipment, and according to the operation information of migrate application in the source smart machine received, the relevant parameter of the migrate application in Offered target smart machine; When migrate application in Intelligent target equipment is run according to the relevant parameter of the migrate application arranged, Intelligent target equipment sends migration to source smart machine and completes message.Like this, when needing to carry out the migration of applying, the operation information of the migrate application of self can be sent to Intelligent target equipment by source smart machine, make Intelligent target equipment according to the migrate application in the operation information operational objective smart machine of the migrate application in the smart machine of source, complete the migration of the migrate application in the smart machine of source, be the present invention and migrate application can be migrated to Intelligent target equipment by source smart machine, achieve the migration realizing carrying out quickly and easily network application between smart machine, improve Consumer's Experience.
Last it is noted that above embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1. the method for task immigration between smart machine, is characterized in that, comprising:
Source smart machine obtains user instruction, and according to described user instruction determination migrate application; Described migrate application is to be migrated to the application in other smart machines in the smart machine of described source;
Described source smart machine adds migration network;
In described migration network, include at least one when may receive the smart machine of migration, described source smart machine obtain described at least one may receive the mount message of the migrate application of the smart machine of migration; The described smart machine that may receive migration is the smart machine in described migration network except the smart machine of described source;
Described source smart machine according to described at least one may receive the mount message of the migrate application of the smart machine of migration and the application message of the migrate application of source smart machine, determine Intelligent target equipment; Described Intelligent target equipment has installed described migrate application in described migration network, and the smart machine of migrate application in the smart machine of the migrate application of described installation compatible described source;
The operation information of the migrate application in the smart machine of described source is sent to described Intelligent target equipment by described source smart machine, so that described Intelligent target equipment runs the migrate application in described Intelligent target equipment according to the operation information of the migrate application in the smart machine of described source; Described operation information records the service data of migrate application in the smart machine of described source in the smart machine of described source and the relevant information of state;
When described Intelligent target equipment to complete the migration of the migrate application in the smart machine of described source according to described operation information, described source smart machine receives the migration that described Intelligent target equipment returns and completes message.
2. method according to claim 1, it is characterized in that, described source smart machine according to described at least one may receive the mount message of the migrate application of the smart machine of migration and the application message of the migrate application of source smart machine, determine that Intelligent target equipment comprises:
Described source smart machine according to described at least one may receive the mount message of the migrate application of the smart machine of migration and the application message of the migrate application of source smart machine, determine Intelligent target list of devices; Have recorded in described migration network in described Intelligent target list of devices and migrate application has been installed, and the device identification of the smart machine of migrate application in the smart machine of the migrate application of described installation compatible described source; Described device identification is used for uniquely indicating smart machine;
Described source smart machine, according to described Intelligent target list of devices, determines Intelligent target equipment.
3. method according to claim 1, is characterized in that, described source smart machine adds migration network and comprises:
Described source smart machine broadcasting packet; The device identification of described source smart machine and the network name of described source smart machine is carried in described message; The network name of described source smart machine is that described source smart machine gives tacit consent to the network name added;
When receiving the response message of the smart machine that may receive migration, described source smart machine determines that whether described may to receive the network name carried in the response message of the smart machine of migration identical with the network name of described source smart machine;
If identical, then described source smart machine is according to network name and preset password, adds the described network that may receive the smart machine place of migration;
If not identical, then whether described source smart machine detection history network list, determine to have in described web-based history list and the described occurrence that may receive the network name that carries in the response message of the smart machine of migration and match;
If have in described web-based history list and the described occurrence that may receive the network name that carries in the response message of the smart machine of migration and match, then described source smart machine is according in described web-based history list with the described occurrence that may receive the network name that carries in the response message of the smart machine of migration and match, and adds the described network that may receive the smart machine place of migration; And upgrade network name.
4. method according to claim 3, it is characterized in that, if described not identical, then source smart machine detection history network list, determine whether to have in described web-based history list and may receive the occurrence that the network name that carries in the response message of the smart machine of migration matches comprise with described:
Whether if not identical, then source smart machine is according to default network priority order, detection history network list, determine to have in described web-based history list and the described occurrence that may receive the network name that carries in the response message of the smart machine of migration and match.
5. the method for task immigration between smart machine, is characterized in that, comprising:
Intelligent target equipment receives the operation information of the migrate application in the described source smart machine of source smart machine transmission; Described operation information records the service data of migrate application in the smart machine of described source in the smart machine of described source and the relevant information of state;
Migrate application in Intelligent target equipment described in described Intelligent target opening of device, and according to the operation information of migrate application in the described source smart machine received, the relevant parameter of the migrate application in described Intelligent target equipment is set;
When migrate application in described Intelligent target equipment is run according to the relevant parameter of the described migrate application arranged, described Intelligent target equipment sends migration to described source smart machine and completes message.
6. the device of task immigration between smart machine, is characterized in that, be applied to source smart machine, comprise:
Processing unit, for obtaining user instruction, and according to described user instruction determination migrate application; Described migrate application is to be migrated to the application in other smart machines in the smart machine of described source;
Described processing unit, also for adding migration network;
Acquiring unit, for include in described migration network at least one may receive the smart machine of migration time, obtain described at least one may receive the mount message of the migrate application of the smart machine of migration; The described smart machine that may receive migration is the smart machine in described migration network except the smart machine of described source;
Determining unit, at least one may receive the mount message of the migrate application of the smart machine of migration described in obtaining according to described acquiring unit, and the application message of the migrate application of source smart machine, determine Intelligent target equipment; Described Intelligent target equipment has installed migrate application in described migration network, and the smart machine of migrate application in the smart machine of the migrate application of described installation compatible described source;
Transmitting element, for the operation information of the migrate application in the smart machine of described source is sent to described Intelligent target equipment, so that described Intelligent target equipment runs the migrate application in described Intelligent target equipment according to the operation information of the migrate application in the smart machine of described source; Described operation information records the service data of migrate application in the smart machine of described source in the smart machine of described source and the relevant information of state;
Receiving element, during for complete the migration of the migrate application in the smart machine of described source according to described operation information at described Intelligent target equipment, receives the migration that described Intelligent target equipment returns and completes message.
7. device according to claim 6, is characterized in that,
Described determining unit, specifically for according to described at least one may receive the mount message of the migrate application of the smart machine of migration and the application message of the migrate application of source smart machine, determine Intelligent target list of devices; Have recorded in described migration network in described Intelligent target list of devices and migrate application has been installed, and the device identification of the smart machine of migrate application in the smart machine of the migrate application of described installation compatible described source; Described device identification is used for uniquely indicating smart machine;
According to described Intelligent target list of devices, determine Intelligent target equipment.
8. device according to claim 6, is characterized in that,
Described processing unit, specifically for broadcasting packet; The device identification of described source smart machine and the network name of described source smart machine is carried in described message; The network name of described source smart machine is that described source smart machine gives tacit consent to the network name added;
When receiving the response message of the smart machine that may receive migration, determine that whether described may to receive the network name carried in the response message of the smart machine of migration identical with the network name of described source smart machine;
If identical, then according to network name and preset password, add the described network that may receive the smart machine place of migration;
If not identical, then whether detection history network list, determine to have in described web-based history list and the described occurrence that may receive the network name that carries in the response message of the smart machine of migration and match;
If have in described web-based history list and the described occurrence that may receive the network name that carries in the response message of the smart machine of migration and match, then according in described web-based history list with the described occurrence that may receive the network name that carries in the response message of the smart machine of migration and match, add the described network that may receive the smart machine place of migration; And upgrade network name.
9. device according to claim 8, is characterized in that,
Described processing unit, if specifically for not identical, then according to presetting network priority order, detection history network list, determine whether to have in described web-based history list and the described occurrence that may receive the network name that carries in the response message of the smart machine of migration and match.
10. the device of task immigration between smart machine, is characterized in that, be applied to Intelligent target equipment, comprise:
Receiving element, for receiving the operation information of the migrate application in the described source smart machine of source smart machine transmission; Described operation information records the service data of described migrate application in the smart machine of described source and the relevant information of state;
Processing unit, for opening the migrate application in described Intelligent target equipment, and according to the operation information of migrate application in the described source smart machine received, arranges the relevant parameter of the migrate application in described Intelligent target equipment;
Transmitting element, when running according to the relevant parameter of the described migrate application arranged for the migrate application in described Intelligent target equipment, sends migration to described source smart machine and completes message.
CN201610040818.5A 2016-01-21 2016-01-21 The method and device of task immigration between a kind of smart machine Active CN105491165B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610040818.5A CN105491165B (en) 2016-01-21 2016-01-21 The method and device of task immigration between a kind of smart machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610040818.5A CN105491165B (en) 2016-01-21 2016-01-21 The method and device of task immigration between a kind of smart machine

Publications (2)

Publication Number Publication Date
CN105491165A true CN105491165A (en) 2016-04-13
CN105491165B CN105491165B (en) 2018-10-09

Family

ID=55677875

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610040818.5A Active CN105491165B (en) 2016-01-21 2016-01-21 The method and device of task immigration between a kind of smart machine

Country Status (1)

Country Link
CN (1) CN105491165B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775815A (en) * 2016-11-16 2017-05-31 广东欧珀移动通信有限公司 A kind of method and device of application data migration
WO2018049902A1 (en) * 2016-09-14 2018-03-22 广东欧珀移动通信有限公司 Data migration method and relevant device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102202355A (en) * 2011-05-24 2011-09-28 上海聚力传媒技术有限公司 Method and equipment for switching current network application between user equipment
CN102546649A (en) * 2012-01-19 2012-07-04 华为技术有限公司 Application transfer method, device and system
CN103034533A (en) * 2011-09-30 2013-04-10 深圳市龙视传媒有限公司 Method, device and terminal of switching games between different terminals
US20130173696A1 (en) * 2011-12-29 2013-07-04 Electronics And Telecommunications Research Institute Information providing service system and method based on inter-device information exchange protocol

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102202355A (en) * 2011-05-24 2011-09-28 上海聚力传媒技术有限公司 Method and equipment for switching current network application between user equipment
CN103034533A (en) * 2011-09-30 2013-04-10 深圳市龙视传媒有限公司 Method, device and terminal of switching games between different terminals
US20130173696A1 (en) * 2011-12-29 2013-07-04 Electronics And Telecommunications Research Institute Information providing service system and method based on inter-device information exchange protocol
CN102546649A (en) * 2012-01-19 2012-07-04 华为技术有限公司 Application transfer method, device and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018049902A1 (en) * 2016-09-14 2018-03-22 广东欧珀移动通信有限公司 Data migration method and relevant device
US10687207B2 (en) 2016-09-14 2020-06-16 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for data migration and terminal
CN106775815A (en) * 2016-11-16 2017-05-31 广东欧珀移动通信有限公司 A kind of method and device of application data migration
CN106775815B (en) * 2016-11-16 2020-02-18 Oppo广东移动通信有限公司 Application data migration method and device

Also Published As

Publication number Publication date
CN105491165B (en) 2018-10-09

Similar Documents

Publication Publication Date Title
EP3206362B1 (en) Account login method and apparatus
US10321280B2 (en) Remote control of a device via text message
CN108933948B (en) Video playing progress synchronization method and device
KR101697979B1 (en) Method and apparatus for syncronizing data in connected devices
US9417792B2 (en) Method and apparatus for controlling controlled device included in network
CN104239467A (en) Application program recommendation method, system and device
CN103747010A (en) Method, system and device for controlling PC (personal computer) by mobile terminal
CN102984578A (en) Method, video terminal and system for processing program channel list information
CN104601589A (en) Method of accessing broadcast television system, terminal and network side server
CN105589705A (en) File updating method and device, and equipment
CN105491165A (en) Method and device for task migration between intelligent equipment
CN103796046A (en) Video source address detection method and device
CN101741663A (en) Information processing apparatus, information processing system, information processing method, and program
CN105592352A (en) File-sharing method and system based on smart TV
CN105631715A (en) Advertisement updating supervision method and device
CN111159269A (en) Data processing method, device and system
GB2516328A (en) Including an additional service in a channel guide
CN106791982B (en) Account management method and device
GB2528034A (en) Apparatus and method for device configuration
CN104182493A (en) Data synchronization method and device as well as terminal
CN104936010A (en) Television remote control method, device and system based on input method
EP3833153B1 (en) Network connection methods and devices
CN104618811A (en) Smart television, and method and device for exhibiting CP (computer program) contents in smart television
CN105611376A (en) Data processing method and set top box
KR20160095600A (en) Broadcast apparatus and method for authenticating broadcast data

Legal Events

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

Effective date of registration: 20220628

Address after: 201100 room 13, floor 2, building 4, No. 728, Guanghua Road, Minhang District, Shanghai

Patentee after: SHANGHAI DI'AN TECHNOLOGY Co.,Ltd.

Address before: 710129 computer college, Chang'an campus, northwest Polytechnic University, Xi'an, Shaanxi 886

Patentee before: Northwestern Polytechnical University

TR01 Transfer of patent right