WO2016052768A1 - Communication terminal, communication terminal control method, and control program - Google Patents

Communication terminal, communication terminal control method, and control program Download PDF

Info

Publication number
WO2016052768A1
WO2016052768A1 PCT/JP2015/083454 JP2015083454W WO2016052768A1 WO 2016052768 A1 WO2016052768 A1 WO 2016052768A1 JP 2015083454 W JP2015083454 W JP 2015083454W WO 2016052768 A1 WO2016052768 A1 WO 2016052768A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
identifier
smartphone
communication
unit
Prior art date
Application number
PCT/JP2015/083454
Other languages
French (fr)
Japanese (ja)
Inventor
浩志 和田
俊之 亀井
Original Assignee
シャープ株式会社
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 シャープ株式会社 filed Critical シャープ株式会社
Publication of WO2016052768A1 publication Critical patent/WO2016052768A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities

Definitions

  • the present invention relates to a communication terminal capable of transmitting and receiving information between its own terminal and another terminal by establishing communication with the other terminal.
  • Patent Document 1 information related to inputs to a plurality of display devices is transmitted to a server via an access point, and the server determines whether or not the inputs to the plurality of display devices are continuous inputs.
  • a technique for interlocking the plurality of display devices for example, displaying one image over a plurality of display devices
  • Patent Document 1 As in the technique described in Patent Document 1, when one image is displayed over a plurality of display devices, it is necessary to establish communication between the display devices in advance.
  • the technique described in Patent Document 1 is premised on being connected to a server or an access point. That is, in order to establish communication between display devices, the user must register connection information to the server and access point in advance in each display device, which is troublesome.
  • the present invention has been made in view of the above-described problems, and an object thereof is to realize a communication terminal that can easily establish communication with another apparatus.
  • the communication terminal changes the identifier of the terminal to a specific identifier that includes at least one of a character, a number, and a symbol and that meets a specific condition.
  • the communication terminal uses a specific identifier that matches at least one of a character, a number, and a symbol as an identifier of the terminal. If a communication establishment request for establishing communication with the other terminal is received from an identifier changing unit to be changed to the other terminal, and a request terminal identifier identification that identifies the identifier of the terminal that has transmitted the communication establishment request And an accepting side communication establishment unit that establishes communication with the other terminal when the identifier of the other terminal is a corresponding identifier corresponding to the specific identifier.
  • the communication terminal control method matches the identifier of the own terminal with a specific condition including at least one of letters, numbers, and symbols.
  • An identifier changing step for changing to the specified identifier
  • a terminal specifying step for specifying a terminal having a corresponding identifier corresponding to the specific identifier of the own terminal as the specific identifier
  • communication with the terminal specified in the terminal specifying step Establishing a communication establishing step.
  • FIG. 6 It is a block diagram which shows an example of the principal part structure of the smart phone which concerns on Embodiment 1 of this invention. It is a screen transition diagram which shows the operation
  • FIG. 9 is a flowchart illustrating an example of a process flow of “B” in the flowchart illustrated in FIG. 8.
  • FIG. It is a block diagram which shows an example of the principal part structure of the smart phone which concerns on Embodiment 3 of this invention.
  • Embodiment 1 of the present invention will be described with reference to FIGS.
  • the communication terminal which concerns on this invention is implement
  • achieved with a smart phone the smart phone 1 and the smart phone 2 as an example
  • the communication terminal according to the present invention is not limited to a smartphone, and can be applied to any electronic device capable of data communication with other communication terminals such as a personal computer (PC) and a tablet PC.
  • PC personal computer
  • the smartphone 1 and the smartphone 2 are communication terminals that pair with a terminal other than their own terminal and output data in cooperation with a pairing partner terminal.
  • “pairing” means that the smartphone 1 or the smartphone 2 and another communication terminal identify and link each other in order to perform one-to-one communication.
  • the smartphone 1 and the smartphone 2 perform pairing and perform data output in cooperation.
  • the smartphone 1 and the smartphone 2 may be paired with an electronic device other than the smartphone and perform data output in cooperation.
  • the smartphone 1 and the smartphone 2 are described as performing communication using Bluetooth (registered trademark), but the communication method of the smartphone 1 and the smartphone 2 is not limited to this example.
  • the smartphone 1 and the smartphone 2 may perform communication by Wi-Fi (registered trademark), or may perform communication by short-range wireless communication (NFC, Near Field Communication).
  • Wi-Fi registered trademark
  • NFC Near Field Communication
  • communication when “communication” is simply written without particularly indicating a communication method, communication by Bluetooth is indicated.
  • a plurality of smartphones 2 to be paired may exist.
  • the smartphone 1 and the smartphone 2 are preinstalled with application software responsible for a series of processes for outputting data in cooperation with other communication terminals.
  • the application software is referred to as “pair application”.
  • the pair application is a function related to pairing of the smartphone 1 and the smartphone 2, a function for transmitting / receiving data between the smartphone 1 and the smartphone 2 after the pairing is established, and outputting the data in cooperation with each other It has functions related to various adjustments. Details of the processing performed by the pair application will be described later.
  • FIG. 2 and FIG. (A) to (g) of FIG. 2 show an outline of operations of the smartphone 1 and the smartphone 2 according to the present embodiment.
  • FIG. 3 shows the flow of processing in each of the smartphones 1 and 2 when the smartphone 1 is operated as shown in (a) to (g) of FIG.
  • the smartphone 1 and the smartphone 2 output data in cooperation with each other using FIG. 2 and FIG. 3, the smartphone 1 and the smartphone 2 display one image, and the respective terminals are adjacent to each other.
  • An example of displaying so as to be connected will be described.
  • the data is not limited to images, and may be audio data or moving image data, for example.
  • the smartphone 1 When the user performs an operation for instructing activation of the pair application, such as when the icon ⁇ of the pair application is touched on the smartphone 1, the smartphone 1 activates the pair application. Similarly, the smartphone 2 activates the pair application according to the user's instruction operation ((a) in FIG. 2 and S1 in FIG. 3).
  • the smartphone 1 and the smartphone 2 When the pair application is activated, the smartphone 1 and the smartphone 2 perform a pairing process by executing a function related to pairing of the pair application (S3 in FIG. 3). At this time, the smartphone 1 and the smartphone 2 may indicate to the user that they are searching for a communication partner device ((b) of FIG. 2).
  • the smartphone 1 and the smartphone 2 execute the pairing partner confirmation process (S7 in FIG. 3). ).
  • the pairing partner confirmation process is one of processes executed in the pair application, and is performed in the smartphone 1 and the smartphone 2 in order to make the user of each terminal confirm the partner terminal with which pairing has been established. Indicates processing.
  • the pairing partner confirmation process is a process for allowing the user to confirm whether the terminal (smart phone 1 or smartphone 2) that the user owns is paired with an appropriate partner terminal.
  • the smartphone 1 and the smartphone 2 allow the user of each terminal to input a confirmation result as to whether or not the pairing partner terminal is appropriate.
  • a “connection OK” button is displayed.
  • “cancel” is displayed. Touch the button.
  • the smart phone 1 and the smart phone 2 when the “connection OK” button is pressed, that is, when the user permits data transfer (S9 in FIG. 3), the smart phone 1 and the smart phone 2 next to the user of each terminal, Images to be displayed on both terminals are selected (S11 in FIG. 3).
  • the smartphone 1 and the smartphone 2 are desirably arranged side by side as shown in the drawing because of the subsequent input operations.
  • the user of the smartphone 1 selects the image by touching the smartphone 1 with a desired image for a predetermined time or longer (long-pressing touch) ((d) in FIG. 2).
  • an image is selected in the smartphone 1 and data is transferred from the smartphone 1 to the smartphone 2
  • an image may be selected in the smartphone 2 and data may be transferred from the smartphone 2 to the smartphone 1.
  • the smartphone 2 may perform the same operation as the smartphone 1 described below.
  • the smartphone 1 and the smartphone 2 start data transfer processing (S13 in FIG. 3).
  • the data transfer process is one of the processes executed in the pair application, and the data related to the selected image ⁇ and the data of the image ⁇ are stored in a terminal (smartphone in the figure).
  • the process of transmitting from 1) to the transfer destination terminal (smart phone 2 in the figure) is shown.
  • data related to the image ⁇ is transmitted before the image ⁇ itself, and then the data of the image ⁇ itself is transmitted.
  • data relating to the selected image transmitted in advance is referred to as “preceding data”.
  • the data of the selected image itself is referred to as “actual data”. Details of the preceding data and the actual data will be described later.
  • the smartphone 1 displays the preceding data in cooperation with the own terminal and the smartphone 2 at least when an operation (start operation) indicating the start of data display is performed on the own terminal after the start of the data transfer process. Even when the smartphone 1 receives a start operation after the data transfer process is completed, the smartphone 1 may first display the preceding data in cooperation with the smartphone 2 and then display the actual data.
  • start operation an operation indicating the start of data display
  • the smartphone 1 slides the finger touched while the user continues to press and hold (touched) so as to straddle the smartphone 1 and the smartphone 2.
  • the finger is released (the image ⁇ is selected and dragged and dropped) ((e) in FIG. 2), the operation is recognized as a start operation.
  • the smartphone 1 receives the start operation and displays the preceding data of the image ⁇ in cooperation with the display screens of the smartphone 1 and the smartphone 2.
  • the preceding data is a thumbnail image of the image ⁇
  • the smartphone 1 cooperates with the smartphone 2 so that the images are connected on the display screens of the smartphone 1 and the smartphone 2 (so as to be continuous images).
  • the thumbnail image ⁇ 1 of the image ⁇ is displayed ((f) in FIG. 2).
  • the smartphone 1 acquires the time when the touching finger leaves the input surface of the smartphone 1 and the time when the finger touches the end of the input surface of the smartphone 2 to obtain these times.
  • the adjacent relationship between the smartphone 1 and the smartphone 2 in which direction the smartphone 2 is positioned when viewed from the smartphone 1), the preceding data of the image ⁇ is displayed according to the adjacent relationship. It is desirable to do.
  • the smartphone 1 and the smartphone 2 cooperate with each other to display the actual data ⁇ 2 of the image ⁇ so that the images are connected on the display screens of the smartphone 1 and the smartphone 2 ((g) in FIG. 2). ).
  • the smartphone 1 and the smartphone 2 perform pairing with each other ((a) to (b) in FIG. 2) and allow the user to confirm whether the pairing is appropriate ((c) in FIG. 2). . Thereafter, the smartphone 1 transfers the image data selected by one of the terminals to the other terminal ((d) to (e) in FIG. 2).
  • the smartphone 1 (or the smartphone 2) can display the preceding data of the image in cooperation during the transfer, and can display the actual data in cooperation after the transfer of the actual data is completed (see FIG. 2 (f) to (g)).
  • the smartphone 1 and the smartphone 2 notify the user that the pairing has failed. (S17 in FIG. 3). And the smart phone 1 and the smart phone 2 perform a pairing process again (S3 of FIG. 3).
  • the smartphone 1 and the smartphone 2 cancel each other's pairing ( 3 (S19 in FIG. 3)
  • the user is notified that the pairing has failed (S17 in FIG. 3)
  • a pairing process is performed in order to try to pair with another terminal again (S3 in FIG. 3).
  • FIG. 1 is a block diagram illustrating a main configuration of the smartphone 1 and the smartphone 2 according to the present embodiment.
  • the smartphone 1 includes a control unit 10, a touch panel 20, a RAM 30, a storage unit 40, and a communication unit 50.
  • the touch panel 20 is an input and display panel formed by superimposing an input unit 21 that receives a user's touch input and a display unit 22 that displays an image.
  • the communication unit 50 is a communication device that transmits and receives information to and from another terminal (for example, the smartphone 2).
  • a RAM (random-access memory) 30 is a storage device that temporarily stores various data used in the smartphone 1.
  • the RAM 30 stores own terminal information 31, application name 32, time 33, and partner terminal information 34.
  • the own terminal information 31 is various pieces of information related to the smartphone 1, and is information (terminal name of the smartphone 1) including at least one of a character string and a symbol for identifying the smartphone 1, for example. Note that the own terminal information 31 is not limited to the terminal name alone, and may include, for example, an image quality mode and brightness setting in the smartphone 1.
  • the application name 32 is information including a character string or a symbol for identifying an application that is executed by the smartphone 1 and establishes communication with the smartphone 2.
  • the application name 32 (application identification information) is included in the changed terminal name (changed terminal name, specific identifier) when the smartphone 1 executes the application.
  • the time 33 is information including numbers (or numbers and symbols) indicating the time when the smartphone 1 executes the application.
  • the time 33 is information composed of numbers indicating a time after a predetermined time after the smartphone 1 executes the application. Similarly to the application name 32, the time 33 is included in the changed terminal name when the smartphone 1 executes the application.
  • the partner terminal information 34 is various information related to the terminal (smartphone 2) that has been paired with the smartphone 1, for example, information including a character string or a symbol for identifying the terminal (for example, the terminal name of the smartphone 2) ).
  • the partner terminal information 34 is not limited to only the terminal name, and may include, for example, an image quality mode and brightness setting in the smartphone 2.
  • the storage unit 40 is a storage device that stores various data used in the smartphone 1.
  • the storage unit 40 stores presentation information 35 and image data 41.
  • the presentation information 35 is information used to present to the user that the pairing between the smartphone 1 and the smartphone 2 has been established.
  • the presentation information 35 is a plurality of pieces of information (color information) indicating different colors.
  • the smartphone 1 selects one of the plurality of color information, sets the background color of the screen displayed on the display unit 22 to the color indicated by the selected color information, and establishes pairing with the terminal itself. Send to the terminal.
  • the presentation information 35 is not limited to color information. For example, it may be a plurality of pieces of information indicating sounds or animations of the same pattern or different patterns.
  • the image data 41 is information related to images (for example, photographs) that can be displayed on the smartphone 1. Moreover, when the pairing with the smart phone 1 and the smart phone 2 is established, the smart phone 1 and the smart phone 2 can display the image which the image data 41 shows over two smart phones.
  • the image data 41 includes preceding data 411 and actual data 412.
  • the preceding data 411 is data that is transmitted before the actual data 412 and smaller in size than the actual data 412 when the image data 41 is transmitted from the smartphone 1 to the smartphone 2.
  • the actual data 412 is an actual image of the image data 41.
  • the control unit 10 performs overall control of each unit included in the smartphone 1.
  • the control unit 10 includes a touch acquisition unit 11, an application execution unit 12, a display control unit 14, and a communication control unit 15.
  • the touch acquisition unit 11 acquires an electrical signal indicating a touch from the input unit 21 and calculates touch coordinates of the touch.
  • touch coordinates refers to the touch coordinates (coordinates at the detection resolution of the touch panel) on the input surface of the input unit 21 on the coordinate display surface on the display surface of the display unit 22 in the vertical and horizontal pixels. It is converted into a value indicating
  • the touch acquisition unit 11 supplies the calculated touch coordinates to the application execution unit 12 or the data transfer control unit 13. Further, the touch acquisition unit 11 can hold the touch coordinates in time series. Then, touch information as a locus of a touch operation (such as a drag operation or a long press operation) continuously input over a certain period of time is supplied to the application execution unit 12 or the data transfer control unit 13.
  • the application execution unit 12 executes various applications on the smartphone 1. Specifically, the application execution unit 12 executes processing according to various information supplied from the touch acquisition unit 11 or the communication control unit 15. As an example, the display control unit 14 is instructed to display a screen corresponding to various types of supplied information. In the present embodiment, the application execution unit 12 describes an example of executing a pair application, but the application executed by the application execution unit 12 is not limited to this example.
  • the application execution unit 12 includes a pairing control unit 121, a time acquisition unit 122, a device name change unit 123 (identifier change unit), a presentation information determination unit 124, a presentation information adjustment unit 125, a preceding data transmission / reception unit 131, and actual data transmission / reception. Part 132.
  • the pairing control unit 121 controls pairing between the smartphone 1 and the smartphone 2. Specifically, the pairing control unit 121 instructs the communication control unit 15 to start pairing with another terminal according to the touch coordinates supplied from the touch acquisition unit 11 (enable the Bluetooth setting). To instruct). Further, the pairing control unit 121 instructs the communication control unit 15 to end pairing with another terminal according to the supplied touch coordinates (instructs to invalidate the Bluetooth setting).
  • the time acquisition unit 122 acquires a time after a predetermined time after the application is executed (started). The time acquisition unit 122 supplies the acquired time to the device name change unit 123.
  • the device name changing unit 123 changes the device name (terminal name) of the smartphone 1.
  • the device name changing unit 123 obtains the time from the time obtaining unit 122
  • the device name changing unit 123 stores the application name (eg, “pair application”) of the application being executed in the RAM 30 together with the obtained time. Further, the device name changing unit 123 changes the terminal name to “ ⁇ application name> _ ⁇ acquired time>” and supplies it to the communication control unit 15.
  • the presentation information determination unit 124 determines the presentation information to be presented to the user when the pairing between the smartphone 1 and the smartphone 2 is established. Specifically, the presentation information determination unit 124 selects one from a plurality of color information, and supplies the selected color information to the presentation information adjustment unit 125.
  • the presentation information adjustment unit 125 adjusts the presentation information (color information) determined by the presentation information determination unit 124. Specifically, the presentation information adjustment unit 125 has selected the background color of the screen on its own terminal in accordance with the information related to the screen display settings such as the image quality mode and brightness setting included in the counterpart terminal information 34 The color information is adjusted so that the appearance of the color indicated by the color information is the same as the appearance of the color indicated by the color information selected by the smartphone 2. Then, the adjusted color information is supplied to the communication control unit 15. Note that the presentation information adjustment unit 125 may adjust the selected color information as the background color of the screen in the terminal itself. In this case, the presentation information adjustment unit 125 further adjusts the adjusted color information according to information such as the image quality mode and the brightness setting included in the counterpart terminal information 34, and the further adjusted color information is transmitted to the communication control unit. 15 may be supplied.
  • the preceding data transmission / reception unit 131 transmits the preceding data 411 to the smartphone 2 and receives the preceding data 411 from the smartphone 2. Specifically, when a specific touch coordinate (for example, a touch coordinate indicating a long press operation) is supplied from the touch acquisition unit 11, the previous data transmission / reception unit 131 reads the previous data 411 from the storage unit 40 and performs communication control. To the unit 15. Further, when the transmission of the preceding data 411 is completed, the preceding data transmitting / receiving unit 131 notifies the actual data transmitting / receiving unit 132 to that effect.
  • a specific touch coordinate for example, a touch coordinate indicating a long press operation
  • the preceding data transmission / reception unit 131 acquires the preceding data 411 transmitted from the smartphone 2 via the communication unit 50 and the communication control unit 15, and obtains the preceding data 411 from the display control unit 14 (specifically, the preceding data To display control unit 141).
  • the actual data transmitting / receiving unit 132 transmits actual data 412 to the smartphone 2 and receives actual data 412 from the smartphone 2. Specifically, when notified from the preceding data transmitting / receiving unit 131 that the transmission of the preceding data 411 is completed, the actual data transmitting / receiving unit 132 reads the actual data 412 from the storage unit 40 and supplies it to the communication control unit 15. . Further, the actual data transmission / reception unit 132 acquires the actual data 412 transmitted from the smartphone 2 via the communication unit 50 and the communication control unit 15 and supplies the actual data 412 to the display control unit 14.
  • the display control unit 14 displays a screen (image) on the display unit 22.
  • the display control unit 14 generates a screen in response to an instruction from the application execution unit 12 and causes the display unit 22 to display the screen.
  • the display control unit 14 includes a preceding data display control unit 141 and a presentation information display control unit 142.
  • the preceding data display control unit 141 displays an image corresponding to the preceding data 411 on the display unit 22. Specifically, when the preceding data display control unit 141 is supplied with the preceding data 411 (specifically, the preceding data 411 transmitted from the smartphone 2) from the application executing unit 12, the preceding data 411 is displayed on the display unit 22. The image corresponding to is displayed.
  • the presentation information display control unit 142 causes the display unit 22 to display a screen whose background color is the color indicated by the determined presentation information (color information). Specifically, when the presentation information display control unit 142 is supplied with the color information determined by the presentation information determination unit 124 (or the color information transmitted from the smartphone 2), the presentation information display control unit 142 displays the background color corresponding to the color information. A screen is generated and displayed on the display unit 22.
  • the communication control unit 15 controls communication via the communication unit 50.
  • the communication control unit 15 transmits information supplied from each unit of the smartphone 1 to the smartphone 2 via the communication unit 50. In the present embodiment, as described above, transmission is performed to the smartphone 2 by executing communication using Bluetooth.
  • the communication control unit 15 includes a counterpart terminal specifying unit 151 (terminal specifying unit, requesting terminal identifier specifying unit) and a pairing setting unit 152 (communication establishing unit, accepting side communication establishing unit).
  • the counterpart terminal identification unit 151 identifies a terminal that establishes pairing with the smartphone 1. Specifically, the counterpart terminal specifying unit 151 refers to the changed terminal name supplied from the device name changing unit 123, and among the terminals existing in the communicable range with the smartphone 1, the terminal name Identify a device that has the same app name as the changed device name. Then, by referring to the time included in the terminal name (changed terminal name) of the specified terminal, one terminal (terminal having a corresponding identifier) that satisfies a predetermined condition is specified. The counterpart terminal specifying unit 151 supplies the terminal name of the specified terminal to the pairing setting unit 152.
  • the pairing setting unit 152 sets the terminal specified by the counterpart terminal specifying unit 151 as a terminal that establishes pairing with the smartphone 1. Specifically, the pairing setting unit 152 transmits a pairing request (communication establishment request) for establishing pairing to the terminal specified by the counterpart terminal specifying unit 151.
  • a pairing request communication establishment request
  • the partner terminal information 34 received together with the pairing permission is stored in the RAM 30. Further, the application execution unit 12 is notified that the pairing permission has been received. Furthermore, when notified that the communication control unit 15 has received the pairing request, the pairing setting unit 152 transmits a pairing permission to the terminal that has transmitted the pairing request.
  • the smartphone 2 includes a communication unit 70, a control unit 80, a touch panel 90, a RAM 100, and a storage unit 110. Since each part of the smartphone 2 has the same function as the member having the same member name in the smartphone 1, the description thereof is omitted here. That is, the smartphone 1 and the smartphone 2 in the present embodiment are two smartphones having the same function. Therefore, the smartphone 2 may specify the smartphone 1 as a terminal (a partner terminal) for establishing pairing, or image data (preceding data 411 and actual data 412) is transmitted from the smartphone 2 to the smartphone 1. Also good. Note that the smartphone 1 and the smartphone 2 have the same function as an example, and the smartphone 1 and the smartphone 2 may have different functions.
  • FIG. 4 is a diagram illustrating an overview of the pairing process executed by the smartphone 1 and the smartphone 2.
  • FIG. 5 is a flowchart illustrating an example of a pairing process performed by the smartphone 1 and the smartphone 2.
  • FIG. 6 is a flowchart illustrating an example of a flow of processing after “A” in FIG. 5.
  • the smart phone 1 transmits a pairing request to the smart phone 2, and the smart phone 2 transmits pairing permission to the smart phone 1 as a response, so that pairing between the smart phone 1 and the smart phone 2 is established.
  • the smartphone 1 is a host terminal (parent terminal) in pairing and the smartphone 2 is a client terminal (child terminal) in pairing.
  • the smartphone 2 may be a host terminal and the smartphone 1 may be a client terminal.
  • the terminal name of the smartphone 1 before the pair application is executed is “A0001”.
  • the touch coordinates of the touch operation are supplied from the touch acquisition unit 11 to the application execution unit 12 by the touch operation on the position where the icon of the pair application is displayed.
  • the application execution unit 12 executes the pair application and notifies the pairing control unit 121 of the execution of the pair application.
  • the pairing control unit 121 instructs the communication control unit 15 to start pairing with another terminal (instructs to enable the Bluetooth setting).
  • the communication control part 15 validates the setting of Bluetooth in the smart phone 1 in order to start pairing with another terminal (S31 of FIG. 5).
  • the communication control unit 15 notifies the time acquisition unit 122 that the setting has been validated.
  • the time acquisition unit 122 acquires the current time (S33 in FIG. 5). That is, the current time is a time after a predetermined time after the pair application is activated. The acquired time is supplied to the device name changing unit 123.
  • the device name change unit 123 changes the terminal name to “ ⁇ application name> _ ⁇ acquired time>” (S35 in FIG. 5, identifier change step). Specifically, the device name changing unit 123 stores the application name of the application being executed (for example, “pair application”) in the RAM 30 together with the supplied time.
  • the device name changing unit 123 changes the terminal name of the smartphone 1 to “pair application_2014092112004820” as illustrated in FIG.
  • the first half of the changed terminal name is the name of the application executed to validate the Bluetooth setting.
  • the second half is a time after the predetermined time after the pair application is activated (the time acquired by the time acquisition unit 122).
  • the time shown in FIG. 4C includes year, month, day, hour, minute, second, and millisecond, but is not limited to this. For example, it may include from the time to milliseconds without including the month and day.
  • the device name changing unit 123 supplies the changed terminal name to the communication control unit 15.
  • the smartphone 1 executes processing for establishing pairing with another terminal.
  • the partner terminal identification unit 151 supplied with the changed terminal name starts searching for a terminal having ⁇ application name> (S37 in FIG. 5).
  • the terminal having the character string “pair application” in the terminal name is specified.
  • the processing described above is also executed on the smartphone 2 which is a terminal for which the user is trying to establish pairing with the smartphone 1. That is, the above-described processing from step S31 to step S37 is also executed on the smartphone 2. More specifically, in the smartphone 2, the terminal name is changed to “ ⁇ application name> _ ⁇ acquired time>” (for example, “pair application_2014092212010548” shown in FIG. 4D) by executing the pair application. Then, the smartphone 2 (specifically, the partner terminal specifying unit 151 of the smartphone 2) specifies a terminal having the character string “pair application” in the terminal name among terminals in the Bluetooth communicable range of the smartphone 2.
  • step S39 in FIG. 5 the counterpart terminal specifying unit 151 of the smartphone 1 refers to the time included in the terminal name for each found terminal. Then, it is determined whether or not the time is newer than the time included in the terminal name of the terminal (S43 in FIG. 5). If there is a terminal that is newer than the time included in the terminal name of the terminal itself (YES in S43 in FIG. 5), then the partner terminal specifying unit 151 has the time included in the terminal name of the terminal within the threshold range. Is determined (S45 in FIG. 5).
  • the threshold is a numerical value indicating a difference between the time included in the terminal name of the smartphone 1 and the time included in the terminal name of the found terminal (for example, the smartphone 2).
  • This numerical value may be a numerical value that can be determined that the partner terminal has executed the pair application in order to establish pairing with the terminal from now on.
  • a specific threshold value may be a range that specifies 0 to 1 minute, for example, or an upper limit of the range such as 40 seconds.
  • the counterpart terminal specifying unit 151 When there is a terminal within the threshold range (YES in S45 of FIG. 5), the counterpart terminal specifying unit 151 includes a terminal that includes the time closest to the time included in the terminal name of the terminal in the terminal name. (S47 in FIG. 5, terminal specifying step). Thereby, the terminal which establishes pairing with the smart phone 1 is decided to be one. For example, as illustrated in FIG. 4D, the terminal that establishes pairing with the smartphone 1 is determined as the smartphone 2.
  • the partner terminal identification unit 151 of the smartphone 1 supplies the terminal name of the identified terminal to the pairing setting unit 152.
  • the pairing setting unit 152 transmits a pairing request for establishing pairing to the terminal indicated by the supplied terminal name (S49 in FIG. 5, communication establishment step). At this time, the pairing setting unit 152 may transmit to the smartphone 2 the terminal name (changed terminal name) of the smartphone 1 and the image quality mode and brightness settings of the smartphone 1.
  • step S37 the smart phone 1 shall perform the process of step S49 and shall transmit the pairing request
  • step S49 the smart phone 1 shall perform the process of step S49 and shall transmit the pairing request
  • step S39 in FIG. 5 When the communication control unit 15 of the smartphone 2 receives a pairing request from another terminal (in this example, the smartphone 1) (YES in step S39 in FIG. 5), the communication control unit 15 notifies the partner terminal identification unit 151 pairing setting unit 152 to that effect. Notice. Upon receiving the notification, partner terminal specifying unit 151 cancels the search for the terminal having ⁇ application name> (step S61 in FIG. 6).
  • 5 and 6 illustrate an example of receiving a pairing request from the smartphone 1 when the smartphone 2 is searching for a terminal having ⁇ application name>. This example is an example, and the timing at which the smartphone 2 receives the pairing request and cancels the process being executed is not limited to this example. That is, unless the pairing request is received (NO in step S39 in FIG.
  • the counterpart terminal specifying unit 151 of the smartphone 2 continues the pairing process (executes the processes after step S41 in FIG. 5). If a pairing request is received while the processing from step S41 to step S45 is being executed, the processing being performed at that time is cancelled.
  • the pairing setting unit 152 of the smartphone 2 transmits the pairing permission and the information of the terminal itself to the terminal that transmitted the pairing request (smartphone 1 in this example) (S63).
  • the information of the own terminal is information such as the terminal name of the smartphone 2 and the image quality mode and brightness setting in the smartphone 2.
  • the counterpart terminal specifying unit 151 of the smartphone 2 specifies the terminal name (changed terminal name) of the terminal that has transmitted the pairing request, and the terminal having the changed terminal name (in this example, It may be determined whether the smartphone 1) satisfies the conditions of the terminal for establishing pairing. That is, the partner terminal specifying unit 151 of the smartphone 2 includes the change terminal name of the terminal that has transmitted the pairing request, including the same application name as the change terminal name of the own terminal, or the time included in the change terminal name of the own terminal. It is determined whether time information indicating a time older than the time indicated by the information is included, or whether the time indicated by the time information included in the changed terminal name of the terminal that has transmitted the pairing request is within a threshold range. When it is determined that the terminal satisfies these conditions, a pairing permission is transmitted.
  • the pairing setting unit 152 establishes pairing between the smartphone 1 and the smartphone 2.
  • the smartphone 1 and the smartphone 2 store the received partner terminal information as partner terminal information 34 in the RAM 30 of the terminal itself.
  • the counterpart terminal specifying unit 151 cancels the pairing process Then, the pairing failure is notified to the user (S51). For example, as illustrated in (e) of FIG. 4, when the terminal in the Bluetooth communicable range in the smartphone 1 is only the smartphone 2 that does not execute the pair application (the terminal name is not changed), the smartphone 1 Displays on the display unit 22 that a partner terminal with which to establish pairing is not found.
  • the counterpart terminal specifying unit 151 in the smartphone 1 notifies the application executing unit 12 that a counterpart terminal for establishing pairing is not found.
  • the application execution unit 12 instructs the display control unit 14 to display an image indicating that the partner terminal is not found.
  • the display control unit 14 causes the display unit 22 to display an image indicating that the counterpart terminal cannot be found (for example, the image shown in FIG. 4E).
  • the notification to the user of the pairing failure is not limited to the display of the image, and may be a notification by voice or a notification by vibration.
  • FIG. 7 is a diagram illustrating an outline of processing executed by the smartphone 1 and the smartphone 2 according to the present embodiment.
  • FIG. 8 is a figure which shows an example of the flow of the pairing process in the smart phone 1 and the smart phone 2 which concern on this embodiment.
  • FIG. 9 is a flowchart showing an example of the flow of the process “B” in FIG.
  • members having the same functions as those described in the embodiment are given the same reference numerals, and descriptions thereof are omitted.
  • the smartphone 1 and the smartphone 2 change the terminal name as the pair application is executed. That is, for the user, even if a character string desired by the user is set as the terminal name of his / her smartphone, the terminal name is forcibly changed. In other words, the terminal name desired by the user may be changed and the user may be dissatisfied. In addition, since the terminal name becomes a character string that is not familiar to the user, the user may be confused.
  • the smartphone 1 and the smartphone 2 restore the terminal names of their own terminals when pairing is established. Specifically, in order to identify the partner with whom pairing is established while the pairing process is being executed, the terminal name “ ⁇ app name> _ ⁇ acquired” is acquired as shown in FIG. Time> ”. On the other hand, when the pairing is established, as shown in FIG. 7B, the terminal name of the own terminal is returned to the original terminal name. In the example of FIG. 7B, the smartphone 1 returns the terminal name to A0001, and the smartphone 2 returns the terminal name to A0002.
  • the pairing process in the present embodiment particularly the process for returning the terminal name described above, will be described in more detail with reference to FIGS. 8 is the same as the processing from step S31 to step S49 in FIG. 5, and thus the description thereof is omitted here.
  • the communication control unit 15 of the smartphone 1 that has transmitted the pairing request is in a state of waiting for pairing permission (S91).
  • the communication control unit 15 notifies the device name changing unit 123 that the pairing permission has been received.
  • the device name changing unit 123 restores the terminal name (S93). Specifically, the device name changing unit 123 reads the own terminal information 31 from the RAM 30 and changes the terminal name to a character string (original terminal name) included in the own terminal information 31 as the terminal name. In the example of FIG. 7, the device name changing unit 123 returns the terminal name to “A0001”.
  • the device name changing unit 123 supplies the original terminal name (“A0001” in this example) to the communication control unit 15 (specifically, the pairing setting unit 152).
  • the pairing setting unit 152 transmits the supplied original terminal name to the smartphone 2.
  • step S101 when the smartphone 2 receives a pairing request from another terminal (smartphone 1 in this example), the smartphone 2 cancels the search for the terminal having ⁇ application name> as in the smartphone 2 of the first embodiment ( S101), the pairing permission and the information of the own terminal are transmitted to the terminal (smart phone 1 in this example) that transmitted the pairing request (S103). Note that details of the processing in step S101 and step S103 have already been described in the first embodiment, and thus description thereof is omitted here.
  • the smartphone 2 restores the terminal name (S105).
  • the device name changing unit 123 returns the terminal name to “A0002”.
  • the details of this processing are the same as the processing from step S91 to step S93 in the smartphone 1, and thus the description thereof is omitted here.
  • the pairing setting unit 152 of the smartphone 2 transmits the supplied original terminal name to the smartphone 1. Thereby, the smart phone 1 and the smart phone 2 can acquire the original terminal name of a partner terminal mutually.
  • the smartphone 1 and the smartphone 2 of the present embodiment restore the changed terminal name. This can prevent the user from being frustrated or confused.
  • FIG. 10 is a block diagram illustrating an example of a main configuration of the smartphone 3 and the smartphone 4 according to the present embodiment.
  • members having the same functions as those described in the embodiment are given the same reference numerals, and descriptions thereof are omitted.
  • the terminal name is changed to “ ⁇ application name> _ ⁇ acquired time>” in order to identify the partner terminal with which pairing is established. And the other party which establishes pairing was specified using the numerical sequence which enters ⁇ acquired time>.
  • the terminal name after the change is not limited to “ ⁇ application name> _ ⁇ acquired time>”, and the information used to identify the partner terminal with which pairing is established is not limited to the acquired time.
  • the control unit 10 of the smartphone 3 includes an application execution unit 16 instead of the application execution unit 12, and the application execution unit 16 includes not the time acquisition unit 122 but the condition information acquisition unit 126. Further, the RAM 30 of the smartphone 3 newly stores position information 36, a CPU specification 37, and a radio wave intensity 38.
  • the condition information acquisition unit 126 acquires various information used as a condition for specifying a partner terminal with which pairing is established.
  • the condition information acquisition unit 126 acquires the position information of the smartphone 3, the CPU specifications of the smartphone 1, and the current radio wave intensity in addition to the time information described in the first embodiment.
  • the position information of the smartphone 3 may be information that can distinguish the difference in position between the smartphone 3 and another terminal. For example, when the smartphone 3 and the smartphone 4 establish Wi-Fi communication via an access point, the relative position information viewed from the access point may be used.
  • the condition information acquisition unit 126 supplies the acquired various information to the device name change unit 123.
  • the device name changing unit 123 stores the supplied various information in the RAM 30 together with the device name of the application being executed. Further, the device name changing unit 123 changes the terminal name using the supplied various information. That is, the changed terminal name in the present embodiment includes an application name, time, position information, CPU specifications, and radio wave intensity.
  • the counterpart terminal specifying unit 151 executes the specification of the counterpart terminal using the location information, the CPU specifications, and the radio wave intensity in addition to the specification of the counterpart terminal for pairing using the time included in the changed terminal name. To do. Specifically, the counterpart terminal specifying unit 151 refers to the position information in the changed terminal name, and includes a terminal that includes position information indicating the position closest to the position indicated by the position information of the own terminal (smartphone 3) in the terminal name. Identify. When displaying an image over two smartphones, the user often displays the two smartphones side by side as shown in FIG.
  • the terminal that includes the position information indicating the position closest to the position indicated by the position information of the smartphone 3 in the terminal name is highly likely that the user is a partner terminal (smartphone 4) that is trying to establish pairing with the smartphone 3. . Therefore, the counterpart terminal specifying unit 151 of the present embodiment performs specification using the position information as described above, and correctly specifies the counterpart terminal that the user is trying to establish pairing with.
  • the counterpart terminal specifying unit 151 specifies a terminal whose CPU specification in the changed terminal name is equal to or greater than a predetermined threshold among the terminals whose changed terminal name includes ⁇ application name>.
  • data for example, image data
  • the counterpart terminal identification unit 151 of the present embodiment performs identification using the CPU specifications as described above, and establishes pairing between smartphones so that smooth data transmission / reception can be realized.
  • the counterpart terminal specifying unit 151 specifies a terminal having a radio field intensity equal to or higher than a predetermined threshold among terminals including ⁇ application name> in the changed terminal name.
  • the partner terminal specifying unit 151 of the embodiment performs the specification using the above-described radio wave intensity, and correctly specifies the partner terminal that the user is trying to establish pairing with.
  • each part of the smart phone 4 which concerns on this embodiment has the same function as the member which has the same member name in the smart phone 3, description here is abbreviate
  • the time, position information, CPU specifications, and radio wave intensity are acquired as various information, but the present invention is not limited to this example. That is, the acquired information may be at least one of time, position information, CPU specifications, and radio wave intensity.
  • the condition information acquisition unit 126 may acquire information other than the information described above.
  • the terminal identifier is not limited to the terminal name.
  • the identifier (SSID) of an access point connected to be communicable with each terminal may be changed.
  • the first half of the changed terminal name is the application name, but it is common for smartphones that want to establish communication, and it is understood that they have the functions that they want to realize. If it is such, it will not be limited to an application name, Information (validation information) which consists of at least one of a character, a number, and a symbol may be sufficient. Moreover, the user may be able to freely set the activation information.
  • the first half of the changed terminal name is used as information indicating whether the application name and each communication method are supported, and the counterpart terminal identifying unit 151 is configured to identify a terminal whose first half is completely matched.
  • the first half of the changed terminal name is “ Pair application 1110 ”.
  • the smartphone 1 and the smartphone 2 display image candidates to be displayed across both terminals on the display unit 22, and the candidates are determined according to preset category information. May be.
  • the application execution unit 12 presets category information corresponding to the user operation.
  • the category information is, for example, “Latest day” or “September 22 Hokkaido travel photo”, and the application execution unit 12 specifies the image data 41 according to the set category information.
  • Information indicating the image data 41 is supplied to the display control unit 14.
  • the display control unit 14 causes the display unit 22 to display image candidates based on the supplied information.
  • the application execution unit 12 specifies the image data 41 according to the set category information by referring to the date and time information and the position information added to the image data 41.
  • the application execution unit 12 may add various types of information to the image data 41. For example, when the image data 41, which is a plurality of photographs, is graphed by taking the shooting date and time on the horizontal axis and the number of images on the vertical axis, the portion where many photographs are displayed at the same position on the horizontal axis is traveled. It can be specified that it is a photograph at the time. If the location information can be acquired from the additional information of the photo included in this part, the category information such as the above-mentioned “photo of Hokkaido trip on 9/22” can be added to the photo included in this part.
  • the resolution on the touch panel 20 and the size of the display area may be transmitted to the partner terminal.
  • the smart phone 1 can acquire the resolution of the other party terminal (smart phone 2) and the size of the display area, as shown in (e) of FIG. 2, the touch when the image ⁇ is selected and dragged and dropped.
  • the smartphone 1 and the smartphone 2 are arranged, more specifically, two smartphones adjacent to each other forming the rectangular smartphone 1 and the smartphone 2 are adjacent to each other.
  • the touch acquisition unit 11 identifies the touch coordinates on the contact side of the smartphone 1 and the touch coordinates on the contact side of the smartphone 2. Also, the coordinates of the start point and end point of the operation are specified. And the application execution part 12 can pinpoint the direction of the said operation from these coordinates. In addition, the application execution unit 12 can determine which of the smartphone 1 and the smartphone 2 is using the resolution of the own device and the size of the display area, the resolution of the counterpart terminal and the size of the display area, and the specified touch coordinates and operation direction. In other words, it is possible to specify the shape of the connected display area composed of the display areas of the two smartphones.
  • the application execution part 12 of the smart phone 1 is the part displayed on the display area of the smart phone 1 among the image data 41 to display according to the arrangement
  • the image data 41 displayed over two smart phones It is possible to display without any deviation. For example, even if the display areas of the smartphone 1 and the smartphone 2 are different in size, the image data 41 displayed over the two smartphones can be displayed without any deviation.
  • control blocks (especially the touch acquisition unit 11, the application execution unit 12, the display control unit 14, the communication control unit 15, and the application execution unit 16) of the smartphones 1 to 4 are logical circuits (IC chips) formed in an integrated circuit (IC chip) or the like. Hardware) or software using a CPU (Central Processing Unit).
  • IC chips logical circuits formed in an integrated circuit (IC chip) or the like.
  • Hardware or software using a CPU (Central Processing Unit).
  • the smartphones 1 to 4 include a CPU that executes instructions of a program that is software that realizes each function, and a ROM (Read Only Memory) in which the program and various data are recorded so as to be readable by the computer (or CPU).
  • a storage device (these are referred to as “recording media”), a RAM (Random Access Memory) for expanding the program, and the like are provided.
  • the objective of this invention is achieved when a computer (or CPU) reads the said program from the said recording medium and runs it.
  • a “non-temporary tangible medium” such as a tape, a disk, a card, a semiconductor memory, a programmable logic circuit, or the like can be used.
  • the program may be supplied to the computer via an arbitrary transmission medium (such as a communication network or a broadcast wave) that can transmit the program.
  • a transmission medium such as a communication network or a broadcast wave
  • the present invention can also be realized in the form of a data signal embedded in a carrier wave in which the program is embodied by electronic transmission.
  • the communication terminal (smart phone 1) changes the identifier of the terminal itself to a specific identifier that matches at a specific condition and includes at least one of letters, numbers, and symbols ( A device name changing unit 123), a terminal specifying unit (partner terminal specifying unit 151) for specifying a terminal having a corresponding identifier corresponding to the specific identifier of the own terminal as the specific identifier, and a terminal specified by the terminal specifying unit And a communication establishment unit (pairing setting unit 152) for establishing communication.
  • the user since the identifier of the own terminal is changed to a specific identifier and communication is established with a terminal having a corresponding identifier corresponding to the specific identifier, the user sets in advance in establishing communication between the terminals. There is no need to do such work. Therefore, establishment of communication with another apparatus can be performed without trouble.
  • the communication terminal according to aspect 2 of the present invention is the communication terminal according to aspect 1, wherein the identifier changing unit uses the identifier of the terminal itself for a predetermined time after an application that establishes communication between the terminal and another terminal is activated.
  • the terminal identification unit changes the time information indicating the time nearest to the time indicated by the time information included in the specific identifier of the terminal to the specific identifier.
  • a terminal other than the own terminal may be specified as the terminal having the correspondence identifier.
  • the terminal that started the application at the time closest to the time when the application was started in its own terminal is specified as the terminal having the correspondence identifier, and communication is established with the terminal.
  • the terminal having the correspondence identifier There is a high possibility that the user will activate the communication almost simultaneously for a plurality of terminals that want to establish communication. Therefore, by specifying the terminal that has enabled communication at the time closest to the time at which communication is enabled, the terminal that the user wants to establish communication with can be accurately specified.
  • the identifier of the communication terminal is changed to a specific identifier.
  • the user can establish communication between terminals only by executing an application.
  • the communication terminal according to aspect 3 of the present invention is the communication terminal according to aspect 2, wherein the identifier changing unit identifies the identifier of the terminal that has been started and includes at least one of letters, numbers, and symbols.
  • the terminal identification unit changes a terminal other than the own terminal whose application identification information matches the application identification information of the own terminal as a candidate for the terminal having the corresponding identifier. You may specify.
  • the specific identifier includes the application identification information for identifying the activated application, and identifies the terminal including the application identification information. Therefore, even if there are a plurality of terminals, the application is identified in order to establish communication. The activated terminal can be accurately identified.
  • the communication terminal according to aspect 4 of the present invention is the communication terminal according to aspect 3, wherein the terminal identification unit is a candidate for a terminal having the correspondence identifier, other than the own terminal whose application identification information matches the application identification information of the own terminal.
  • the terminal identification unit is a candidate for a terminal having the correspondence identifier, other than the own terminal whose application identification information matches the application identification information of the own terminal.
  • a terminal including the time information that is newer than the time information included in the specific identifier of the own terminal may be specified.
  • a terminal whose time information is newer than the specific identifier of its own terminal is specified.
  • a user may first start the application on one terminal (for example, the user's own terminal) and then start the application on another terminal.
  • the time information in the specific identifier of the other terminal is likely to be newer than the time information in the special identifier of the own terminal. Therefore, by specifying a terminal whose time information is newer than the own terminal, it is possible to accurately specify the terminal that the user wants to establish communication with the own terminal.
  • the communication terminal according to aspect 5 of the present invention is the communication terminal according to any one of the aspects 1 to 4, wherein the identifier changing unit returns the specific identifier to the identifier before the change when the communication establishing unit establishes the communication. May be.
  • the specific identifier is returned to the original identifier. As a result, it is possible to prevent a situation in which the user is confused because the identifier remains changed.
  • the communication terminal changes the identifier of its own terminal to an identifier changing unit (which includes at least one of letters, numbers, and symbols) and that matches a specific condition
  • an identifier changing unit which includes at least one of letters, numbers, and symbols
  • a request terminal identifier specification that specifies the identifier of the terminal that has transmitted the communication establishment request Unit (partner terminal specifying unit 151) and the identifier of the other terminal are corresponding identifiers corresponding to the specific identifier, the accepting side communication establishing unit (pairing setting unit) for establishing communication with the other terminal 152).
  • the terminal that has transmitted the communication probability request is a partner with which communication should be established. Thereby, it is possible to confirm whether or not communication with the correct partner is established from the terminal that has received the communication probability request.
  • the communication terminal control method includes an identifier changing step (step) of changing the identifier of the terminal to a specific identifier that includes at least one of a character, a number, and a symbol and that meets a specific condition. S35), a terminal specifying step (step S47) for specifying a terminal having a corresponding identifier corresponding to the specific identifier of the own terminal as the specific identifier, and communication for establishing communication with the terminal specified in the terminal specifying step Establishing step (step S49).
  • This control method has the same function and effect as the communication terminal according to aspect 1.
  • the communication terminal according to each aspect of the present invention may be realized by a computer.
  • the communication terminal is controlled by the computer by causing the computer to operate as each unit included in the communication terminal.
  • a program and a computer-readable recording medium on which the program is recorded also fall within the scope of the present invention.
  • the present invention can be used for a communication terminal that enables transmission and reception of information between its own terminal and another terminal by establishing communication with another terminal.

