This application is based upon and claims the benefit of priority of the prior Japanese Patent Application No. 2016-147866, filed on Jul. 27, 2016, the entire contents of which are incorporated herein by reference.
The embodiments discussed herein are related to a setting control method and a setting control device.
In recent years, technology that generates an itinerary and provides it to the user is known. For example, a service is provided in which a spot that is popular among users is selected from among a plurality of spots in a prescribed area related to entertainment, sports, culture, etc. so as to generate an itinerary of touring around the selected spots. Also, a plurality of itineraries generated for the user are provided. Also, technology that can be used for assisting in generating or managing an itinerary is also known.
Patent Document 1: Japanese Laid-open Patent Publication No. 2000-193478
Patent Document 2: Japanese Laid-open Patent Publication No. 2007-271366
According to an aspect of the embodiments, a non-transitory computer-readable recording medium having stored therein a setting control program causes a computer to execute a process, the process including setting, when receiving a change instruction to change an attribute of a first itinerary including at least one piece of spot information to a visited state, the attribute of the first itinerary to a visited state and executing an update process of updating setting so that an attribute of each piece of spot information included in the first itinerary becomes a visited state, and refraining from setting an attribute of a second itinerary to a visited state even when attributes of all pieces of spot information included in the second itinerary have become a visited state in response to the update process for the second itinerary whose attribute is a not-visited state.
The object and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the claims.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention.
As described above, there are pieces of software that provide services of assisting in generating or managing itineraries. Note that software such as this may also be referred to as assistance software. By using assistance software, the user can select spots from among for example a plurality of spots in a prescribed area related to entertainment, sports, culture, etc. so as to generate an itinerary of touring around the selected spots. Also, the user can be provided with the itinerary generated by using the assistance software.
Also, assistance software may be provided with an editing function so that the user can customize an itinerary by using assistance software such as by adding or deleting spots to or from an itinerary, changing a route, etc. Further, by providing assistance software with a function of allowing a plurality of users to share an itinerary, a plurality of people can share one itinerary so as to edit it.
Using this type of assistance software makes it possible for the user to for example generate an itinerary that satisfies his or her preference. This makes it possible for the users to generate unique itineraries that satisfy the user's preference such as for example an itinerary of touring around haunted spots for users who have a hobby of touring around such spots, an itinerary of touring around cut-out face signs for taking pictures with faces fit into them, etc. Then, other users can find an itinerary that satisfies his or her preference from among for example many unique itineraries so as to use it or customize it.
Also, assistance software may further be provided with artificial intelligence so that it analyzes relationships between people or people having similar hobbies in order to recommend an itinerary that satisfies the users' preference.
In preparing an itinerary, an itinerary that a user has never experienced is more likely to become a candidate for the destination of a next tour than is a spot or an itinerary that they have visited or experienced before. Thus, when for example the user experienced a tour based on an itinerary for which a plurality of spots are registered, the assistance software sometimes sets, for the tour based on that itinerary, an attribute indicating that the user has visited the tour based on that itinerary. However, in such a case, because the user has visited each of the plurality of spots included in the itinerary, a process of setting an attribute of a visited state may occur for each of the spots, resulting in complexity. In view of this, it is desired that technology that can suppress the complexity in setting information that represents a visited state for an itinerary or a spot be provided.
In the embodiments, which will be described later, when the user changes the attribute of an itinerary to a visited state in assistance software, the attributes of all spots included in that itinerary are respectively changed to a visited state in the assistance software. This makes it easy for the user to set spots included in an itinerary to a visited state when the user sets that itinerary to a visited state.
Also, for example a spot is sometimes registered for a plurality of itineraries in assistance software. Also, when for example the user set the attribute of an itinerary or a spot to a visited state, the attributes of all spots included in a different itinerary that is still set to a not-visited state may sometimes become a visited state. However, even when an itinerary includes the same spots such as an itinerary of touring around haunted spots, an itinerary of touring around cut-out face signs for taking pictures with faces fit into them, etc., it may be based on different intentions. This makes it desirable to treat these two itineraries as separate itineraries. It is assumed for example that the user set the attributes of an itinerary or spots to a visited state, and, in response to the setting, all spots included in a different itinerary whose attribute is still set to a not-visited state changed to a visited state. Even in this case, the attribute of that different itinerary is not changed to a visited state in the following embodiments. Thus, the embodiments make it possible to manage information on whether or not an itinerary has been visited with a higher accuracy.
Hereinafter, detailed explanations will be given for some of the embodiments by referring to the drawings. Note that elements corresponding to each other over a plurality of figures will be denoted by the same symbol.
While
The server 100 is an example of a setting control device that for example provides the terminal devices 10 with an itinerary assistance service, which assists in generating or managing an itinerary, and controls the setting of information on whether or not an itinerary or a spot is a visited state. Note that the itinerary assistance service, which assists in generating or managing an itinerary, may be provided by for example the execution of assistance software by the server 100. When for example the server 100 has registered information of an itinerary and receives an access related to the information of the itinerary from the terminal device 10, the server may report the information of the itinerary to display the information on the display window of the display device included in the terminal device 10. Note that an itinerary may be registered in the server 100 for example by the user through the terminal device 10 as described above, or may be registered in the server 100 by the administrator of the server 100.
Next, explanations will be given fora setting control process of information representing a visited state in the embodiment. First, explanations will be given for information that is used in a setting control process. As described above, the storage unit 210 of the server 100 may store for example a setting control program, the itinerary master 600, the spot master 700, the association information 800, visited-state information 900, which will be described later, etc.
In S1101, the control unit 200 of the server 100 changes the attribute of the entry corresponding to the itinerary 301 that is specified by the received instruction to information representing a visited state (for example a value of 1) in the visited-state information 900 so as to update the setting of the attribute. Note that the entry corresponding to the itinerary 301 may be an entry that includes for example the itinerary ID corresponding to the itinerary 301 selected in the itinerary list window 300 and that has no designation in the spot ID (for example null) in
Also, the control unit 200 in S1102 changes the attribute to the information representing a visited state (for example a value of 1) so as to update the setting of the attribute also for the entry corresponding to the spot information 401 included in the selected itinerary 301 in the visited-state information 900. For example, the control unit 200 sets the attributes of all the other entries including itinerary IDs that correspond to the selected itinerary 301 to a visited state.
In S1103, the control unit 200 sets, to a visited state, the attributes of all the other entries including the spot IDs of the entries that were changed to a visited state in S1102, so as to update the setting of the attributes, and the present flow is terminated.
As described above, according to the embodiment, when the attribute of the itinerary 301 is changed to information representing a visited state, the attributes of all the entries including the spot information 401 included in the itinerary 301 are changed to a visited state. This eliminates the necessity for the user to set information representing a visited state to the pieces of spot information 401 included in the itinerary 301 respectively. Thereby, information representing a visited state can be set easily.
Also, in a case when an itinerary 301 is set to a visited state and the attributes of all the pieces of spot information 401 included in that itinerary 301 are changed to a visited state, all the pieces of the spot information 401 included in a different itinerary 301 may sometimes be changed to a visited state. For example, in
The control unit 200 of the server 100 in S1201 updates, to information representing a visited state, the attribute of the spot information 401 for which an instruction of setting to a visited state was input, and thereby updates the setting of the attribute. For example, the control unit 200 changes, to a visited state (for example a value of 1), the attribute of the entry of the visited-state information 900 including the itinerary ID of the itinerary 301 corresponding to the spot list window 400 to which the instruction was input and the spot ID of the spot information 401 specified in the instruction.
In S1202, the control unit 200 changes the attributes also of other entries including the spot ID of the spot information 401 for which an instruction was input to information representing a visited state so as to update the setting of the attribute in the visited-state information 900 as well.
In S1203, the control unit 200 determines whether or not the attributes of all the pieces of the spot information 401 included in the spot list window 400 that includes the spot information 401 for which instructions were input have been changed to a visited state. When the attributes of all the pieces of the spot information 401 have been changed to a visited state (YES in S1203), the flow proceeds to S1204. In S1204, the control unit 200 changes, to information representing a visited state in the visited-state information 900, the attribute of an entry of the itinerary 301 corresponding to the spot list window 400 in which the attributes of all the pieces of spot information 401 have become a visited state, and updates the setting of the attribute, and the present flow is terminated. For example, the control unit 200 changes, to information representing a visited state, the attribute of an entry that includes an itinerary ID of the itinerary 301 corresponding to the spot list window 400 and that has “null” as the spot ID. Meanwhile, when attributes of not all the pieces of the spot information 401 have been changed to a visited state (NO in S1203), the present flow is terminated.
It is assumed as described above that the control unit 200 changed the attribute of the spot information 401 to information representing a visited state in the spot list window 400. In such a case, when all the pieces of the spot information 401 in the spot list window 400 have become a visited state, the control unit 200 changes the itinerary 301 corresponding to the spot list window 400 to a visited state. As described above, when the attributes of all the pieces of the spot information 401 displayed by activating an itinerary 301 are set to a visited state, the attributes of that itinerary 301 are set to a visited state automatically. This can eliminate the necessity for the user to change both the spot information 401 and the itinerary 301 to a visited state.
Meanwhile, when the attribute of a piece of the spot information 401 included in an itinerary 301 is changed to a visited state, the attributes of all the pieces of the spot information 401 included in a different itinerary 301 sometimes become a visited state. It is assumed for example in
In S1301, the control unit 200 obtains information in accordance with the input display instruction. For example, when an instruction to display the itinerary list window 300 has been input, the control unit 200 reads information of an entry having a spot ID of “null” from the visited-state information 900. When an instruction to display the spot list window 400 has been input, the control unit 200 reads information of an entry having a spot ID of not “null” from the visited-state information 900.
In S1302, the control unit 200 refers to the attributes in the information of the read entries, and rearranges the entries in such a manner that entries in which information representing a not-visited state (for example a value of 0) is set are given a higher priority than entries in which information representing a visited state (for example a value of 1) are given. When for example an instruction to display the itinerary list window 300 has been input, the control unit 200 refers to the attribute of an entry, read from the visited-state information 900, that has a spot ID of “null”. Then, the control unit 200 rearranges the entries in such a manner that entries having a value of 1, which corresponds to a visited state, are arranged at higher positions than those having a value of 0, which corresponds to a not-visited state. Similarly, when for example an instruction to display the spot list window 400 has been input, the control unit 200 refers to the attribute of an entry, read from the visited-state information 900, that has a spot ID of not “null”. Then, the control unit 200 rearranges the entries in such a manner that entries having a value of 1, which corresponds to a visited state, are arranged at higher positions than those having a value of 0, which corresponds to a not-visited state. The arranging of entries having a value of 1 at higher positions is a setting of display in the display screen of the terminal device 10 so that such entries are more noticeable for the user, and in an example, such entries may be arranged at higher tiers.
In S1303, the control unit 200 generates display information for displaying read entries in the order obtained through the rearranging, and reports the information to the terminal device 10. When for example an instruction to display the itinerary list window 300 has been input, the control unit 200 outputs, to the terminal device 10, display information for arranging and displaying entries that have a spot ID of “null” and an attribute of a value of 0 at higher positions, the entries having been read from the visited-state information 900. Note that
As described above, the control unit 200 according to the embodiment gives a higher priority to an entry having a not-visited attribute so as to display it at a higher position when the control unit 200 outputs display information for displaying the itinerary list window 300, the spot list window 400, etc. in the display window of the terminal device 10. This makes it easy for the user to check the itinerary 301 or the spot information 401 that they have not experienced or visited before, when the itinerary list window 300 or the spot list window 400 is displayed in a display window of the terminal device 10. Also, by displaying information in the above manner, the embodiment can more reliably give priority to information that is useful to the user so as to display the information to the user.
While the above description exemplifies information such as the itinerary master 600, the spot master 700, the association information 800, the visited-state information 900, etc. in a format of tables, the embodiments is not limited to these examples. For example, the above information may be stored in the storage unit 210 in a different format such as a relational database, KVS (Key-Value store), etc., when it is possible to associate information that is associated by entries of these types of information. Also, in
Also, the operation flows illustrated in
The processor 1401 uses the memory 1402 to execute for example a setting control program that describes the procedures of the above operation flows, and thereby provides some or all of the functions of the above control unit 200. Also, the storage unit 210 includes for example the memory 1402, the storage device 1403 and a detachable storage medium 1405. The storage device 1403 such as the server 100 stores information such as the itinerary master 600, the spot master 700, the association information 800, the visited-state information 900, etc.
The memory 1402 is for example a semiconductor memory, and may include a RAM region and a ROM region. The storage device 1403 is for example a hard disk, a semiconductor memory such as a flash memory etc., or an external storage device. RAM is an abbreviation for Random Access Memory. ROM is an abbreviation for Read Only Memory.
The reading device 1404 accesses the detachable storage medium 1405 in accordance with an instruction from the processor 1401. The detachable storage medium 1405 is implemented by for example a semiconductor device (such as a USB memory etc.), a medium to and from which information is input and read through magnetic effects (such as a magnetic disk etc.), a medium to and from which information is input and output through optical effects (such as a CD-ROM, a DVD, etc.), or other devices. Note that USB is an abbreviation for Universal Serial Bus. CD is an abbreviation for Compact Disk. DVD is an abbreviation for Digital Versatile Disk.
The communication interface 1406 transmits and receives data via a network 50 in accordance with an instruction from the processor 1401. The communication unit 220 is for example the communication interface 1406. The computer 1400 is connected to the terminal device 10 via for example the communication interface 1406. The input/output interface 1407 may be an interface for the input device and the output device, for example. The input device is for example a device such as a keyboard, a mouse, etc., which receive an instruction from the user. The output device is for example a display device such as a display etc. or an audio device such as a speaker device etc.
Respective programs according to the embodiments are provided to the server 100 in a form for example in which:
(1) They are installed in the storage device 1403 in advance
(2) They are provided through the detachable storage medium 1405
(3) They are provided by a different server 1430 such as a program server
Note that the hardware configuration of the computer 1400 for implementing the server 100 described by referring to
Some embodiments have been explained above. However, it is to be understood that the scope of the embodiments is not limited to the above but includes various types of variations and alternatives of the above embodiments. For example, it is to be understood that the respective embodiments can be embodied by modifying constituents without departing from the spirit or the scope of the embodiments. It is to be understood also that various embodiments can be achieved by appropriately combining the plurality of constituents disclosed in the above embodiments. It is further to be understood by those skilled in the art that various embodiments can be achieved by deleting or replacing some or all the constituents described in the embodiments or by adding some constituents to constituents described in the embodiments.
The above embodiments can suppress complexity accompanying the setting of information representing a visited state for an itinerary or a spot.
All examples and conditional language provided herein are intended for the pedagogical purposes of aiding the reader in understanding the invention and the concepts contributed by the inventor to further the art, and are not to be construed as limitations to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although one or more embodiments of the present invention have been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2016-147866 | Jul 2016 | JP | national |