Abstract

 The present invention enables the effortless establishment of communication with another device. A smartphone (1) according to the present invention comprises: a device name modification unit (123) that modifies an own-terminal identifier to a specific identifier matching a specific condition; a counterpart terminal identification unit (151) that identifies a terminal having a correspondence identifier that corresponds to the own-terminal specific identifier; and a pairing setting unit (152) that establishes communication with the identified terminal.

Description

通信端末、通信端末の制御方法、および制御プログラムCommunication terminal, communication terminal control method, and control program
 本発明は、別の端末と通信を確立することにより、自端末と別の端末との間で情報の送受信を行うことを可能とする通信端末に関する。 The present invention relates to a communication terminal capable of transmitting and receiving information between its own terminal and another terminal by establishing communication with the other terminal.
 近年、複数の装置を連動させて動作させる技術が開発されている。このような技術の一例としては、複数の表示装置を連動させて画像を表示させるマルチディスプレイを実現するための技術がある。例えば特許文献1には、複数の表示装置に対する入力に関する情報を、アクセスポイントを介してサーバに送信し、当該サーバが、上記複数の表示装置に対する入力が連続的な入力であるか否かを判定し、連続的な入力であると判定したとき、上記複数の表示装置を連動させる(例えば、1つの画像を複数の表示装置にわたって表示させる)技術が開示されている。 In recent years, a technology for operating a plurality of devices in conjunction with each other has been developed. As an example of such a technique, there is a technique for realizing a multi-display that displays an image by interlocking a plurality of display devices. For example, in Patent Document 1, information related to inputs to a plurality of display devices is transmitted to a server via an access point, and the server determines whether or not the inputs to the plurality of display devices are continuous inputs. When it is determined that the input is continuous, a technique for interlocking the plurality of display devices (for example, displaying one image over a plurality of display devices) is disclosed.
日本国公開特許公報「特開2013-210730号公報(公開日:2013年10月10日)」Japanese Published Patent Publication “Japanese Patent Laid-Open No. 2013-210730 (Publication Date: October 10, 2013)”
 特許文献1に記載の技術のように、1つの画像を複数の表示装置にわたって表示させる場合、事前に表示装置間の通信を確立しておく必要がある。ここで特許文献1に記載の技術では、サーバやアクセスポイントに接続されていることが前提となっている。つまりユーザは、表示装置間の通信を確立するために、各表示装置においてサーバやアクセスポイントへの接続情報を事前に登録しておかなければならず、面倒であるという問題がある。 As in the technique described in Patent Document 1, when one image is displayed over a plurality of display devices, it is necessary to establish communication between the display devices in advance. Here, the technique described in Patent Document 1 is premised on being connected to a server or an access point. That is, in order to establish communication between display devices, the user must register connection information to the server and access point in advance in each display device, which is troublesome.
 本発明は、上記の問題点に鑑みたものであり、その目的は、別の装置との間の通信の確立を手間無く行うことができる通信端末を実現することにある。 The present invention has been made in view of the above-described problems, and an object thereof is to realize a communication terminal that can easily establish communication with another apparatus.
 上記の課題を解決するために、本発明の一態様に係る通信端末は、自端末の識別子を、文字、数字、および記号のうち少なくとも1つからなる、特定の条件に合致した特定識別子に変更する識別子変更部と、上記特定識別子として、自端末の上記特定識別子と対応する対応識別子を有する端末を特定する端末特定部と、上記端末特定部が特定した端末と通信を確立する通信確立部と、を備える。 In order to solve the above-described problem, the communication terminal according to one aspect of the present invention changes the identifier of the terminal to a specific identifier that includes at least one of a character, a number, and a symbol and that meets a specific condition. An identifier changing unit, a terminal specifying unit that specifies a terminal having a corresponding identifier corresponding to the specific identifier of the terminal as the specific identifier, and a communication establishing unit that establishes communication with the terminal specified by the terminal specifying unit; .
 また、上記の課題を解決するために、本発明の一態様に係る通信端末は、自端末の識別子を、文字、数字、および記号のうち少なくとも1つからなる、特定の条件に合致した特定識別子に変更する識別子変更部と、他の端末から、当該他の端末との通信を確立するための通信確立要求を受信した場合、当該通信確立要求を送信した端末の識別子を特定する要求端末識別子特定部と、上記他の端末の識別子が、上記特定識別子と対応する対応識別子である場合、上記他の端末との通信を確立する受諾側通信確立部と、を備える。 In order to solve the above-described problem, the communication terminal according to one aspect of the present invention uses a specific identifier that matches at least one of a character, a number, and a symbol as an identifier of the terminal. If a communication establishment request for establishing communication with the other terminal is received from an identifier changing unit to be changed to the other terminal, and a request terminal identifier identification that identifies the identifier of the terminal that has transmitted the communication establishment request And an accepting side communication establishment unit that establishes communication with the other terminal when the identifier of the other terminal is a corresponding identifier corresponding to the specific identifier.
 また、上記の課題を解決するために、本発明の一態様に係る通信端末の制御方法は、自端末の識別子を、文字、数字、および記号のうち少なくとも1つからなる、特定の条件に合致した特定識別子に変更する識別子変更ステップと、上記特定識別子として、自端末の上記特定識別子と対応する対応識別子を有する端末を特定する端末特定ステップと、上記端末特定ステップにて特定した端末と通信を確立する通信確立ステップと、を含む。 In order to solve the above-described problem, the communication terminal control method according to one aspect of the present invention matches the identifier of the own terminal with a specific condition including at least one of letters, numbers, and symbols. An identifier changing step for changing to the specified identifier, a terminal specifying step for specifying a terminal having a corresponding identifier corresponding to the specific identifier of the own terminal as the specific identifier, and communication with the terminal specified in the terminal specifying step. Establishing a communication establishing step.
 本発明の一態様によれば、別の装置との間の通信の確立を手間無く行うことができるという効果を奏する。 According to one aspect of the present invention, it is possible to establish communication with another apparatus without trouble.
本発明の実施形態1に係るスマートフォンの要部構成の一例を示すブロック図である。It is a block diagram which shows an example of the principal part structure of the smart phone which concerns on Embodiment 1 of this invention. 図1に示すスマートフォンの動作概要を示す画面遷移図である。It is a screen transition diagram which shows the operation | movement outline | summary of the smart phone shown in FIG. 図1に示すスマートフォンが実行する処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the flow of the process which the smart phone shown in FIG. 1 performs. 図1に示すスマートフォンが実行するペアリング処理の概要を示す図である。It is a figure which shows the outline | summary of the pairing process which the smart phone shown in FIG. 1 performs. 図3に示すフローチャートにおけるペアリング処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the flow of the pairing process in the flowchart shown in FIG. 図5に示すフローチャートにおける「A」の処理の流れの一例を示すフローチャートである。6 is a flowchart illustrating an example of a process flow of “A” in the flowchart illustrated in FIG. 5. 本発明の実施形態2に係るスマートフォンが実行する処理の概要を示す図である。It is a figure which shows the outline | summary of the process which the smart phone which concerns on Embodiment 2 of this invention performs. 図7に示すスマートフォンにおけるペアリング処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the flow of the pairing process in the smart phone shown in FIG. 図8に示すフローチャートにおける「B」の処理の流れの一例を示すフローチャートである。FIG. 9 is a flowchart illustrating an example of a process flow of “B” in the flowchart illustrated in FIG. 8. FIG. 本発明の実施形態3に係るスマートフォンの要部構成の一例を示すブロック図である。It is a block diagram which shows an example of the principal part structure of the smart phone which concerns on Embodiment 3 of this invention.
 〔実施形態1〕
 以下、本発明の実施形態1について、図1~6を用いて説明する。なお、以下では一例として、本発明に係る通信端末を、スマートフォン(スマートフォン1およびスマートフォン2)にて実現する場合について説明する。しかし、本発明に係る通信端末はスマートフォンに限定されず、パーソナルコンピュータ(PC)や、タブレットPCなど、他の通信端末とデータ通信が可能なあらゆる電子機器に適用することが可能である。
[Embodiment 1]
Hereinafter, Embodiment 1 of the present invention will be described with reference to FIGS. In addition, below, the case where the communication terminal which concerns on this invention is implement | achieved with a smart phone (the smart phone 1 and the smart phone 2) as an example is demonstrated. However, the communication terminal according to the present invention is not limited to a smartphone, and can be applied to any electronic device capable of data communication with other communication terminals such as a personal computer (PC) and a tablet PC.
 ≪スマートフォンの機能≫
 まず始めに、本実施形態に係るスマートフォン1およびスマートフォン2について概説する。スマートフォン1およびスマートフォン2は、自端末以外の端末とペアリングし、ペアリング相手の端末と連携してデータを出力する通信端末である。本実施形態において「ペアリング」とは、スマートフォン1またはスマートフォン2と他の通信端末とが、1対1で通信を行うために互いを特定し紐付けることを意味する。
≪Smartphone functions≫
First, the smartphone 1 and the smartphone 2 according to the present embodiment will be outlined. The smartphone 1 and the smartphone 2 are communication terminals that pair with a terminal other than their own terminal and output data in cooperation with a pairing partner terminal. In the present embodiment, “pairing” means that the smartphone 1 or the smartphone 2 and another communication terminal identify and link each other in order to perform one-to-one communication.
 なお、以降の説明では、特に記載がない場合、スマートフォン1とスマートフォン2とがペアリングを行い、連携してデータ出力を行うこととする。しかしながらスマートフォン1およびスマートフォン2は、スマートフォン以外の電子機器とペアリングし、連携してデータ出力を行ってもよい。 In the following description, unless otherwise specified, the smartphone 1 and the smartphone 2 perform pairing and perform data output in cooperation. However, the smartphone 1 and the smartphone 2 may be paired with an electronic device other than the smartphone and perform data output in cooperation.
 また、以降の説明では、スマートフォン1とスマートフォン2とは、Bluetooth(登録商標)による通信を行うものとして説明するが、スマートフォン1とスマートフォン2の通信方式はこの例に限定されるものではない。例えば、スマートフォン1とスマートフォン2とはWi-Fi(登録商標)による通信を行ってもよいし、近距離無線通信(NFC、Near Field Communication)による通信を行ってもよい。なお以降、通信方式を特に示さずに単に「通信」と書いた場合は、Bluetoothによる通信を示すものとする。また、ペアリングする対象となるスマートフォン2は複数台存在しても良い。 In the following description, the smartphone 1 and the smartphone 2 are described as performing communication using Bluetooth (registered trademark), but the communication method of the smartphone 1 and the smartphone 2 is not limited to this example. For example, the smartphone 1 and the smartphone 2 may perform communication by Wi-Fi (registered trademark), or may perform communication by short-range wireless communication (NFC, Near Field Communication). Hereinafter, when “communication” is simply written without particularly indicating a communication method, communication by Bluetooth is indicated. A plurality of smartphones 2 to be paired may exist.
 ≪ペアアプリ≫
 スマートフォン1およびスマートフォン2にはそれぞれ、他の通信端末と連携してデータ出力を行うための、一連の処理を担うアプリケーションソフトウェアが予めインストールされている。以降、当該アプリケーションソフトウェアを「ペアアプリ」と称する。ペアアプリは、具体的にはスマートフォン1およびスマートフォン2のペアリングに係る機能、ペアリング確立後にスマートフォン1とスマートフォン2との間でデータの送受信を行うための機能、および、当該データを連携して出力するための各種調節に係る機能を有する。ペアアプリの担う処理の詳細については後で述べる。
≪Pair app≫
Each of the smartphone 1 and the smartphone 2 is preinstalled with application software responsible for a series of processes for outputting data in cooperation with other communication terminals. Hereinafter, the application software is referred to as “pair application”. Specifically, the pair application is a function related to pairing of the smartphone 1 and the smartphone 2, a function for transmitting / receiving data between the smartphone 1 and the smartphone 2 after the pairing is established, and outputting the data in cooperation with each other It has functions related to various adjustments. Details of the processing performed by the pair application will be described later.
 ≪データの連携出力に係る処理の流れ≫
 次に、本実施形態に係るスマートフォンの動作概要を、図2および図3を用いて説明する。図2の(a)~(g)は、本実施形態に係るスマートフォン1とスマートフォン2との動作概要を示している。また、図3は、スマートフォン1を図2の(a)~(g)に示すように動作させた場合の、スマートフォン1および2それぞれにおける処理の流れを示している。
≪Process flow related to linked output of data≫
Next, the operation | movement outline | summary of the smart phone which concerns on this embodiment is demonstrated using FIG. 2 and FIG. (A) to (g) of FIG. 2 show an outline of operations of the smartphone 1 and the smartphone 2 according to the present embodiment. FIG. 3 shows the flow of processing in each of the smartphones 1 and 2 when the smartphone 1 is operated as shown in (a) to (g) of FIG.
 なお、以下では図2および図3を用いて、スマートフォン1とスマートフォン2とが連携してデータ出力する例として、スマートフォン1とスマートフォン2とが1枚の画像を、それぞれの端末を隣り合わせた場合に繋がるように表示する例を説明する。しかしながら、上記データは画像に限られず、例えば音声データや動画データであってもよい。 In the following, as an example in which the smartphone 1 and the smartphone 2 output data in cooperation with each other using FIG. 2 and FIG. 3, the smartphone 1 and the smartphone 2 display one image, and the respective terminals are adjacent to each other. An example of displaying so as to be connected will be described. However, the data is not limited to images, and may be audio data or moving image data, for example.
 スマートフォン1において、ペアアプリのアイコンαがタッチされる等、ユーザによりペアアプリの起動を指示する操作がなされると、スマートフォン1はペアアプリを起動させる。また、スマートフォン2も同様に、ユーザの指示操作に従いペアアプリを起動する(図2の(a)、および図3のS1)。 When the user performs an operation for instructing activation of the pair application, such as when the icon α of the pair application is touched on the smartphone 1, the smartphone 1 activates the pair application. Similarly, the smartphone 2 activates the pair application according to the user's instruction operation ((a) in FIG. 2 and S1 in FIG. 3).
 ペアアプリが起動すると、スマートフォン1およびスマートフォン2は、ペアアプリのペアリングに係る機能を実行することにより、ペアリング処理を行う(図3のS3)。なおこのとき、スマートフォン1およびスマートフォン2は、通信相手の機器を探索中であることをユーザに示してもよい(図2の(b))。 When the pair application is activated, the smartphone 1 and the smartphone 2 perform a pairing process by executing a function related to pairing of the pair application (S3 in FIG. 3). At this time, the smartphone 1 and the smartphone 2 may indicate to the user that they are searching for a communication partner device ((b) of FIG. 2).
 上記ペアリング処理が完了する、すなわち、スマートフォン1とスマートフォン2とのペアリングが確立すると(図3のS5でYES)、スマートフォン1およびスマートフォン2はペアリング相手確認処理を実行する(図3のS7)。 When the pairing process is completed, that is, when the pairing between the smartphone 1 and the smartphone 2 is established (YES in S5 in FIG. 3), the smartphone 1 and the smartphone 2 execute the pairing partner confirmation process (S7 in FIG. 3). ).
 ここで、ペアリング相手確認処理とは、ペアアプリにおいて実行される処理の一つであり、スマートフォン1およびスマートフォン2において、それぞれの端末のユーザにペアリングが確立した相手端末を確認させるために行われる処理を示す。換言すると、ペアリング相手確認処理とは、ユーザに自分の所持する端末(スマートフォン1またはスマートフォン2)が適切な相手端末とペアリングしているか否かを確認させるための処理である。 Here, the pairing partner confirmation process is one of processes executed in the pair application, and is performed in the smartphone 1 and the smartphone 2 in order to make the user of each terminal confirm the partner terminal with which pairing has been established. Indicates processing. In other words, the pairing partner confirmation process is a process for allowing the user to confirm whether the terminal (smart phone 1 or smartphone 2) that the user owns is paired with an appropriate partner terminal.
 具体的には、スマートフォン1およびスマートフォン2はペアリングが確立した場合(図3のS5でYES)、それぞれの表示画面に同じ色の画像を表示することにより、ユーザに自端末と上記通信相手の端末とがペアリングしたことを通知する(図2の(c))。なお、スマートフォン1とスマートフォン2とがペアリングしたことは、上述した画像表示以外の方法で示してもよい。 Specifically, when the pairing is established between the smartphone 1 and the smartphone 2 (YES in S5 in FIG. 3), an image of the same color is displayed on each display screen, so that the user can communicate with the terminal and the communication partner. It is notified that the terminal is paired ((c) in FIG. 2). In addition, you may show that the smart phone 1 and the smart phone 2 paired by methods other than the image display mentioned above.
 そして、スマートフォン1およびスマートフォン2はそれぞれの端末のユーザに対し、ペアリング相手の端末が適切か否かの確認結果を入力させる。具体的には、例えば図2の(c)に示すように、ペアリングが適切でありデータ通信を許可する場合は「接続OK」ボタンを、当該ペアリングが不適切である場合は「キャンセル」ボタンをタッチさせる。 Then, the smartphone 1 and the smartphone 2 allow the user of each terminal to input a confirmation result as to whether or not the pairing partner terminal is appropriate. Specifically, for example, as shown in FIG. 2C, when the pairing is appropriate and data communication is permitted, a “connection OK” button is displayed. When the pairing is inappropriate, “cancel” is displayed. Touch the button.
 スマートフォン1およびスマートフォン2において、それぞれ「接続OK」ボタンが押下される、すなわちユーザがデータ転送を許可した場合(図3のS9)、スマートフォン1およびスマートフォン2は次に、それぞれの端末のユーザに、両端末で表示する画像を選択させる(図3のS11)。なお、以降の入力操作の関係上、スマートフォン1およびスマートフォン2は図示の通り、並べて配置されていることが望ましい。 In the smart phone 1 and the smart phone 2, when the “connection OK” button is pressed, that is, when the user permits data transfer (S9 in FIG. 3), the smart phone 1 and the smart phone 2 next to the user of each terminal, Images to be displayed on both terminals are selected (S11 in FIG. 3). Note that the smartphone 1 and the smartphone 2 are desirably arranged side by side as shown in the drawing because of the subsequent input operations.
 より具体的には、例えばスマートフォン1のユーザは、スマートフォン1において所望の画像を所定時間以上タッチする(長押しタッチする)ことにより当該画像を選択する(図2の(d))。 More specifically, for example, the user of the smartphone 1 selects the image by touching the smartphone 1 with a desired image for a predetermined time or longer (long-pressing touch) ((d) in FIG. 2).
 なお、以降ではスマートフォン1において画像が選択され、スマートフォン1からスマートフォン2にデータを転送する例について説明するが、スマートフォン2において画像が選択され、スマートフォン2からスマートフォン1へとデータが転送されてもよい。この場合、スマートフォン2が以降で説明するスマートフォン1と同様の動作を行えばよい。 Hereinafter, an example in which an image is selected in the smartphone 1 and data is transferred from the smartphone 1 to the smartphone 2 will be described. However, an image may be selected in the smartphone 2 and data may be transferred from the smartphone 2 to the smartphone 1. . In this case, the smartphone 2 may perform the same operation as the smartphone 1 described below.
 スマートフォン1で画像(画像β)が選択されると、スマートフォン1およびスマートフォン2はデータ転送処理を開始する(図3のS13)。ここで、データ転送処理とは、ペアアプリにおいて実行される処理の一つであり、選択された画像βに係るデータと、画像βのデータとを、画像を保持している端末(図中ではスマートフォン1)から転送先の端末(図中ではスマートフォン2)へと送信する処理を示す。 When an image (image β) is selected on the smartphone 1, the smartphone 1 and the smartphone 2 start data transfer processing (S13 in FIG. 3). Here, the data transfer process is one of the processes executed in the pair application, and the data related to the selected image β and the data of the image β are stored in a terminal (smartphone in the figure). The process of transmitting from 1) to the transfer destination terminal (smart phone 2 in the figure) is shown.
 なお、データ転送処理では、画像βに係るデータを画像β自体より先行して送信し、その後画像β自体のデータを送信する。以降、先行して送信する選択された画像に係るデータを、「先行データ」と称する。また、選択された画像自体のデータを「実データ」と称する。なお、先行データ、実データの詳細については後述する。 In the data transfer process, data related to the image β is transmitted before the image β itself, and then the data of the image β itself is transmitted. Hereinafter, data relating to the selected image transmitted in advance is referred to as “preceding data”. The data of the selected image itself is referred to as “actual data”. Details of the preceding data and the actual data will be described later.
 スマートフォン1は、データ転送処理の開始後、少なくとも自端末に対しデータ表示の開始を示す操作(開始操作)がなされた場合、先行データを自端末とスマートフォン2とで連携して表示させる。なお、スマートフォン1は、データ転送処理が完了した後に開始操作を受付けた場合でも、まず先行データをスマートフォン2と連携して表示し、続いて実データを表示すればよい。 The smartphone 1 displays the preceding data in cooperation with the own terminal and the smartphone 2 at least when an operation (start operation) indicating the start of data display is performed on the own terminal after the start of the data transfer process. Even when the smartphone 1 receives a start operation after the data transfer process is completed, the smartphone 1 may first display the preceding data in cooperation with the smartphone 2 and then display the actual data.
 例えば、スマートフォン1は、図2の(d)にて示したようにユーザが長押しタッチを続けたまま(タッチしたまま)タッチしている指をスマートフォン1とスマートフォン2とをまたぐように滑らせ指を離した(画像βを選択しドラッグ&ドロップした)場合(図2の(e))、当該操作を開始操作と認識する。 For example, as shown in FIG. 2D, the smartphone 1 slides the finger touched while the user continues to press and hold (touched) so as to straddle the smartphone 1 and the smartphone 2. When the finger is released (the image β is selected and dragged and dropped) ((e) in FIG. 2), the operation is recognized as a start operation.
 そして、スマートフォン1は当該開始操作を受けて、画像βの先行データをスマートフォン1およびスマートフォン2の表示画面に連携して表示させる。具体的には、例えば先行データが画像βのサムネイル画像である場合、スマートフォン1はスマートフォン2と連携し、スマートフォン1およびスマートフォン2の表示画面において画像が繋がるように(連続した画像となるように)、画像βのサムネイル画像β1を表示させる(図2の(f))。 Then, the smartphone 1 receives the start operation and displays the preceding data of the image β in cooperation with the display screens of the smartphone 1 and the smartphone 2. Specifically, for example, when the preceding data is a thumbnail image of the image β, the smartphone 1 cooperates with the smartphone 2 so that the images are connected on the display screens of the smartphone 1 and the smartphone 2 (so as to be continuous images). Then, the thumbnail image β1 of the image β is displayed ((f) in FIG. 2).
 なお、より望ましくは、スマートフォン1はタッチしている指がスマートフォン1の入力面を離れたときの時間と、当該指がスマートフォン2の入力面の端部をタッチした時間とを取得しこれらの時間を参照することにより、スマートフォン1とスマートフォン2との隣接関係(スマートフォン1から見てスマートフォン2がどの方向に位置するか)を特定した上で、当該隣接関係に応じて画像βの先行データを表示することが望ましい。 More preferably, the smartphone 1 acquires the time when the touching finger leaves the input surface of the smartphone 1 and the time when the finger touches the end of the input surface of the smartphone 2 to obtain these times. By specifying the adjacent relationship between the smartphone 1 and the smartphone 2 (in which direction the smartphone 2 is positioned when viewed from the smartphone 1), the preceding data of the image β is displayed according to the adjacent relationship. It is desirable to do.
 さらに、データ転送処理が完了すると、スマートフォン1およびスマートフォン2は互いに連携して、画像βの実データβ2をスマートフォン1およびスマートフォン2の表示画面において画像が繋がるように表示させる(図2の(g))。 Furthermore, when the data transfer process is completed, the smartphone 1 and the smartphone 2 cooperate with each other to display the actual data β2 of the image β so that the images are connected on the display screens of the smartphone 1 and the smartphone 2 ((g) in FIG. 2). ).
 以上をまとめると、スマートフォン1およびスマートフォン2は互いにペアリングを行い(図2の(a)~(b))、当該ペアリングが適切か否かをユーザに確認させる(図2の(c))。その後、スマートフォン1はいずれかの端末で選択された画像のデータを他方の端末に転送する(図2の(d)~(e))。 In summary, the smartphone 1 and the smartphone 2 perform pairing with each other ((a) to (b) in FIG. 2) and allow the user to confirm whether the pairing is appropriate ((c) in FIG. 2). . Thereafter, the smartphone 1 transfers the image data selected by one of the terminals to the other terminal ((d) to (e) in FIG. 2).
 このとき、スマートフォン1(またはスマートフォン2)は、当該転送の途中から画像の先行データを連携して表示し、その後実データの転送が完了すれば実データを連携して表示することができる(図2の(f)~(g))。 At this time, the smartphone 1 (or the smartphone 2) can display the preceding data of the image in cooperation during the transfer, and can display the actual data in cooperation after the transfer of the actual data is completed (see FIG. 2 (f) to (g)).
 なお、スマートフォン1またはスマートフォン2においてペアリング処理が失敗した、すなわちペアリングが確立しなかった場合(図3のS5でNO)、スマートフォン1およびスマートフォン2はペアリングが失敗したことをユーザに通知する(図3のS17)。そして、スマートフォン1およびスマートフォン2は再度ペアリング処理を行う(図3のS3)。 In addition, when the pairing process has failed in the smartphone 1 or the smartphone 2, that is, the pairing has not been established (NO in S5 in FIG. 3), the smartphone 1 and the smartphone 2 notify the user that the pairing has failed. (S17 in FIG. 3). And the smart phone 1 and the smart phone 2 perform a pairing process again (S3 of FIG. 3).
 また、スマートフォン1およびスマートフォン2のユーザの少なくともいずれかがスマートフォン1とスマートフォン2とのデータ転送を許可しなかった場合(図3のS9)、スマートフォン1およびスマートフォン2は互いのペアリングを解除し(図3のS19)、ペアリングが失敗したことをユーザに通知する(図3のS17)とともに、再度他の端末とペアリングを試みるため、ペアリング処理を行う(図3のS3)。 Moreover, when at least one of the users of the smartphone 1 and the smartphone 2 does not permit data transfer between the smartphone 1 and the smartphone 2 (S9 in FIG. 3), the smartphone 1 and the smartphone 2 cancel each other's pairing ( 3 (S19 in FIG. 3), the user is notified that the pairing has failed (S17 in FIG. 3), and a pairing process is performed in order to try to pair with another terminal again (S3 in FIG. 3).
 ≪スマートフォン1および2の要部構成≫
 次に、本実施形態に係るスマートフォン1およびスマートフォン2の要部構成について、図1を参照して説明すれば、以下のとおりである。図1は、本実施形態に係るスマートフォン1およびスマートフォン2の要部構成を示すブロック図である。
≪Configuration of main parts of smartphones 1 and 2≫
Next, it will be as follows if the principal part structure of the smart phone 1 which concerns on this embodiment, and the smart phone 2 is demonstrated with reference to FIG. FIG. 1 is a block diagram illustrating a main configuration of the smartphone 1 and the smartphone 2 according to the present embodiment.
 まず、スマートフォン1について説明する。スマートフォン1は、制御部10、タッチパネル20、RAM30、記憶部40、および通信部50を含む。 First, the smartphone 1 will be described. The smartphone 1 includes a control unit 10, a touch panel 20, a RAM 30, a storage unit 40, and a communication unit 50.
 タッチパネル20は、ユーザのタッチ入力を受け付ける入力部21と、画像を表示する表示部22とが重畳して形成された入力および表示用パネルである。 The touch panel 20 is an input and display panel formed by superimposing an input unit 21 that receives a user's touch input and a display unit 22 that displays an image.
 通信部50は、別の端末(例えばスマートフォン2)との情報の送受信を行う通信デバイスである。 The communication unit 50 is a communication device that transmits and receives information to and from another terminal (for example, the smartphone 2).
 RAM(random-access memory)30は、スマートフォン1にて使用される各種データを一時的に記憶する記憶デバイスである。RAM30は、自端末情報31、アプリ名32、時刻33、および相手端末情報34を記憶している。 A RAM (random-access memory) 30 is a storage device that temporarily stores various data used in the smartphone 1. The RAM 30 stores own terminal information 31, application name 32, time 33, and partner terminal information 34.
 自端末情報31は、スマートフォン1に関する各種情報であり、例えばスマートフォン1を識別するための文字列および記号のうち少なくとも1つからなる情報(スマートフォン1の端末名)である。なお、自端末情報31は端末名のみに限定されず、例えばスマートフォン1における画質モードや明るさ設定などを含んでもよい。アプリ名32は、スマートフォン1が実行する、スマートフォン2との通信を確立するアプリケーションを識別するための文字列または記号からなる情報である。アプリ名32(アプリ識別情報)は、スマートフォン1が上記アプリケーションを実行したとき、変更後の端末名(変更端末名、特定識別子)に含まれる。時刻33は、スマートフォン1が上記アプリケーションを実行したときの時刻を示す数字(または数字および記号)からなる情報である。より正確に言えば、時刻33は、スマートフォン1が上記アプリケーションを実行した後の所定時間後の時刻を示す数字からなる情報である。時刻33は、アプリ名32と同様に、スマートフォン1が上記アプリケーションを実行したとき変更端末名に含まれる。相手端末情報34は、スマートフォン1とのペアリングが確立した端末(スマートフォン2)に関する各種情報であり、例えば当該端末を識別するための文字列または記号からなる情報(一例としてはスマートフォン2の端末名)である。なお、相手端末情報34は端末名のみに限定されず、例えばスマートフォン2における画質モードや明るさ設定などを含んでもよい。 The own terminal information 31 is various pieces of information related to the smartphone 1, and is information (terminal name of the smartphone 1) including at least one of a character string and a symbol for identifying the smartphone 1, for example. Note that the own terminal information 31 is not limited to the terminal name alone, and may include, for example, an image quality mode and brightness setting in the smartphone 1. The application name 32 is information including a character string or a symbol for identifying an application that is executed by the smartphone 1 and establishes communication with the smartphone 2. The application name 32 (application identification information) is included in the changed terminal name (changed terminal name, specific identifier) when the smartphone 1 executes the application. The time 33 is information including numbers (or numbers and symbols) indicating the time when the smartphone 1 executes the application. More precisely, the time 33 is information composed of numbers indicating a time after a predetermined time after the smartphone 1 executes the application. Similarly to the application name 32, the time 33 is included in the changed terminal name when the smartphone 1 executes the application. The partner terminal information 34 is various information related to the terminal (smartphone 2) that has been paired with the smartphone 1, for example, information including a character string or a symbol for identifying the terminal (for example, the terminal name of the smartphone 2) ). The partner terminal information 34 is not limited to only the terminal name, and may include, for example, an image quality mode and brightness setting in the smartphone 2.
 記憶部40は、スマートフォン1にて使用される各種データを記憶する記憶デバイスである。記憶部40は、提示情報35および画像データ41を記憶している。 The storage unit 40 is a storage device that stores various data used in the smartphone 1. The storage unit 40 stores presentation information 35 and image data 41.
 提示情報35は、スマートフォン1とスマートフォン2とのペアリングが確立したことをユーザに提示するために使用される情報である。本実施形態では提示情報35はそれぞれ異なる色を示す複数の情報(色情報)である。スマートフォン1は複数の色情報から1つを選択し、表示部22に表示される画面の背景色を選択した色情報が示す色にするとともに、当該色情報を自端末とのペアリングが確立した端末に送信する。なお、提示情報35は色情報に限定されるものではない。例えば、同じ模様やそれぞれ異なるパターンの音やアニメーションを示す複数の情報であってもよい。 The presentation information 35 is information used to present to the user that the pairing between the smartphone 1 and the smartphone 2 has been established. In the present embodiment, the presentation information 35 is a plurality of pieces of information (color information) indicating different colors. The smartphone 1 selects one of the plurality of color information, sets the background color of the screen displayed on the display unit 22 to the color indicated by the selected color information, and establishes pairing with the terminal itself. Send to the terminal. The presentation information 35 is not limited to color information. For example, it may be a plurality of pieces of information indicating sounds or animations of the same pattern or different patterns.
 画像データ41は、スマートフォン1にて表示可能な画像(例えば写真など)に関する情報である。またスマートフォン1とスマートフォン2とのペアリングが確立している場合、スマートフォン1およびスマートフォン2は、画像データ41が示す画像を2つのスマートフォンにわたって表示することができる。画像データ41は、先行データ411および実データ412を含む。先行データ411は、画像データ41をスマートフォン1からスマートフォン2に送信する場合に、実データ412の前に送信される、実データ412に比べてサイズの小さいデータであり、例えば画像データ41のサムネイル画像である。実データ412は、画像データ41の実際の画像である。 The image data 41 is information related to images (for example, photographs) that can be displayed on the smartphone 1. Moreover, when the pairing with the smart phone 1 and the smart phone 2 is established, the smart phone 1 and the smart phone 2 can display the image which the image data 41 shows over two smart phones. The image data 41 includes preceding data 411 and actual data 412. The preceding data 411 is data that is transmitted before the actual data 412 and smaller in size than the actual data 412 when the image data 41 is transmitted from the smartphone 1 to the smartphone 2. For example, the thumbnail data of the image data 41 It is. The actual data 412 is an actual image of the image data 41.
 制御部10は、スマートフォン1が備える各部を統括制御するものである。制御部10は、タッチ取得部11、アプリ実行部12、表示制御部14、および通信制御部15を含む。 The control unit 10 performs overall control of each unit included in the smartphone 1. The control unit 10 includes a touch acquisition unit 11, an application execution unit 12, a display control unit 14, and a communication control unit 15.
 タッチ取得部11は、入力部21からタッチを示す電気信号を取得し、当該タッチのタッチ座標を算出するものである。なお本発明において「タッチ座標」は、入力部21の入力面におけるタッチ座標(当該タッチパネルの検出解像度における座標)を、表示部22の表示面における座標表示面上で、縦横何画素目をタッチしたか)を示す値に変換したものを示す。タッチ取得部11は算出したタッチ座標をアプリ実行部12またはデータ転送制御部13に供給する。また、タッチ取得部11は、タッチ座標を時系列で保持することができる。そして、一定時間にわたって連続で入力されたタッチ操作(ドラッグ操作や長押し操作など)の軌跡としてのタッチ情報をアプリ実行部12またはデータ転送制御部13に供給する。 The touch acquisition unit 11 acquires an electrical signal indicating a touch from the input unit 21 and calculates touch coordinates of the touch. In the present invention, “touch coordinates” refers to the touch coordinates (coordinates at the detection resolution of the touch panel) on the input surface of the input unit 21 on the coordinate display surface on the display surface of the display unit 22 in the vertical and horizontal pixels. It is converted into a value indicating The touch acquisition unit 11 supplies the calculated touch coordinates to the application execution unit 12 or the data transfer control unit 13. Further, the touch acquisition unit 11 can hold the touch coordinates in time series. Then, touch information as a locus of a touch operation (such as a drag operation or a long press operation) continuously input over a certain period of time is supplied to the application execution unit 12 or the data transfer control unit 13.
 アプリ実行部12は、スマートフォン1において各種アプリケーションを実行するものである。具体的には、アプリ実行部12は、タッチ取得部11や通信制御部15から供給された各種情報に応じて処理を実行する。一例としては、供給された各種情報に応じた画面を表示するよう、表示制御部14に指示する。本実施形態では、アプリ実行部12は、ペアアプリを実行する例を説明するが、アプリ実行部12が実行するアプリケーションはこの例に限定されるものではない。アプリ実行部12は、ペアリング制御部121、時刻取得部122、デバイス名変更部123(識別子変更部)、提示情報決定部124、提示情報調整部125、先行データ送受信部131、および実データ送受信部132を含む。 The application execution unit 12 executes various applications on the smartphone 1. Specifically, the application execution unit 12 executes processing according to various information supplied from the touch acquisition unit 11 or the communication control unit 15. As an example, the display control unit 14 is instructed to display a screen corresponding to various types of supplied information. In the present embodiment, the application execution unit 12 describes an example of executing a pair application, but the application executed by the application execution unit 12 is not limited to this example. The application execution unit 12 includes a pairing control unit 121, a time acquisition unit 122, a device name change unit 123 (identifier change unit), a presentation information determination unit 124, a presentation information adjustment unit 125, a preceding data transmission / reception unit 131, and actual data transmission / reception. Part 132.
 ペアリング制御部121は、スマートフォン1とスマートフォン2とのペアリングを制御するものである。具体的には、ペアリング制御部121は、タッチ取得部11から供給されたタッチ座標に応じて、通信制御部15に他の端末とのペアリングを開始するよう指示する(Bluetoothの設定を有効にするよう指示する)。またペアリング制御部121は、供給されたタッチ座標に応じて、通信制御部15に他の端末とのペアリングを終了するよう指示する(Bluetoothの設定を無効にするよう指示する)。 The pairing control unit 121 controls pairing between the smartphone 1 and the smartphone 2. Specifically, the pairing control unit 121 instructs the communication control unit 15 to start pairing with another terminal according to the touch coordinates supplied from the touch acquisition unit 11 (enable the Bluetooth setting). To instruct). Further, the pairing control unit 121 instructs the communication control unit 15 to end pairing with another terminal according to the supplied touch coordinates (instructs to invalidate the Bluetooth setting).
 時刻取得部122は、アプリケーションが実行された(開始された)後の所定時間後の時刻を取得するものである。時刻取得部122は、取得した時刻をデバイス名変更部123に供給する。 The time acquisition unit 122 acquires a time after a predetermined time after the application is executed (started). The time acquisition unit 122 supplies the acquired time to the device name change unit 123.
 デバイス名変更部123は、スマートフォン1のデバイス名(端末名)を変更するものである。デバイス名変更部123は、時刻取得部122から時刻を取得すると、実行しているアプリケーションのアプリ名(例えば「ペアアプリ」)を取得した時刻とともにRAM30に記憶する。また、デバイス名変更部123は、端末名を「<アプリ名>_<取得した時刻>」に変更し、通信制御部15に供給する。 The device name changing unit 123 changes the device name (terminal name) of the smartphone 1. When the device name changing unit 123 obtains the time from the time obtaining unit 122, the device name changing unit 123 stores the application name (eg, “pair application”) of the application being executed in the RAM 30 together with the obtained time. Further, the device name changing unit 123 changes the terminal name to “<application name> _ <acquired time>” and supplies it to the communication control unit 15.
 提示情報決定部124は、スマートフォン1とスマートフォン2とのペアリングが確立したときに、ユーザに提示する提示情報を決定するものである。具体的には、提示情報決定部124は、複数の色情報から1つを選択し、選択した色情報を提示情報調整部125に供給する。 The presentation information determination unit 124 determines the presentation information to be presented to the user when the pairing between the smartphone 1 and the smartphone 2 is established. Specifically, the presentation information determination unit 124 selects one from a plurality of color information, and supplies the selected color information to the presentation information adjustment unit 125.
 提示情報調整部125は、提示情報決定部124にて決定された提示情報(色情報)を調整するものである。具体的には、提示情報調整部125は、相手端末情報34に含まれる画質モードや明るさの設定などの画面表示設定に係る情報に応じて、自端末にて画面の背景色を選択された色情報が示す色としたときの見た目と、スマートフォン2にて選択された色情報が示す色としたときの見た目とが同じになるように、色情報を調整する。そして、調整した色情報を通信制御部15に供給する。なお、提示情報調整部125は、自端末における画面の背景色としての選択された色情報を調整してもよい。この場合、提示情報調整部125は、調整後の色情報を、相手端末情報34に含まれる画質モードや明るさの設定などの情報に応じてさらに調整し、さらに調整した色情報を通信制御部15に供給してもよい。 The presentation information adjustment unit 125 adjusts the presentation information (color information) determined by the presentation information determination unit 124. Specifically, the presentation information adjustment unit 125 has selected the background color of the screen on its own terminal in accordance with the information related to the screen display settings such as the image quality mode and brightness setting included in the counterpart terminal information 34 The color information is adjusted so that the appearance of the color indicated by the color information is the same as the appearance of the color indicated by the color information selected by the smartphone 2. Then, the adjusted color information is supplied to the communication control unit 15. Note that the presentation information adjustment unit 125 may adjust the selected color information as the background color of the screen in the terminal itself. In this case, the presentation information adjustment unit 125 further adjusts the adjusted color information according to information such as the image quality mode and the brightness setting included in the counterpart terminal information 34, and the further adjusted color information is transmitted to the communication control unit. 15 may be supplied.
 先行データ送受信部131は、スマートフォン2に先行データ411を送信したり、スマートフォン2から先行データ411を受信したりするものである。具体的には、先行データ送受信部131は、タッチ取得部11から特定のタッチ座標(例えば、長押し操作を示すタッチ座標)を供給されると、記憶部40から先行データ411を読み出し、通信制御部15に供給する。また先行データ送受信部131は、先行データ411の送信が完了すると、その旨を実データ送受信部132に通知する。さらに、先行データ送受信部131は、スマートフォン2から送信された先行データ411を、通信部50および通信制御部15を介して取得し、当該先行データ411を表示制御部14(詳細には、先行データ表示制御部141)に供給する。 The preceding data transmission / reception unit 131 transmits the preceding data 411 to the smartphone 2 and receives the preceding data 411 from the smartphone 2. Specifically, when a specific touch coordinate (for example, a touch coordinate indicating a long press operation) is supplied from the touch acquisition unit 11, the previous data transmission / reception unit 131 reads the previous data 411 from the storage unit 40 and performs communication control. To the unit 15. Further, when the transmission of the preceding data 411 is completed, the preceding data transmitting / receiving unit 131 notifies the actual data transmitting / receiving unit 132 to that effect. Furthermore, the preceding data transmission / reception unit 131 acquires the preceding data 411 transmitted from the smartphone 2 via the communication unit 50 and the communication control unit 15, and obtains the preceding data 411 from the display control unit 14 (specifically, the preceding data To display control unit 141).
 実データ送受信部132は、スマートフォン2に実データ412を送信したり、スマートフォン2から実データ412を受信したりするものである。具体的には、実データ送受信部132は、先行データ送受信部131から先行データ411の送信が完了したことを通知されると、記憶部40から実データ412を読み出し、通信制御部15に供給する。また、実データ送受信部132は、スマートフォン2から送信された実データ412を、通信部50および通信制御部15を介して取得し、当該実データ412を表示制御部14に供給する。 The actual data transmitting / receiving unit 132 transmits actual data 412 to the smartphone 2 and receives actual data 412 from the smartphone 2. Specifically, when notified from the preceding data transmitting / receiving unit 131 that the transmission of the preceding data 411 is completed, the actual data transmitting / receiving unit 132 reads the actual data 412 from the storage unit 40 and supplies it to the communication control unit 15. . Further, the actual data transmission / reception unit 132 acquires the actual data 412 transmitted from the smartphone 2 via the communication unit 50 and the communication control unit 15 and supplies the actual data 412 to the display control unit 14.
 表示制御部14は、表示部22に画面(画像)を表示させるものである。表示制御部14は例えば、アプリ実行部12からの指示に応じて画面を生成し、表示部22に表示させる。表示制御部14は、先行データ表示制御部141および提示情報表示制御部142を含む。 The display control unit 14 displays a screen (image) on the display unit 22. For example, the display control unit 14 generates a screen in response to an instruction from the application execution unit 12 and causes the display unit 22 to display the screen. The display control unit 14 includes a preceding data display control unit 141 and a presentation information display control unit 142.
 先行データ表示制御部141は、先行データ411に応じた画像を表示部22に表示させるものである。具体的には、先行データ表示制御部141は、アプリ実行部12から先行データ411(詳細には、スマートフォン2から送信された先行データ411)を供給されると、表示部22に当該先行データ411に応じた画像を表示させる。 The preceding data display control unit 141 displays an image corresponding to the preceding data 411 on the display unit 22. Specifically, when the preceding data display control unit 141 is supplied with the preceding data 411 (specifically, the preceding data 411 transmitted from the smartphone 2) from the application executing unit 12, the preceding data 411 is displayed on the display unit 22. The image corresponding to is displayed.
 提示情報表示制御部142は、決定された提示情報(色情報)が示す色を背景色とする画面を表示部22に表示させるものである。具体的には、提示情報表示制御部142は、提示情報決定部124が決定した色情報(または、スマートフォン2から送信された色情報)を供給されると、当該色情報に応じた背景色の画面を生成し、表示部22に表示させる。 The presentation information display control unit 142 causes the display unit 22 to display a screen whose background color is the color indicated by the determined presentation information (color information). Specifically, when the presentation information display control unit 142 is supplied with the color information determined by the presentation information determination unit 124 (or the color information transmitted from the smartphone 2), the presentation information display control unit 142 displays the background color corresponding to the color information. A screen is generated and displayed on the display unit 22.
 通信制御部15は、通信部50を介した通信を制御するものである。通信制御部15は、スマートフォン1の各部から供給された情報を、通信部50を介してスマートフォン2に送信する。本実施形態では上述したように、Bluetoothによる通信を実行することにより、スマートフォン2に送信する。通信制御部15は、相手端末特定部151(端末特定部、要求端末識別子特定部)およびペアリング設定部152(通信確立部、受諾側通信確立部)を含む。 The communication control unit 15 controls communication via the communication unit 50. The communication control unit 15 transmits information supplied from each unit of the smartphone 1 to the smartphone 2 via the communication unit 50. In the present embodiment, as described above, transmission is performed to the smartphone 2 by executing communication using Bluetooth. The communication control unit 15 includes a counterpart terminal specifying unit 151 (terminal specifying unit, requesting terminal identifier specifying unit) and a pairing setting unit 152 (communication establishing unit, accepting side communication establishing unit).
 相手端末特定部151は、スマートフォン1とのペアリングを確立する端末を特定するものである。具体的には、相手端末特定部151は、デバイス名変更部123から供給された変更端末名を参照して、スマートフォン1との通信可能範囲に存在する端末のうち、端末名に、自端末の変更端末名と同じアプリ名を含む端末を特定する。そして、特定した端末の端末名(変更端末名)に含まれる時刻を参照して、所定の条件を満たす端末(対応識別子を有する端末)を1つ特定する。相手端末特定部151は、特定した端末の端末名をペアリング設定部152に供給する。 The counterpart terminal identification unit 151 identifies a terminal that establishes pairing with the smartphone 1. Specifically, the counterpart terminal specifying unit 151 refers to the changed terminal name supplied from the device name changing unit 123, and among the terminals existing in the communicable range with the smartphone 1, the terminal name Identify a device that has the same app name as the changed device name. Then, by referring to the time included in the terminal name (changed terminal name) of the specified terminal, one terminal (terminal having a corresponding identifier) that satisfies a predetermined condition is specified. The counterpart terminal specifying unit 151 supplies the terminal name of the specified terminal to the pairing setting unit 152.
 ペアリング設定部152は、相手端末特定部151が特定した端末をスマートフォン1とのペアリングを確立する端末として設定するものである。具体的には、ペアリング設定部152は、相手端末特定部151が特定した端末に対して、ペアリングを確立するためのペアリング要求(通信確立要求)を送信する。そして、ペアリング要求の応答としてペアリング許可を受信すると、ペアリング許可とともに受信した相手端末情報34をRAM30に記憶する。また、ペアリング許可を受信した旨をアプリ実行部12に通知する。さらに、ペアリング設定部152は、通信制御部15がペアリング要求を受信したことを通知されると、ペアリング要求を送信した端末に対して、ペアリング許可を送信する。 The pairing setting unit 152 sets the terminal specified by the counterpart terminal specifying unit 151 as a terminal that establishes pairing with the smartphone 1. Specifically, the pairing setting unit 152 transmits a pairing request (communication establishment request) for establishing pairing to the terminal specified by the counterpart terminal specifying unit 151. When the pairing permission is received as a response to the pairing request, the partner terminal information 34 received together with the pairing permission is stored in the RAM 30. Further, the application execution unit 12 is notified that the pairing permission has been received. Furthermore, when notified that the communication control unit 15 has received the pairing request, the pairing setting unit 152 transmits a pairing permission to the terminal that has transmitted the pairing request.
 次に、スマートフォン2について説明する。スマートフォン2は、通信部70、制御部80、タッチパネル90、RAM100、および記憶部110を含む。スマートフォン2の各部は、スマートフォン1における同一の部材名を有する部材と、その機能が同様であるため、ここでの説明を省略する。すなわち、本実施形態におけるスマートフォン1およびスマートフォン2は同一の機能を有する2つのスマートフォンである。そのため、スマートフォン2がスマートフォン1を、ペアリングを確立する端末(相手端末)として特定してもよいし、スマートフォン2からスマートフォン1に対して画像データ(先行データ411および実データ412)を送信してもよい。なお、スマートフォン1とスマートフォン2とが同一の機能を有するとしたのは一例であり、スマートフォン1とスマートフォン2とが異なる機能を有していてもよい。 Next, the smartphone 2 will be described. The smartphone 2 includes a communication unit 70, a control unit 80, a touch panel 90, a RAM 100, and a storage unit 110. Since each part of the smartphone 2 has the same function as the member having the same member name in the smartphone 1, the description thereof is omitted here. That is, the smartphone 1 and the smartphone 2 in the present embodiment are two smartphones having the same function. Therefore, the smartphone 2 may specify the smartphone 1 as a terminal (a partner terminal) for establishing pairing, or image data (preceding data 411 and actual data 412) is transmitted from the smartphone 2 to the smartphone 1. Also good. Note that the smartphone 1 and the smartphone 2 have the same function as an example, and the smartphone 1 and the smartphone 2 may have different functions.
 <<ペアリング処理の詳細>>
 次に、本発明の特徴点であるペアリング処理について、図4~図6を参照して説明する。図4は、スマートフォン1およびスマートフォン2が実行するペアリング処理の概要を示す図である。図5は、スマートフォン1およびスマートフォン2が実行するペアリング処理の流れの一例を示すフローチャートである。図6は、図5における「A」以降の処理の流れの一例を示すフローチャートである。なお、以下の説明では、スマートフォン1がペアリング要求をスマートフォン2に送信し、スマートフォン2が応答としてペアリング許可をスマートフォン1に送信することで、スマートフォン1とスマートフォン2とのペアリングが確立する例を説明する。換言すれば、スマートフォン1がペアリングにおけるホスト端末(親端末)であり、スマートフォン2がペアリングにおけるクライアント端末(子端末)であるとも表現できる。なお、スマートフォン2がホスト端末となり、スマートフォン1がクライアント端末となってもよい。
<< Details of pairing process >>
Next, the pairing process, which is a feature of the present invention, will be described with reference to FIGS. FIG. 4 is a diagram illustrating an overview of the pairing process executed by the smartphone 1 and the smartphone 2. FIG. 5 is a flowchart illustrating an example of a pairing process performed by the smartphone 1 and the smartphone 2. FIG. 6 is a flowchart illustrating an example of a flow of processing after “A” in FIG. 5. In addition, in the following description, the smart phone 1 transmits a pairing request to the smart phone 2, and the smart phone 2 transmits pairing permission to the smart phone 1 as a response, so that pairing between the smart phone 1 and the smart phone 2 is established. Will be explained. In other words, it can also be expressed that the smartphone 1 is a host terminal (parent terminal) in pairing and the smartphone 2 is a client terminal (child terminal) in pairing. The smartphone 2 may be a host terminal and the smartphone 1 may be a client terminal.
 図4の(a)に示すように、ペアアプリが実行される前のスマートフォン1の端末名は、「A0001」である。ここで、図4の(b)に示すように、ペアアプリのアイコンが表示されている位置へのタッチ操作によって、タッチ取得部11からアプリ実行部12へ、当該タッチ操作のタッチ座標が供給されると、アプリ実行部12はペアアプリを実行し、ペアアプリの実行をペアリング制御部121に通知する。ペアリング制御部121は、当該通知を受けて、通信制御部15に他の端末とのペアリングを開始するよう指示する(Bluetoothの設定を有効にするよう指示する)。そして通信制御部15は、他の端末とのペアリングを開始するために、スマートフォン1におけるBluetoothの設定を有効にする(図5のS31)。通信制御部15は、当該設定を有効にした旨を、時刻取得部122に通知する。 4A, the terminal name of the smartphone 1 before the pair application is executed is “A0001”. Here, as illustrated in FIG. 4B, the touch coordinates of the touch operation are supplied from the touch acquisition unit 11 to the application execution unit 12 by the touch operation on the position where the icon of the pair application is displayed. Then, the application execution unit 12 executes the pair application and notifies the pairing control unit 121 of the execution of the pair application. Upon receiving the notification, the pairing control unit 121 instructs the communication control unit 15 to start pairing with another terminal (instructs to enable the Bluetooth setting). And the communication control part 15 validates the setting of Bluetooth in the smart phone 1 in order to start pairing with another terminal (S31 of FIG. 5). The communication control unit 15 notifies the time acquisition unit 122 that the setting has been validated.
 時刻取得部122は、通信制御部15からの通知を受けると、現在時刻を取得する(図5のS33)。この現在時刻はすなわち、ペアアプリが起動した後の所定時間後の時刻である。そして取得した時刻をデバイス名変更部123に供給する。デバイス名変更部123は、時刻取得部122から時刻を供給されると、端末名を「<アプリ名>_<取得した時刻>」に変更する(図5のS35、識別子変更ステップ)。具体的には、デバイス名変更部123は、実行しているアプリケーションのアプリ名(例えば「ペアアプリ」)を供給された時刻とともにRAM30に記憶する。そして、デバイス名変更部123は、図4の(c)に示すように、スマートフォン1の端末名を「ペアアプリ_2014092112004820」に変更する。上述したように変更後の端末名(変更端末名)の前半部分は、Bluetoothの設定を有効にするために実行したアプリケーションの名前である。また後半部分は、ペアアプリが起動した後の所定時間後の時刻(時刻取得部122が取得した時刻)である。なお、図4の(c)に示す時刻は年、月、日、時間、分、秒、ミリ秒が含まれているが、これに限定されるものではない。例えば、月および日を含まず、時間からミリ秒までを含むものであってもよい。またデバイス名変更部123は、変更端末名を通信制御部15に供給する。 When receiving the notification from the communication control unit 15, the time acquisition unit 122 acquires the current time (S33 in FIG. 5). That is, the current time is a time after a predetermined time after the pair application is activated. The acquired time is supplied to the device name changing unit 123. When the time is supplied from the time acquisition unit 122, the device name change unit 123 changes the terminal name to “<application name> _ <acquired time>” (S35 in FIG. 5, identifier change step). Specifically, the device name changing unit 123 stores the application name of the application being executed (for example, “pair application”) in the RAM 30 together with the supplied time. Then, the device name changing unit 123 changes the terminal name of the smartphone 1 to “pair application_2014092112004820” as illustrated in FIG. As described above, the first half of the changed terminal name (changed terminal name) is the name of the application executed to validate the Bluetooth setting. The second half is a time after the predetermined time after the pair application is activated (the time acquired by the time acquisition unit 122). The time shown in FIG. 4C includes year, month, day, hour, minute, second, and millisecond, but is not limited to this. For example, it may include from the time to milliseconds without including the month and day. The device name changing unit 123 supplies the changed terminal name to the communication control unit 15.
 続いてスマートフォン1は、他の端末とのペアリングを確立するための処理を実行する。具体的には、変更端末名を供給された相手端末特定部151は、<アプリ名>を有する端末のサーチを開始する(図5のS37)。図4の例でいえば、通信可能範囲(スマートフォン1におけるBluetoothの通信可能範囲)にある端末のうち、「ペアアプリ」の文字列を端末名に有する端末を特定する。 Subsequently, the smartphone 1 executes processing for establishing pairing with another terminal. Specifically, the partner terminal identification unit 151 supplied with the changed terminal name starts searching for a terminal having <application name> (S37 in FIG. 5). In the example of FIG. 4, among the terminals in the communicable range (the Bluetooth communicable range in the smartphone 1), the terminal having the character string “pair application” in the terminal name is specified.
 上述した処理は、ユーザがスマートフォン1とペアリングを確立しようとしている端末であるスマートフォン2でも実行される。すなわち、スマートフォン2においても上述したステップS31からステップS37までの処理が実行される。より具体的には、スマートフォン2においてもペアアプリの実行によって端末名が「<アプリ名>_<取得した時刻>」(例えば図4の(d)に示す「ペアアプリ_2014092212010548」)に変更される。そしてスマートフォン2(詳細には、スマートフォン2の相手端末特定部151)は、スマートフォン2におけるBluetoothの通信可能範囲にある端末のうち、「ペアアプリ」の文字列を端末名に有する端末を特定する。 The processing described above is also executed on the smartphone 2 which is a terminal for which the user is trying to establish pairing with the smartphone 1. That is, the above-described processing from step S31 to step S37 is also executed on the smartphone 2. More specifically, in the smartphone 2, the terminal name is changed to “<application name> _ <acquired time>” (for example, “pair application_2014092212010548” shown in FIG. 4D) by executing the pair application. Then, the smartphone 2 (specifically, the partner terminal specifying unit 151 of the smartphone 2) specifies a terminal having the character string “pair application” in the terminal name among terminals in the Bluetooth communicable range of the smartphone 2.
 続いて、図5のステップS39の処理の詳細については後述し、ステップS41の処理以降を説明する。スマートフォン1の相手端末特定部151は、<アプリ名>を有する端末が見つかった場合(図5のS41でYES)、見つかった端末それぞれについて、端末名に含まれる時刻を参照する。そして、当該時刻が自端末の端末名に含まれる時刻より新しいか否かを判定する(図5のS43)。自端末の端末名に含まれる時刻より新しい端末がある場合(図5のS43でYES)、続いて相手端末特定部151は、当該端末の端末名に含まれる時刻が、閾値の範囲内であるか否かを判定する(図5のS45)。ここで閾値とは、スマートフォン1の端末名に含まれる時刻と見つかった端末(例えばスマートフォン2)の端末名に含まれる時刻との差を示す数値である。この数値は、今から自端末とのペアリングを確立するために、相手の端末がペアアプリを実行したと判定できるような数値であればよい。具体的な閾値の数値は例えば、0~1分というように範囲を指定するものであってもよいし、40秒というように範囲の上限を指定するものであってもよい。 Subsequently, details of the processing in step S39 in FIG. 5 will be described later, and the processing after step S41 will be described. When the terminal having <application name> is found (YES in S41 in FIG. 5), the counterpart terminal specifying unit 151 of the smartphone 1 refers to the time included in the terminal name for each found terminal. Then, it is determined whether or not the time is newer than the time included in the terminal name of the terminal (S43 in FIG. 5). If there is a terminal that is newer than the time included in the terminal name of the terminal itself (YES in S43 in FIG. 5), then the partner terminal specifying unit 151 has the time included in the terminal name of the terminal within the threshold range. Is determined (S45 in FIG. 5). Here, the threshold is a numerical value indicating a difference between the time included in the terminal name of the smartphone 1 and the time included in the terminal name of the found terminal (for example, the smartphone 2). This numerical value may be a numerical value that can be determined that the partner terminal has executed the pair application in order to establish pairing with the terminal from now on. For example, a specific threshold value may be a range that specifies 0 to 1 minute, for example, or an upper limit of the range such as 40 seconds.
 閾値の範囲内である端末がある場合(図5のS45でYES)、相手端末特定部151は、当該端末のうち、自端末の端末名に含まれる時刻に最も近い時刻を端末名に含む端末を特定する(図5のS47、端末特定ステップ)。これにより、スマートフォン1とペアリングを確立する端末が1つに決まる。例えば図4の(d)に示すように、スマートフォン1とペアリングを確立する端末がスマートフォン2に決まる。 When there is a terminal within the threshold range (YES in S45 of FIG. 5), the counterpart terminal specifying unit 151 includes a terminal that includes the time closest to the time included in the terminal name of the terminal in the terminal name. (S47 in FIG. 5, terminal specifying step). Thereby, the terminal which establishes pairing with the smart phone 1 is decided to be one. For example, as illustrated in FIG. 4D, the terminal that establishes pairing with the smartphone 1 is determined as the smartphone 2.
 スマートフォン1の相手端末特定部151は、特定した端末の端末名をペアリング設定部152に供給する。ペアリング設定部152は、供給された端末名が示す端末に、ペアリングを確立するためのペアリング要求を送信する(図5のS49、通信確立ステップ)。なおこのとき、ペアリング設定部152は、スマートフォン1の端末名(変更端末名)、およびスマートフォン1における画質モードや明るさの設定などをスマートフォン2に送信してもよい。 The partner terminal identification unit 151 of the smartphone 1 supplies the terminal name of the identified terminal to the pairing setting unit 152. The pairing setting unit 152 transmits a pairing request for establishing pairing to the terminal indicated by the supplied terminal name (S49 in FIG. 5, communication establishment step). At this time, the pairing setting unit 152 may transmit to the smartphone 2 the terminal name (changed terminal name) of the smartphone 1 and the image quality mode and brightness settings of the smartphone 1.
 続いて、スマートフォン2におけるステップS37以降の処理の流れについて説明する。なお、スマートフォン1はステップS49の処理を実行し、スマートフォン2に対してペアリング要求を送信したものとする。 Subsequently, the flow of processing after step S37 in the smartphone 2 will be described. In addition, the smart phone 1 shall perform the process of step S49 and shall transmit the pairing request | requirement with respect to the smart phone 2. FIG.
 スマートフォン2の通信制御部15は、別の端末(この例ではスマートフォン1)からペアリング要求を受信すると(図5のステップS39でYES)、その旨を相手端末特定部151ペアリング設定部152に通知する。相手端末特定部151は、当該通知を受けると、<アプリ名>を有する端末のサーチをキャンセルする(図6のステップS61)。なお、図5および図6では、スマートフォン2が<アプリ名>を有する端末のサーチを実行している時点で、スマートフォン1からのペアリング要求を受信した例を説明している。この例は一例であり、スマートフォン2がペアリング要求を受信して、実行している処理をキャンセルするタイミングはこの例に限定されない。つまり、スマートフォン2の相手端末特定部151は、ペアリング要求を受信しない限り(図5のステップS39でNO)ペアリング処理を継続する(図5のステップS41以降の処理を実行する)。そして、ステップS41からステップS45までの処理を実行している間にペアリング要求を受信した場合、その時点で行っている処理をキャンセルする。 When the communication control unit 15 of the smartphone 2 receives a pairing request from another terminal (in this example, the smartphone 1) (YES in step S39 in FIG. 5), the communication control unit 15 notifies the partner terminal identification unit 151 pairing setting unit 152 to that effect. Notice. Upon receiving the notification, partner terminal specifying unit 151 cancels the search for the terminal having <application name> (step S61 in FIG. 6). 5 and 6 illustrate an example of receiving a pairing request from the smartphone 1 when the smartphone 2 is searching for a terminal having <application name>. This example is an example, and the timing at which the smartphone 2 receives the pairing request and cancels the process being executed is not limited to this example. That is, unless the pairing request is received (NO in step S39 in FIG. 5), the counterpart terminal specifying unit 151 of the smartphone 2 continues the pairing process (executes the processes after step S41 in FIG. 5). If a pairing request is received while the processing from step S41 to step S45 is being executed, the processing being performed at that time is cancelled.
 続いて、スマートフォン2のペアリング設定部152は、ペアリング要求を送信した端末(この例ではスマートフォン1)にペアリング許可および自端末の情報を送信する(S63)。ここで自端末の情報とは、スマートフォン2の端末名、およびスマートフォン2における画質モードや明るさ設定などの情報である。 Subsequently, the pairing setting unit 152 of the smartphone 2 transmits the pairing permission and the information of the terminal itself to the terminal that transmitted the pairing request (smartphone 1 in this example) (S63). Here, the information of the own terminal is information such as the terminal name of the smartphone 2 and the image quality mode and brightness setting in the smartphone 2.
 なお、スマートフォン2の相手端末特定部151は、ペアリング要求を受信した場合、ペアリング要求を送信した端末の端末名(変更端末名)を特定し、当該変更端末名を有する端末(この例ではスマートフォン1)が、ペアリングを確立する端末の条件を満たしているかを判定してもよい。すなわち、スマートフォン2の相手端末特定部151は、ペアリング要求を送信した端末の変更端末名が、自端末の変更端末名と同じアプリ名を含んでいるか、自端末の変更端末名に含まれる時刻情報が示す時刻より古い時刻を示す時刻情報を含んでいるか、ペアリング要求を送信した端末の変更端末名に含まれる時刻情報が示す時刻が閾値の範囲内であるか、を判定する。そして、これらの条件を満たす端末であると判定した場合にペアリング許可を送信する。 In addition, when receiving the pairing request, the counterpart terminal specifying unit 151 of the smartphone 2 specifies the terminal name (changed terminal name) of the terminal that has transmitted the pairing request, and the terminal having the changed terminal name (in this example, It may be determined whether the smartphone 1) satisfies the conditions of the terminal for establishing pairing. That is, the partner terminal specifying unit 151 of the smartphone 2 includes the change terminal name of the terminal that has transmitted the pairing request, including the same application name as the change terminal name of the own terminal, or the time included in the change terminal name of the own terminal. It is determined whether time information indicating a time older than the time indicated by the information is included, or whether the time indicated by the time information included in the changed terminal name of the terminal that has transmitted the pairing request is within a threshold range. When it is determined that the terminal satisfies these conditions, a pairing permission is transmitted.
 そして、スマートフォン1の通信制御部 15がスマートフォン2から送信されたペアリング許可を受信すると、ペアリング設定部152は、スマートフォン1とスマートフォン2とのペアリングを確立する。スマートフォン1およびスマートフォン2は、受信した相手端末の情報を相手端末情報34として自端末のRAM30にそれぞれ格納する。 Then, when the communication control unit 15 of the smartphone 1 receives the pairing permission transmitted from the smartphone 2, the pairing setting unit 152 establishes pairing between the smartphone 1 and the smartphone 2. The smartphone 1 and the smartphone 2 store the received partner terminal information as partner terminal information 34 in the RAM 30 of the terminal itself.
 これに対して、<アプリ名>を有する端末が見つからない場合(図5のS41でNO)、見つかった端末の端末名に含まれる時刻が、いずれも自端末の端末名に含まれる時刻より古い場合(図5のS43でNO)、または、端末名に含まれる時刻が、いずれも閾値の範囲外である場合(図5のS45でNO)、相手端末特定部151は、ペアリング処理をキャンセルし、ペアリング失敗をユーザに通知する(S51)。例えば、図4の(e)に示すように、スマートフォン1におけるBluetoothの通信可能範囲にある端末が、ペアアプリを実行していない(端末名が変更されていない)スマートフォン2のみである場合、スマートフォン1は、表示部22にペアリングを確立する相手端末が見つからないことを表示する。より具体的には、スマートフォン1における相手端末特定部151は、ペアリングを確立する相手端末が見つからないことをアプリ実行部12に通知する。アプリ実行部12は当該通知を受けると、表示制御部14に、相手端末が見つからないことを示す画像を表示するよう指示する。表示制御部14は、当該指示を受けると、相手端末が見つからないことを示す画像(例えば、図4の(e)に示す画像)を表示部22に表示させる。なお、ペアリング失敗のユーザへの通知は、画像の表示に限定されず、音声による通知やバイブレーションによる通知であってもよい。 On the other hand, when a terminal having <application name> is not found (NO in S41 of FIG. 5), the time included in the terminal name of the found terminal is older than the time included in the terminal name of the own terminal. In the case (NO in S43 of FIG. 5) or when the time included in the terminal name is outside the threshold range (NO in S45 of FIG. 5), the counterpart terminal specifying unit 151 cancels the pairing process Then, the pairing failure is notified to the user (S51). For example, as illustrated in (e) of FIG. 4, when the terminal in the Bluetooth communicable range in the smartphone 1 is only the smartphone 2 that does not execute the pair application (the terminal name is not changed), the smartphone 1 Displays on the display unit 22 that a partner terminal with which to establish pairing is not found. More specifically, the counterpart terminal specifying unit 151 in the smartphone 1 notifies the application executing unit 12 that a counterpart terminal for establishing pairing is not found. Upon receiving the notification, the application execution unit 12 instructs the display control unit 14 to display an image indicating that the partner terminal is not found. Upon receiving the instruction, the display control unit 14 causes the display unit 22 to display an image indicating that the counterpart terminal cannot be found (for example, the image shown in FIG. 4E). Note that the notification to the user of the pairing failure is not limited to the display of the image, and may be a notification by voice or a notification by vibration.
 〔実施形態2〕
 本発明の他の実施形態について、図7から図9に基づいて説明すれば、以下のとおりである。図7は、本実施形態に係るスマートフォン1およびスマートフォン2が実行する処理の概要を示す図である。また、図8は、本実施形態に係るスマートフォン1およびスマートフォン2におけるペアリング処理の流れの一例を示す図である。また、図9は、図8における「B」の処理の流れの一例を示すフローチャートである。なお、説明の便宜上、前記実施形態にて説明した部材と同じ機能を有する部材については、同じ符号を付記し、その説明を省略する。
[Embodiment 2]
The following will describe another embodiment of the present invention with reference to FIGS. FIG. 7 is a diagram illustrating an outline of processing executed by the smartphone 1 and the smartphone 2 according to the present embodiment. Moreover, FIG. 8 is a figure which shows an example of the flow of the pairing process in the smart phone 1 and the smart phone 2 which concern on this embodiment. FIG. 9 is a flowchart showing an example of the flow of the process “B” in FIG. For convenience of explanation, members having the same functions as those described in the embodiment are given the same reference numerals, and descriptions thereof are omitted.
 実施形態1にて説明したように、スマートフォン1およびスマートフォン2は、ペアアプリの実行に伴い、端末名を変更する。つまりユーザにとってみれば、自身のスマートフォンの端末名としてユーザが望む文字列を設定している場合であっても、端末名が強制的に変更されてしまう。つまり自身が望む端末名が変更されてユーザが不満に思う可能性がある。また、端末名がユーザにとって見慣れない文字列になるため、ユーザが戸惑う可能性もある。 As described in the first embodiment, the smartphone 1 and the smartphone 2 change the terminal name as the pair application is executed. That is, for the user, even if a character string desired by the user is set as the terminal name of his / her smartphone, the terminal name is forcibly changed. In other words, the terminal name desired by the user may be changed and the user may be dissatisfied. In addition, since the terminal name becomes a character string that is not familiar to the user, the user may be confused.
 そこで、本実施形態に係るスマートフォン1およびスマートフォン2は、図7に示すように、ペアリングが確立すると自端末の端末名を元に戻す。具体的には、ペアリング処理を実行している間はペアリングを確立する相手を特定するために、図7の(a)に示すように、端末名を「<アプリ名>_<取得した時刻>」としている。一方、ペアリングが確立すると、図7の(b)に示すように、自端末の端末名を元の端末名に戻す。図7の(b)の例では、スマートフォン1は端末名をA0001に戻し、スマートフォン2は端末名をA0002に戻す。 Therefore, as shown in FIG. 7, the smartphone 1 and the smartphone 2 according to the present embodiment restore the terminal names of their own terminals when pairing is established. Specifically, in order to identify the partner with whom pairing is established while the pairing process is being executed, the terminal name “<app name> _ <acquired” is acquired as shown in FIG. Time> ”. On the other hand, when the pairing is established, as shown in FIG. 7B, the terminal name of the own terminal is returned to the original terminal name. In the example of FIG. 7B, the smartphone 1 returns the terminal name to A0001, and the smartphone 2 returns the terminal name to A0002.
 本実施形態におけるペアリング処理、特に上述した端末名を戻す処理について、図8および図9を参照してさらに詳細に説明する。なお、図8におけるステップS71~ステップS89の処理は、図5におけるステップS31~ステップS49までの処理と同一であるため、ここでの説明を省略する。 The pairing process in the present embodiment, particularly the process for returning the terminal name described above, will be described in more detail with reference to FIGS. 8 is the same as the processing from step S31 to step S49 in FIG. 5, and thus the description thereof is omitted here.
 ペアリング要求を送信したスマートフォン1の通信制御部15は、ペアリング許可を待機する状態となっている(S91)。ここでペアリング許可を受信した場合(S91でYES)、通信制御部15はペアリング許可を受信したことをデバイス名変更部123に通知する。デバイス名変更部123は、当該通知を受けると端末名を元に戻す(S93)。具体的には、デバイス名変更部123は、RAM30から自端末情報31を読み出し、自端末情報31に端末名として含まれている文字列(元の端末名)に端末名を変更する。図7の例では、デバイス名変更部123は端末名を「A0001」に戻す。 The communication control unit 15 of the smartphone 1 that has transmitted the pairing request is in a state of waiting for pairing permission (S91). Here, when the pairing permission is received (YES in S91), the communication control unit 15 notifies the device name changing unit 123 that the pairing permission has been received. Upon receiving the notification, the device name changing unit 123 restores the terminal name (S93). Specifically, the device name changing unit 123 reads the own terminal information 31 from the RAM 30 and changes the terminal name to a character string (original terminal name) included in the own terminal information 31 as the terminal name. In the example of FIG. 7, the device name changing unit 123 returns the terminal name to “A0001”.
 そしてデバイス名変更部123は、元の端末名(この例では「A0001」)を通信制御部15(詳細には、ペアリング設定部152)に供給する。ペアリング設定部152は、供給された元の端末名をスマートフォン2に送信する。 Then, the device name changing unit 123 supplies the original terminal name (“A0001” in this example) to the communication control unit 15 (specifically, the pairing setting unit 152). The pairing setting unit 152 transmits the supplied original terminal name to the smartphone 2.
 これに対して、スマートフォン2は、別の端末(この例ではスマートフォン1)からペアリング要求を受信すると、実施形態1のスマートフォン2と同様に、<アプリ名>を有する端末のサーチをキャンセルし(S101)、ペアリング要求を送信した端末(この例ではスマートフォン1)に、ペアリング許可および自端末の情報を送信する(S103)。なお、ステップS101およびステップS103の処理の詳細は、実施形態1にて既に説明しているため、ここでの説明を省略する。 In contrast, when the smartphone 2 receives a pairing request from another terminal (smartphone 1 in this example), the smartphone 2 cancels the search for the terminal having <application name> as in the smartphone 2 of the first embodiment ( S101), the pairing permission and the information of the own terminal are transmitted to the terminal (smart phone 1 in this example) that transmitted the pairing request (S103). Note that details of the processing in step S101 and step S103 have already been described in the first embodiment, and thus description thereof is omitted here.
 そして、スマートフォン2は端末名を元に戻す(S105)。図7の例では、デバイス名変更部123は端末名を「A0002」に戻す。この処理の詳細については、スマートフォン1におけるステップS91からステップS93の処理と同様であるため、ここでの説明を省略する。最後にスマートフォン2のペアリング設定部152は、供給された元の端末名をスマートフォン1に送信する。これにより、スマートフォン1とスマートフォン2とはお互いに相手端末の元の端末名を取得することができる。 Then, the smartphone 2 restores the terminal name (S105). In the example of FIG. 7, the device name changing unit 123 returns the terminal name to “A0002”. The details of this processing are the same as the processing from step S91 to step S93 in the smartphone 1, and thus the description thereof is omitted here. Finally, the pairing setting unit 152 of the smartphone 2 transmits the supplied original terminal name to the smartphone 1. Thereby, the smart phone 1 and the smart phone 2 can acquire the original terminal name of a partner terminal mutually.
 以上のように、本実施形態のスマートフォン1およびスマートフォン2は、ペアリングが確立すると、変更した端末名を元に戻す。これにより、ユーザが不満に思ったり困惑したりすることを防ぐことができる。 As described above, when the pairing is established, the smartphone 1 and the smartphone 2 of the present embodiment restore the changed terminal name. This can prevent the user from being frustrated or confused.
 〔実施形態3〕
 本発明のさらに別の実施形態について、図10に基づいて説明すれば、以下のとおりである。図10は、本実施形態に係るスマートフォン3およびスマートフォン4の要部構成の一例を示すブロック図である。なお、説明の便宜上、前記実施形態にて説明した部材と同じ機能を有する部材については、同じ符号を付記し、その説明を省略する。
[Embodiment 3]
The following will describe still another embodiment of the present invention with reference to FIG. FIG. 10 is a block diagram illustrating an example of a main configuration of the smartphone 3 and the smartphone 4 according to the present embodiment. For convenience of explanation, members having the same functions as those described in the embodiment are given the same reference numerals, and descriptions thereof are omitted.
 上述した実施形態1および実施形態2では、ペアリングを確立する相手端末を特定するために、端末名を「<アプリ名>_<取得した時刻>」に変更していた。そして、<取得した時刻>に入る数列を用いて、ペアリングを確立する相手端末を特定していた。しかしながら、変更後の端末名は「<アプリ名>_<取得した時刻>」に限定されず、ペアリングを確立する相手端末を特定するために使用する情報は取得した時刻に限定されない。 In the above-described first and second embodiments, the terminal name is changed to “<application name> _ <acquired time>” in order to identify the partner terminal with which pairing is established. And the other party which establishes pairing was specified using the numerical sequence which enters <acquired time>. However, the terminal name after the change is not limited to “<application name> _ <acquired time>”, and the information used to identify the partner terminal with which pairing is established is not limited to the acquired time.
 本実施形態に係るスマートフォン3の制御部10は、アプリ実行部12に代えてアプリ実行部16を含み、アプリ実行部16は、時刻取得部122ではなく条件情報取得部126を含む。また、スマートフォン3のRAM30は、位置情報36、CPUスペック37、および電波強度38を新たに記憶している。 The control unit 10 of the smartphone 3 according to the present embodiment includes an application execution unit 16 instead of the application execution unit 12, and the application execution unit 16 includes not the time acquisition unit 122 but the condition information acquisition unit 126. Further, the RAM 30 of the smartphone 3 newly stores position information 36, a CPU specification 37, and a radio wave intensity 38.
 条件情報取得部126は、ペアリングを確立する相手端末を特定するための条件として使用する各種情報を取得するものである。本実施形態に係る条件情報取得部126は、実施形態1にて説明した時刻情報に加え、スマートフォン3の位置情報、スマートフォン1のCPUスペック、および現在の電波強度を取得する。ここで、スマートフォン3の位置情報とは、スマートフォン3と他の端末との位置の違いが判別できるような情報であればよい。例えば、スマートフォン3とスマートフォン4とが、アクセスポイントを介してWi-Fiによる通信を確立する場合に、当該アクセスポイントから見た相対的な位置情報であってもよい。 The condition information acquisition unit 126 acquires various information used as a condition for specifying a partner terminal with which pairing is established. The condition information acquisition unit 126 according to the present embodiment acquires the position information of the smartphone 3, the CPU specifications of the smartphone 1, and the current radio wave intensity in addition to the time information described in the first embodiment. Here, the position information of the smartphone 3 may be information that can distinguish the difference in position between the smartphone 3 and another terminal. For example, when the smartphone 3 and the smartphone 4 establish Wi-Fi communication via an access point, the relative position information viewed from the access point may be used.
 条件情報取得部126は、取得した各種情報をデバイス名変更部123に供給する。そしてデバイス名変更部123は、供給された各種情報を、実行しているアプリケーションのデバイス名とともにRAM30に記憶する。またデバイス名変更部123は、供給された各種情報を用いて端末名を変更する。つまり本実施形態における変更端末名は、アプリ名、時刻、位置情報、CPUスペック、および電波強度を含む。 The condition information acquisition unit 126 supplies the acquired various information to the device name change unit 123. The device name changing unit 123 stores the supplied various information in the RAM 30 together with the device name of the application being executed. Further, the device name changing unit 123 changes the terminal name using the supplied various information. That is, the changed terminal name in the present embodiment includes an application name, time, position information, CPU specifications, and radio wave intensity.
 本実施形態に係る相手端末特定部151は、変更端末名に含まれる時刻を用いたペアリングの相手端末の特定に加え、位置情報、CPUスペック、および電波強度を用いた相手端末の特定を実行する。具体的には、相手端末特定部151は、変更端末名における位置情報を参照して、自端末(スマートフォン3)の位置情報が示す位置に最も近い位置を示す位置情報を端末名に含む端末を特定する。ユーザは、2つのスマートフォンにわたって画像を表示する場合に、図1の(g)に示すように、2つのスマートフォンを並べて表示することが多い。つまり、スマートフォン3の位置情報が示す位置に最も近い位置を示す位置情報を端末名に含む端末は、ユーザがスマートフォン3とペアリングを確立しようとしている相手端末(スマートフォン4)である可能性が高い。そのため、本実施形態の相手端末特定部151は上述したような位置情報を用いた特定を行い、ユーザがペアリングを確立しようとしている相手端末を正しく特定する。 The counterpart terminal specifying unit 151 according to the present embodiment executes the specification of the counterpart terminal using the location information, the CPU specifications, and the radio wave intensity in addition to the specification of the counterpart terminal for pairing using the time included in the changed terminal name. To do. Specifically, the counterpart terminal specifying unit 151 refers to the position information in the changed terminal name, and includes a terminal that includes position information indicating the position closest to the position indicated by the position information of the own terminal (smartphone 3) in the terminal name. Identify. When displaying an image over two smartphones, the user often displays the two smartphones side by side as shown in FIG. That is, the terminal that includes the position information indicating the position closest to the position indicated by the position information of the smartphone 3 in the terminal name is highly likely that the user is a partner terminal (smartphone 4) that is trying to establish pairing with the smartphone 3. . Therefore, the counterpart terminal specifying unit 151 of the present embodiment performs specification using the position information as described above, and correctly specifies the counterpart terminal that the user is trying to establish pairing with.
 また、相手端末特定部151は、変更端末名に<アプリ名>を含む端末のうち、変更端末名におけるCPUスペックが所定の閾値以上の端末を特定する。ペアリングが確立している2つのスマートフォンのうちの一方からデータ(例えば画像データ)を他方のスマートフォンに送信する場合、当該他方のスマートフォンのCPUスペックが低いと、データの送信に時間がかかってしまう。そこで、本実施形態の相手端末特定部151は、上述したようなCPUスペックを用いた特定を行い、スムーズなデータの送受信が実現できるようなスマートフォン同士のペアリングを確立する。 Also, the counterpart terminal specifying unit 151 specifies a terminal whose CPU specification in the changed terminal name is equal to or greater than a predetermined threshold among the terminals whose changed terminal name includes <application name>. When data (for example, image data) is transmitted from one of two smartphones with which pairing has been established to the other smartphone, if the CPU specification of the other smartphone is low, data transmission takes time. . Therefore, the counterpart terminal identification unit 151 of the present embodiment performs identification using the CPU specifications as described above, and establishes pairing between smartphones so that smooth data transmission / reception can be realized.
 また、相手端末特定部151は、変更端末名に<アプリ名>を含む端末のうち、電波強度が所定の閾値以上の端末を特定する。ここで、電波強度が高いスマートフォンは、自端末のより近くにあるスマートフォンである可能性が高い。そこで、実施形態の相手端末特定部151は、上述したような電波強度を用いた特定を行い、ユーザがペアリングを確立しようとしている相手端末を正しく特定する。 Further, the counterpart terminal specifying unit 151 specifies a terminal having a radio field intensity equal to or higher than a predetermined threshold among terminals including <application name> in the changed terminal name. Here, there is a high possibility that a smartphone with high radio field intensity is a smartphone closer to the terminal itself. Therefore, the partner terminal specifying unit 151 of the embodiment performs the specification using the above-described radio wave intensity, and correctly specifies the partner terminal that the user is trying to establish pairing with.
 なお、本実施形態に係るスマートフォン4の各部は、スマートフォン3における同一の部材名を有する部材と、その機能が同様であるため、ここでの説明を省略する。すなわち、本実施形態におけるスマートフォン3およびスマートフォン4は同一の機能を有する2つのスマートフォンである。また、スマートフォン3とスマートフォン4とが同一の機能を有するとしたのは一例であり、スマートフォン3とスマートフォン4とが異なる機能を有していてもよい。 In addition, since each part of the smart phone 4 which concerns on this embodiment has the same function as the member which has the same member name in the smart phone 3, description here is abbreviate | omitted. That is, the smartphone 3 and the smartphone 4 in the present embodiment are two smartphones having the same function. Moreover, it is an example that the smart phone 3 and the smart phone 4 have the same function, and the smart phone 3 and the smart phone 4 may have different functions.
 また、本実施形態では、各種情報として時刻、位置情報、CPUスペック、および電波強度を取得したが、この例に限定されるものではない。つまり、取得する情報は時刻、位置情報、CPUスペック、および電波強度のうち少なくとも1つであればよい。また、条件情報取得部126は上述した情報以外の情報を取得してもよい。 In this embodiment, the time, position information, CPU specifications, and radio wave intensity are acquired as various information, but the present invention is not limited to this example. That is, the acquired information may be at least one of time, position information, CPU specifications, and radio wave intensity. In addition, the condition information acquisition unit 126 may acquire information other than the information described above.
 〔変形例〕
 上述した実施形態1~3では、Bluetoothによる通信を確立するために、端末の識別子として端末名を変更する例を説明した。しかしながら、端末の識別子は端末名に限定されない。例えば、アクセスポイントを介したWi-Fiによる通信を確立する場合、各端末と通信可能に接続されているアクセスポイントの識別子(SSID)を変更してもよい。
[Modification]
In the first to third embodiments described above, the example in which the terminal name is changed as the terminal identifier in order to establish communication by Bluetooth has been described. However, the terminal identifier is not limited to the terminal name. For example, when establishing Wi-Fi communication via an access point, the identifier (SSID) of an access point connected to be communicable with each terminal may be changed.
 また、実施形態1~3では、変更端末名の前半部分をアプリ名としたが、通信を確立したいスマートフォン同士で共通になるようなものであり、かつ実現したい機能を有していることが分かるようなものであれば、アプリ名に限定されず、文字、数字、および記号のうち少なくとも1つからなる情報(有効化情報)であってもよい。また、ユーザが有効化情報を自由に設定可能であってもよい。 In Embodiments 1 to 3, the first half of the changed terminal name is the application name, but it is common for smartphones that want to establish communication, and it is understood that they have the functions that they want to realize. If it is such, it will not be limited to an application name, Information (validation information) which consists of at least one of a character, a number, and a symbol may be sufficient. Moreover, the user may be able to freely set the activation information.
 また、端末によっては複数の通信方式による通信が可能である場合もある。そこで、変更端末名の前半部分をアプリ名と各通信方式に対応しているか否かを示す情報とし、相手端末特定部151は、当該前半部分が完全に一致している端末を特定する構成であってもよい。例えば、ある端末がBluetoothによる通信可能、Wi-Fiによるアクセスポイントを介する通信可能、Wi-Fiによるアクセスポイントを介さない通信可能、NFCによる通信不可能である場合、変更端末名の前半部分が「ペアアプリ1110」となる。 Also, depending on the terminal, there may be a case where communication by a plurality of communication methods is possible. Therefore, the first half of the changed terminal name is used as information indicating whether the application name and each communication method are supported, and the counterpart terminal identifying unit 151 is configured to identify a terminal whose first half is completely matched. There may be. For example, if a terminal can communicate via Bluetooth, can communicate via an access point via Wi-Fi, can communicate via an access point via Wi-Fi, or cannot communicate via NFC, the first half of the changed terminal name is “ Pair application 1110 ”.
 また、スマートフォン1およびスマートフォン2は、図2の(d)に示すように、両端末にわたって表示する画像の候補を表示部22に表示するが、当該候補は予め設定されたカテゴリ情報に応じて決定されてもよい。具体的には、アプリ実行部12はユーザ操作に応じたカテゴリ情報を、予め設定しておく。このカテゴリ情報は、例えば「最新の一日」や「9/22の北海道旅行の写真」などであり、アプリ実行部12は設定されたカテゴリ情報に応じた画像データ41を特定し、特定された画像データ41を示す情報を表示制御部14に供給する。表示制御部14は、供給された情報に基づいて、画像の候補を表示部22に表示させる。 Further, as shown in FIG. 2D, the smartphone 1 and the smartphone 2 display image candidates to be displayed across both terminals on the display unit 22, and the candidates are determined according to preset category information. May be. Specifically, the application execution unit 12 presets category information corresponding to the user operation. The category information is, for example, “Latest day” or “September 22 Hokkaido travel photo”, and the application execution unit 12 specifies the image data 41 according to the set category information. Information indicating the image data 41 is supplied to the display control unit 14. The display control unit 14 causes the display unit 22 to display image candidates based on the supplied information.
 より具体的には、アプリ実行部12は、画像データ41に付加されている日時の情報や位置の情報などを参照することで、設定されたカテゴリ情報に応じた画像データ41を特定する。また、アプリ実行部12は、画像データ41に各種情報を付加してもよい。例えば、複数の写真である画像データ41について、横軸に撮影日時、縦軸に枚数をとってグラフ化した場合、横軸が同じ位置に多くの写真が表示された部分については、旅行に行ったときの写真であると特定することができる。この部分に含まれる写真の付加情報から位置の情報を取得することができれば、この部分に含まれる写真に、上述した「9/22の北海道旅行の写真」といったカテゴリ情報を付加することができる。 More specifically, the application execution unit 12 specifies the image data 41 according to the set category information by referring to the date and time information and the position information added to the image data 41. In addition, the application execution unit 12 may add various types of information to the image data 41. For example, when the image data 41, which is a plurality of photographs, is graphed by taking the shooting date and time on the horizontal axis and the number of images on the vertical axis, the portion where many photographs are displayed at the same position on the horizontal axis is traveled. It can be specified that it is a photograph at the time. If the location information can be acquired from the additional information of the photo included in this part, the category information such as the above-mentioned “photo of Hokkaido trip on 9/22” can be added to the photo included in this part.
 また、タッチパネル20における解像度や、表示領域のサイズを相手端末に送信してもよい。これにより、スマートフォン1は相手端末(スマートフォン2)の解像度や表示領域のサイズを取得することができるので、図2の(e)に示すように、画像βを選択しドラッグ&ドロップした場合のタッチ座標の軌跡に基づいて、スマートフォン1とスマートフォン2とがどのように配置されているのか、より詳細には、矩形のスマートフォン1とスマートフォン2とを形成している辺のうち、2つのスマートフォンが隣接して接触している接触辺において、どこからどこまでが接触しているかを特定することができる。 Also, the resolution on the touch panel 20 and the size of the display area may be transmitted to the partner terminal. Thereby, since the smart phone 1 can acquire the resolution of the other party terminal (smart phone 2) and the size of the display area, as shown in (e) of FIG. 2, the touch when the image β is selected and dragged and dropped. Based on the coordinate trajectory, how the smartphone 1 and the smartphone 2 are arranged, more specifically, two smartphones adjacent to each other forming the rectangular smartphone 1 and the smartphone 2 are adjacent to each other. Thus, it is possible to specify from where to where the contact is in contact.
 つまり、ユーザがドラッグ&ドロップの操作を行ったとき、タッチ取得部11は、スマートフォン1の接触辺におけるタッチ座標と、スマートフォン2の接触辺におけるタッチ座標とを特定する。また、当該操作の始点の座標と終点の座標も特定する。そして、アプリ実行部12は、これらの座標から上記操作の向きを特定することができる。また、アプリ実行部12は、自装置の解像度および表示領域のサイズと、相手端末の解像度および表示領域のサイズと、特定したタッチ座標や操作の向きを用いれば、スマートフォン1とスマートフォン2とがどのように配置されているのか、換言すれば、2つのスマートフォンの表示領域からなる連結表示領域がどのような形状となるかを特定することができる。そして、スマートフォン1のアプリ実行部12は、特定したスマートフォン1とスマートフォン2との配置関係(連結表示領域の形状)に応じて、表示する画像データ41のうち、スマートフォン1の表示領域に表示する部分と、スマートフォン2の表示領域に表示する部分とをそれぞれ特定する。 That is, when the user performs a drag and drop operation, the touch acquisition unit 11 identifies the touch coordinates on the contact side of the smartphone 1 and the touch coordinates on the contact side of the smartphone 2. Also, the coordinates of the start point and end point of the operation are specified. And the application execution part 12 can pinpoint the direction of the said operation from these coordinates. In addition, the application execution unit 12 can determine which of the smartphone 1 and the smartphone 2 is using the resolution of the own device and the size of the display area, the resolution of the counterpart terminal and the size of the display area, and the specified touch coordinates and operation direction. In other words, it is possible to specify the shape of the connected display area composed of the display areas of the two smartphones. And the application execution part 12 of the smart phone 1 is the part displayed on the display area of the smart phone 1 among the image data 41 to display according to the arrangement | positioning relationship (shape of a connection display area) of the smart phone 1 and the smart phone 2 which were specified. And the part displayed on the display area of the smart phone 2 is each specified.
 これにより、スマートフォン1とスマートフォン2とがずれて配置されている(接触辺において、相手端末と接触していない部分がある)場合であっても、2つのスマートフォンにわたって表示される画像データ41を、ずれなく表示することが可能となる。例えば、スマートフォン1とスマートフォン2との表示領域のサイズが異なったとしても、2つのスマートフォンにわたって表示される画像データ41を、ずれなく表示することができる。 Thereby, even if it is a case where the smart phone 1 and the smart phone 2 are arrange | positioned and shifted (there is a part which is not in contact with the other party terminal in a contact side), the image data 41 displayed over two smart phones, It is possible to display without any deviation. For example, even if the display areas of the smartphone 1 and the smartphone 2 are different in size, the image data 41 displayed over the two smartphones can be displayed without any deviation.
 〔ソフトウェアによる実現例〕
 スマートフォン1~4の制御ブロック(特にタッチ取得部11、アプリ実行部12、表示制御部14、通信制御部15およびアプリ実行部16)は、集積回路(ICチップ)等に形成された論理回路(ハードウェア)によって実現してもよいし、CPU(Central Processing Unit)を用いてソフトウェアによって実現してもよい。
[Example of software implementation]
The control blocks (especially the touch acquisition unit 11, the application execution unit 12, the display control unit 14, the communication control unit 15, and the application execution unit 16) of the smartphones 1 to 4 are logical circuits (IC chips) formed in an integrated circuit (IC chip) or the like. Hardware) or software using a CPU (Central Processing Unit).
 後者の場合、スマートフォン1~4は、各機能を実現するソフトウェアであるプログラムの命令を実行するCPU、上記プログラムおよび各種データがコンピュータ(またはCPU)で読み取り可能に記録されたROM(Read Only Memory)または記憶装置(これらを「記録媒体」と称する)、上記プログラムを展開するRAM(Random Access Memory)などを備えている。そして、コンピュータ(またはCPU)が上記プログラムを上記記録媒体から読み取って実行することにより、本発明の目的が達成される。上記記録媒体としては、「一時的でない有形の媒体」、例えば、テープ、ディスク、カード、半導体メモリ、プログラマブルな論理回路などを用いることができる。また、上記プログラムは、該プログラムを伝送可能な任意の伝送媒体(通信ネットワークや放送波等)を介して上記コンピュータに供給されてもよい。なお、本発明は、上記プログラムが電子的な伝送によって具現化された、搬送波に埋め込まれたデータ信号の形態でも実現され得る。 In the latter case, the smartphones 1 to 4 include a CPU that executes instructions of a program that is software that realizes each function, and a ROM (Read Only Memory) in which the program and various data are recorded so as to be readable by the computer (or CPU). Alternatively, a storage device (these are referred to as “recording media”), a RAM (Random Access Memory) for expanding the program, and the like are provided. And the objective of this invention is achieved when a computer (or CPU) reads the said program from the said recording medium and runs it. As the recording medium, a “non-temporary tangible medium” such as a tape, a disk, a card, a semiconductor memory, a programmable logic circuit, or the like can be used. The program may be supplied to the computer via an arbitrary transmission medium (such as a communication network or a broadcast wave) that can transmit the program. The present invention can also be realized in the form of a data signal embedded in a carrier wave in which the program is embodied by electronic transmission.
 〔まとめ〕
 本発明の態様1に係る通信端末(スマートフォン1)は、自端末の識別子を、文字、数字、および記号のうち少なくとも1つからなる、特定の条件に合致した特定識別子に変更する識別子変更部(デバイス名変更部123)と、上記特定識別子として、自端末の上記特定識別子と対応する対応識別子を有する端末を特定する端末特定部(相手端末特定部151)と、上記端末特定部が特定した端末と通信を確立する通信確立部(ペアリング設定部152)と、を備える。
[Summary]
The communication terminal (smart phone 1) according to aspect 1 of the present invention changes the identifier of the terminal itself to a specific identifier that matches at a specific condition and includes at least one of letters, numbers, and symbols ( A device name changing unit 123), a terminal specifying unit (partner terminal specifying unit 151) for specifying a terminal having a corresponding identifier corresponding to the specific identifier of the own terminal as the specific identifier, and a terminal specified by the terminal specifying unit And a communication establishment unit (pairing setting unit 152) for establishing communication.
 上記の構成によれば、自端末の識別子を特定識別子に変更し、当該特定識別子と対応する対応識別子を有する端末と通信を確立するので、ユーザは端末間の通信を確立するにあたり、予め設定をしておくなどの作業を行う必要が無い。よって、別の装置との間の通信の確立を手間無く行うことができる。 According to the above configuration, since the identifier of the own terminal is changed to a specific identifier and communication is established with a terminal having a corresponding identifier corresponding to the specific identifier, the user sets in advance in establishing communication between the terminals. There is no need to do such work. Therefore, establishment of communication with another apparatus can be performed without trouble.
 本発明の態様2に係る通信端末は、上記態様1において、上記識別子変更部は、自端末の上記識別子を、自端末と他の端末との通信を確立するアプリケーションが起動した後の所定時間後の時刻を示す時刻情報を含む上記特定識別子に変更し、上記端末特定部は、自端末の上記特定識別子に含まれる上記時刻情報が示す時刻に最も近い時刻を示す上記時刻情報を上記特定識別子に含む自端末以外の端末を、上記対応識別子を有する端末として特定してもよい。 The communication terminal according to aspect 2 of the present invention is the communication terminal according to aspect 1, wherein the identifier changing unit uses the identifier of the terminal itself for a predetermined time after an application that establishes communication between the terminal and another terminal is activated. The terminal identification unit changes the time information indicating the time nearest to the time indicated by the time information included in the specific identifier of the terminal to the specific identifier. A terminal other than the own terminal may be specified as the terminal having the correspondence identifier.
 上記の構成によれば、自端末においてアプリケーションを起動した時刻と最も近い時刻にアプリケーションを起動した端末を、対応識別子を有する端末として特定し、当該端末との間で通信を確立する。ユーザは通信を確立したい複数の端末について、当該通信をほぼ同時に有効化させる可能性が高い。よって、通信を有効化した時刻と最も近い時刻に通信を有効化した端末を特定することで、ユーザが通信を確立したい端末を正確に特定することができる。 According to the above configuration, the terminal that started the application at the time closest to the time when the application was started in its own terminal is specified as the terminal having the correspondence identifier, and communication is established with the terminal. There is a high possibility that the user will activate the communication almost simultaneously for a plurality of terminals that want to establish communication. Therefore, by specifying the terminal that has enabled communication at the time closest to the time at which communication is enabled, the terminal that the user wants to establish communication with can be accurately specified.
 また、アプリケーションが実行されることによって通信端末の識別子は特定識別子に変更される。これにより、ユーザはアプリケーションを実行するだけで端末間の通信を確立することができる。 Also, when the application is executed, the identifier of the communication terminal is changed to a specific identifier. Thereby, the user can establish communication between terminals only by executing an application.
 本発明の態様3に係る通信端末は、上記態様2において、上記識別子変更部は、自端末の上記識別子を、文字、数字、および記号のうち少なくとも1つからなる、起動された上記アプリケーションを識別するアプリ識別情報を含む上記特定識別子に変更し、上記端末特定部は、上記対応識別子を有する端末の候補として、上記アプリ識別情報が自端末の上記アプリ識別情報と一致する自端末以外の端末を特定してもよい。 The communication terminal according to aspect 3 of the present invention is the communication terminal according to aspect 2, wherein the identifier changing unit identifies the identifier of the terminal that has been started and includes at least one of letters, numbers, and symbols. The terminal identification unit changes a terminal other than the own terminal whose application identification information matches the application identification information of the own terminal as a candidate for the terminal having the corresponding identifier. You may specify.
 上記の構成によれば、特定識別子は起動したアプリケーションを識別するアプリ識別情報を含み、当該アプリ識別情報を含む端末を特定するので、端末が複数あったとしても、通信を確立するためにアプリケーションを起動した端末を正確に特定することができる。 According to the above configuration, the specific identifier includes the application identification information for identifying the activated application, and identifies the terminal including the application identification information. Therefore, even if there are a plurality of terminals, the application is identified in order to establish communication. The activated terminal can be accurately identified.
 本発明の態様4に係る通信端末は、上記態様3において、上記端末特定部は、上記対応識別子を有する端末の候補として、上記アプリ識別情報が自端末の上記アプリ識別情報と一致する自端末以外の端末のうち、自端末の上記特定識別子に含まれる上記時刻情報より新しい上記時刻情報を含む端末を特定してもよい。 The communication terminal according to aspect 4 of the present invention is the communication terminal according to aspect 3, wherein the terminal identification unit is a candidate for a terminal having the correspondence identifier, other than the own terminal whose application identification information matches the application identification information of the own terminal. Of these terminals, a terminal including the time information that is newer than the time information included in the specific identifier of the own terminal may be specified.
 上記の構成によれば、時刻情報が自端末の特定識別子より新しい端末を特定する。複数の端末間での通信を確立するためにアプリケーションを起動する場合、ユーザはまず1つの端末(例えばユーザ自身の端末)でアプリケーションを起動してから、他の端末にてアプリケーションを起動することが多い。つまり、他の端末の特定識別子における時刻情報は、自端末の特的識別子における時刻情報より新しいものとなる可能性が高い。よって、時刻情報が自端末より新しい端末を特定することで、ユーザが自端末と通信を確立したいと考えている端末を正確に特定することができる。 According to the above configuration, a terminal whose time information is newer than the specific identifier of its own terminal is specified. When starting an application to establish communication between a plurality of terminals, a user may first start the application on one terminal (for example, the user's own terminal) and then start the application on another terminal. Many. That is, the time information in the specific identifier of the other terminal is likely to be newer than the time information in the special identifier of the own terminal. Therefore, by specifying a terminal whose time information is newer than the own terminal, it is possible to accurately specify the terminal that the user wants to establish communication with the own terminal.
 本発明の態様5に係る通信端末は、上記態様1から4のいずれかにおいて、上記識別子変更部は、上記通信確立部が上記通信を確立したとき、上記特定識別子を変更前の上記識別子に戻してもよい。 The communication terminal according to aspect 5 of the present invention is the communication terminal according to any one of the aspects 1 to 4, wherein the identifier changing unit returns the specific identifier to the identifier before the change when the communication establishing unit establishes the communication. May be.
 上記の構成によれば、端末間の通信が確立すると、特定識別子を元の識別子に戻す。これにより、識別子が変更されたままとなることでユーザが困惑するといった状況を防ぐことができる。 According to the above configuration, when communication between terminals is established, the specific identifier is returned to the original identifier. As a result, it is possible to prevent a situation in which the user is confused because the identifier remains changed.
 本発明の態様6に係る通信端末(スマートフォン2)は、自端末の識別子を、文字、数字、および記号のうち少なくとも1つからなる、特定の条件に合致した特定識別子に変更する識別子変更部(デバイス名変更部123)と、他の端末から、当該他の端末との通信を確立するための通信確立要求を受信した場合、当該通信確立要求を送信した端末の識別子を特定する要求端末識別子特定部(相手端末特定部151)と、上記他の端末の識別子が、上記特定識別子と対応する対応識別子である場合、上記他の端末との通信を確立する受諾側通信確立部(ペアリング設定部152)と、を備える。 The communication terminal (smart phone 2) according to the aspect 6 of the present invention changes the identifier of its own terminal to an identifier changing unit (which includes at least one of letters, numbers, and symbols) and that matches a specific condition ( When a communication establishment request for establishing communication with the other terminal is received from the device name changing unit 123) and another terminal, a request terminal identifier specification that specifies the identifier of the terminal that has transmitted the communication establishment request Unit (partner terminal specifying unit 151) and the identifier of the other terminal are corresponding identifiers corresponding to the specific identifier, the accepting side communication establishing unit (pairing setting unit) for establishing communication with the other terminal 152).
 上記の構成によれば、通信確率要求を送信した端末が、通信を確立すべき相手であるかを確認する。これにより、通信確率要求を受信した端末からも、正しい相手と通信を確立するようになっているかを確認することができる。 According to the above configuration, it is confirmed whether the terminal that has transmitted the communication probability request is a partner with which communication should be established. Thereby, it is possible to confirm whether or not communication with the correct partner is established from the terminal that has received the communication probability request.
 本発明の態様7に係る通信端末の制御方法は、自端末の識別子を、文字、数字、および記号のうち少なくとも1つからなる、特定の条件に合致した特定識別子に変更する識別子変更ステップ(ステップS35)と、上記特定識別子として、自端末の上記特定識別子と対応する対応識別子を有する端末を特定する端末特定ステップ(ステップS47)と、上記端末特定ステップにて特定した端末と通信を確立する通信確立ステップ(ステップS49)と、を含む。 The communication terminal control method according to aspect 7 of the present invention includes an identifier changing step (step) of changing the identifier of the terminal to a specific identifier that includes at least one of a character, a number, and a symbol and that meets a specific condition. S35), a terminal specifying step (step S47) for specifying a terminal having a corresponding identifier corresponding to the specific identifier of the own terminal as the specific identifier, and communication for establishing communication with the terminal specified in the terminal specifying step Establishing step (step S49).
 この制御方法によれば、態様1に係る通信端末と同様の作用効果を有する。 This control method has the same function and effect as the communication terminal according to aspect 1.
 本発明の各態様に係る通信端末は、コンピュータによって実現してもよく、この場合には、コンピュータを上記通信端末が備える各部として動作させることにより上記通信端末をコンピュータにて実現させる通信端末の制御プログラム、およびそれを記録したコンピュータ読み取り可能な記録媒体も、本発明の範疇に入る。 The communication terminal according to each aspect of the present invention may be realized by a computer. In this case, the communication terminal is controlled by the computer by causing the computer to operate as each unit included in the communication terminal. A program and a computer-readable recording medium on which the program is recorded also fall within the scope of the present invention.
 本発明は上述した各実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能であり、異なる実施形態にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。さらに、各実施形態にそれぞれ開示された技術的手段を組み合わせることにより、新しい技術的特徴を形成することができる。 The present invention is not limited to the above-described embodiments, and various modifications are possible within the scope shown in the claims, and embodiments obtained by appropriately combining technical means disclosed in different embodiments. Is also included in the technical scope of the present invention. Furthermore, a new technical feature can be formed by combining the technical means disclosed in each embodiment.
 本発明は、別の端末と通信を確立することにより、自端末と別の端末との間で情報の送受信を行うことを可能とする通信端末に利用することができる。 The present invention can be used for a communication terminal that enables transmission and reception of information between its own terminal and another terminal by establishing communication with another terminal.
 1 スマートフォン(通信端末)
 2 スマートフォン(通信端末)
 3 スマートフォン(通信端末)
 4 スマートフォン(通信端末)
 123 デバイス名変更部(識別子変更部)
 151 相手端末特定部(端末特定部、要求端末識別子特定部)
 152 ペアリング設定部(通信確立部、受諾側通信確立部)
 S35 識別子変更ステップ
 S47 端末特定ステップ
 S49 通信確立ステップ
1 Smartphone (communication terminal)
2 Smartphone (communication terminal)
3 Smartphone (communication terminal)
4 Smartphone (communication terminal)
123 Device name change part (identifier change part)
151 Counterpart identification unit (terminal identification unit, requesting terminal identifier identification unit)
152 Pairing setting unit (communication establishment unit, accepting side communication establishment unit)
S35 Identifier changing step S47 Terminal specifying step S49 Communication establishing step

Claims (8)

  1.  自端末の識別子を、文字、数字、および記号のうち少なくとも1つからなる、特定の条件に合致した特定識別子に変更する識別子変更部と、
     上記特定識別子として、自端末の上記特定識別子と対応する対応識別子を有する端末を特定する端末特定部と、
     上記端末特定部が特定した端末と通信を確立する通信確立部と、を備えることを特徴とする通信端末。
    An identifier changing unit that changes the identifier of the terminal itself to a specific identifier that matches a specific condition, and includes at least one of letters, numbers, and symbols;
    As the specific identifier, a terminal specifying unit for specifying a terminal having a corresponding identifier corresponding to the specific identifier of the own terminal;
    A communication terminal comprising: a communication establishment unit that establishes communication with the terminal identified by the terminal identification unit.
  2.  上記識別子変更部は、自端末の上記識別子を、自端末と他の端末との通信を確立するアプリケーションが起動した後の所定時間後の時刻を示す時刻情報を含む上記特定識別子に変更し、
     上記端末特定部は、自端末の上記特定識別子に含まれる上記時刻情報が示す時刻に最も近い時刻を示す上記時刻情報を上記特定識別子に含む自端末以外の端末を、上記対応識別子を有する端末として特定することを特徴とする請求項1に記載の通信端末。
    The identifier changing unit changes the identifier of the own terminal to the specific identifier including time information indicating a time after a predetermined time after an application that establishes communication between the own terminal and another terminal is started.
    The terminal specifying unit uses a terminal other than the terminal including the time information indicating the time closest to the time indicated by the time information included in the specific identifier of the terminal as the terminal having the correspondence identifier. The communication terminal according to claim 1, wherein the communication terminal is specified.
  3.  上記識別子変更部は、自端末の上記識別子を、文字、数字、および記号のうち少なくとも1つからなる、起動された上記アプリケーションを識別するアプリ識別情報を含む上記特定識別子に変更し、
     上記端末特定部は、上記対応識別子を有する端末の候補として、上記アプリ識別情報が自端末の上記アプリ識別情報と一致する自端末以外の端末を特定することを特徴とする請求項2に記載の通信端末。
    The identifier changing unit changes the identifier of the terminal itself to the specific identifier including application identification information for identifying the activated application, which includes at least one of letters, numbers, and symbols.
    The terminal identifying unit identifies a terminal other than the self-terminal that matches the application identification information of the self-terminal as the candidate for the terminal having the correspondence identifier. Communication terminal.
  4.  上記端末特定部は、上記対応識別子を有する端末の候補として、上記アプリ識別情報が自端末の上記アプリ識別情報と一致する自端末以外の端末のうち、自端末の上記特定識別子に含まれる上記時刻情報より新しい上記時刻情報を含む端末を特定することを特徴とする請求項3に記載の通信端末。 The terminal specifying unit, as a candidate for a terminal having the corresponding identifier, the time included in the specific identifier of the own terminal among terminals other than the own terminal whose application identification information matches the application identification information of the own terminal The communication terminal according to claim 3, wherein a terminal including the time information that is newer than information is specified.
  5.  上記識別子変更部は、上記通信確立部が上記通信を確立したとき、上記特定識別子を変更前の上記識別子に戻すことを特徴とする請求項1から4のいずれか1項に記載の通信端末。 The communication terminal according to any one of claims 1 to 4, wherein the identifier changing unit returns the specific identifier to the identifier before the change when the communication establishing unit establishes the communication.
  6.  自端末の識別子を、文字、数字、および記号のうち少なくとも1つからなる、特定の条件に合致した特定識別子に変更する識別子変更部と、
     他の端末から、当該他の端末との通信を確立するための通信確立要求を受信した場合、当該通信確立要求を送信した端末の識別子を特定する要求端末識別子特定部と、
     上記他の端末の識別子が、上記特定識別子と対応する対応識別子である場合、上記他の端末との通信を確立する受諾側通信確立部と、を備えることを特徴とする通信端末。
    An identifier changing unit that changes the identifier of the terminal itself to a specific identifier that matches a specific condition, and includes at least one of letters, numbers, and symbols;
    When receiving a communication establishment request for establishing communication with the other terminal from another terminal, a request terminal identifier specifying unit that specifies an identifier of the terminal that has transmitted the communication establishment request;
    A communication terminal comprising: an accepting-side communication establishment unit that establishes communication with the other terminal when the identifier of the other terminal is a corresponding identifier corresponding to the specific identifier.
  7.  自端末の識別子を、文字、数字、および記号のうち少なくとも1つからなる、特定の条件に合致した特定識別子に変更する識別子変更ステップと、
     上記特定識別子として、自端末の上記特定識別子と対応する対応識別子を有する端末を特定する端末特定ステップと、
     上記端末特定ステップにて特定した端末と通信を確立する通信確立ステップと、を含むことを特徴とする通信端末の制御方法。
    An identifier changing step for changing the identifier of the terminal itself to a specific identifier that matches at a specific condition, comprising at least one of letters, numbers, and symbols;
    A terminal specifying step for specifying a terminal having a corresponding identifier corresponding to the specific identifier of the own terminal as the specific identifier;
    A communication terminal control method, comprising: a communication establishment step for establishing communication with the terminal identified in the terminal identification step.
  8.  請求項1から6のいずれか1項に記載の通信端末としてコンピュータを機能させるための制御プログラムであって、コンピュータを上記各部として機能させるための制御プログラム。 A control program for causing a computer to function as the communication terminal according to any one of claims 1 to 6, wherein the control program causes the computer to function as each of the above-described units.
PCT/JP2015/083454 2014-10-03 2015-11-27 Communication terminal, communication terminal control method, and control program WO2016052768A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2014204971A JP6548375B2 (en) 2014-10-03 2014-10-03 Communication terminal, control method of communication terminal, and control program
JP2014-204971 2014-10-03

Publications (1)

Publication Number Publication Date
WO2016052768A1 true WO2016052768A1 (en) 2016-04-07

Family

ID=55630786

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2015/083454 WO2016052768A1 (en) 2014-10-03 2015-11-27 Communication terminal, communication terminal control method, and control program

Country Status (2)

Country Link
JP (1) JP6548375B2 (en)
WO (1) WO2016052768A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7446079B2 (en) * 2019-10-11 2024-03-08 リンナイ株式会社 remote control system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012105100A (en) * 2010-11-10 2012-05-31 Nippon Telegr & Teleph Corp <Ntt> System, method, and program for terminal-to-terminal connection
JP2014517639A (en) * 2011-06-14 2014-07-17 サムスン エレクトロニクス カンパニー リミテッド Short-range wireless communication method and terminal implementing the same

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5770422B2 (en) * 2009-11-04 2015-08-26 富士通株式会社 Communication terminal device and communication information setting method
WO2014017254A1 (en) * 2012-07-23 2014-01-30 株式会社イーアールアイ Information distribution system, wireless communication apparatus and program
JP2014068238A (en) * 2012-09-26 2014-04-17 Jvc Kenwood Corp Information processing apparatus and method for identifying device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012105100A (en) * 2010-11-10 2012-05-31 Nippon Telegr & Teleph Corp <Ntt> System, method, and program for terminal-to-terminal connection
JP2014517639A (en) * 2011-06-14 2014-07-17 サムスン エレクトロニクス カンパニー リミテッド Short-range wireless communication method and terminal implementing the same

Also Published As

Publication number Publication date
JP2016076034A (en) 2016-05-12
JP6548375B2 (en) 2019-07-24

Similar Documents

Publication Publication Date Title
US9641662B2 (en) Information processing system, wireless terminal, launching method of portable information terminal and computer readable recording medium having program for controlling thereof
US10735603B2 (en) Image forming apparatus with near-field and direct wireless communication
JP6254718B2 (en) Method for adjusting operating state of smart home equipment, apparatus, program, and recording medium
CN108683824B (en) Information processing apparatus and control method thereof
KR102241318B1 (en) Operating Method For Communication Service And Electronic Device supporting the same
JP6469131B2 (en) Wireless communication system
US10374658B2 (en) Communication system, communication apparatus, method of controlling the same, and storage medium
JP6571997B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
US10412564B2 (en) Apparatus, method, and system for displaying antenna location of communication terminal, and recording medium
CN112217937A (en) Communication apparatus and method for controlling communication apparatus
CN105208062A (en) File transfer method, file transfer device, terminal and wearable equipment
JP2017034379A (en) Communication apparatus, control method of the same, and program
JP2018510395A (en) State switching method, apparatus, program, and recording medium
KR20160053641A (en) Method for controlling multi displays and electronic apparatus thereof
WO2016052768A1 (en) Communication terminal, communication terminal control method, and control program
JP2021145344A5 (en)
US20190089600A1 (en) Communication apparatus and control method for the same
JP2018037764A (en) Control program
WO2016052716A1 (en) Information processing device, control program, display device, terminal device, short-range wireless communication system, and method for controlling information processing device
JPWO2013136702A1 (en) Wireless communication apparatus, wireless communication method, and wireless communication control program
JP2014143660A (en) Mobile terminal, display device, television receiver, and radio communication system
US10568157B2 (en) Communication apparatus that carries out communications with external apparatuses, control method therefor, and storage medium
WO2016052766A1 (en) Communication terminal, reception-side communication terminal, control program for communication terminal, and presentation method
JP2016174374A (en) Mobile information terminal and image formation apparatus for use in image formation system
WO2017138153A1 (en) Terminal device, management method, control method, management program, and control program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15846728

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15846728

Country of ref document: EP

Kind code of ref document: A1