The present disclosure relates to a layout image adjustment technology, and in particular, to a method and device for adjusting a layout image according to an effective region dimension, and a platform system using the method or device.
Layout images are flat images, and each of them has a plurality of patterns therein, wherein the patterns can be used to present tables, chairs, sofas, machines, entrances, exits or other objects which can be disposed in a space. The layout images are usually seen in life. For example, when the customers want to eat in restaurants, the customers log in platform system via smart phones to select restaurants, and to refer layout images of specific floors of the restaurants for inspecting positions of the tables or chairs disposed in spaces of the specific floors of the restaurants, such that the customers can select their favored positions to book. For another example, when interior designers design interiors of houses, they provide the layout images to house holders, such that the house holders can inspect positions of objects disposed in the interiors.
However, different electronic devices have different dimensions of displays, and according to disposition and handheld manners of the electronic devices (for example, pads or smart phones can be disposed or handheld without rotations, or the pads or smart phones can be disposed or handheld with a rotation of 90 degrees), effective regions have different effective region dimensions for displaying the layout images. For the different effective region dimensions, if the layout images are not adjusted, it may cause inconvenience to users of the electronic devices for viewing the layout images, and the user experience may be poor. Though there are methods or devices to scale down the whole layout images according to the effective region dimensions, the patterns in the scaled down layout images may be too small, it still causes inconvenience to the users of the electronic devices for viewing the layout images, and the user experience is still poor.
An object of the present disclosure is to provide a layout image adjustment method which used to adjust a layout image comprising a plurality of patterns therein according to an effective region dimension of an effective region. The layout image adjustment method comprises steps of: adjusting pattern dimensions of the patterns in the layout image according to the effective region dimension; adjusting pattern positions of the patterns according to the effective region dimension; adjusting at least one pattern position of overlapped patterns to make the overlapped patterns non-overlapped if there are the overlapped patterns after the pattern positions are adjusted according to the effective region dimension; and adjusting a layout image dimension of the layout image according to the effective region dimension if there is at least one pattern exceeds the effective region after the at least one pattern position of the overlapped patterns is adjusted.
Another object of the present disclosure is to provide a platform system which comprises a platform server or a cloud computing service apparatus, at least one customer terminal device and at least one proprietor terminal device. The customer terminal device is communicatively connected to the platform server or the cloud computing service apparatus. The proprietor terminal device is communicatively connected to the platform server or the cloud computing service apparatus, and the platform server or the cloud computing service apparatus obtains a layout image comprising a plurality of patterns via the proprietor terminal device. At least one at least one of the platform server or the cloud computing service apparatus, the customer terminal device or the proprietor terminal device is used to execute the steps of the layout image adjustment method.
Another object of the present disclosure is to provide a layout image adjustment device which used to adjust a layout image comprising a plurality of patterns therein according to an effective region dimension of an effective region, and the layout image adjustment device comprises a pattern dimension adjustment module, a pattern position adjustment module and a layout image dimension adjustment module. The pattern dimension adjustment module is used to adjust pattern dimensions of the patterns in the layout image according to the effective region dimension. The pattern position adjustment module is connected to the pattern dimension adjustment module, used to adjust pattern positions of the patterns according to the effective region dimension, and used to adjust at least one pattern position of overlapped patterns to make the overlapped patterns non-overlapped if there are the overlapped patterns after the pattern positions are adjusted according to the effective region dimension. The layout image dimension adjustment module is connected to the pattern position adjustment module, and used to adjust a layout image dimension of the layout image according to the effective region dimension if there is at least one pattern exceeds the effective region after the at least one pattern position of the overlapped patterns is adjusted.
Optionally, the adjusted pattern dimension is not less than a minimum pattern dimension, a transformation curve between the effective region dimension and the pattern dimension is a linear curve, a step curve or an arbitrary monotonically increasing function curve, a transformation curve between the effective region dimension and the pattern position is a linear curve or an arbitrary monotonically increasing function curve, and a transformation curve between the effective region dimension and the layout image dimension is a linear curve or an arbitrary monotonically increasing function curve.
Optionally, the effective region dimension comprises a width and/or a length of the effective region, the pattern position comprises a vertical distance and/or a horizontal distance of the pattern is respect to a reference point, and the layout image dimension comprises a width and/or a length of the layout image.
Optionally, when adjusting the at least one pattern position of the overlapped patterns, one of the overlapped patterns is fixed and another one of the overlapped patterns is moved to make the overlapped patterns non-overlapped.
Optionally, the top and/or left one of the overlapped patterns is fixed, and the other one of the overlapped patterns is moved down and/or right.
Optionally, the pattern comprises auxiliary information.
Optionally, the auxiliary information comprises a table number, a maximum capacity and a minimum booking number of people.
Optionally, the platform system is a platform system which allows the restaurant proprietor to provide a restaurant space layout image to customers for booking, a platform system which allows an interior designer to provide an interior design layout image to a householder for referring, a platform system which allows an exhibition layout staff to provide an exhibition layout image to an exhibition holder for referring or a platform system which allows a wedding consultant to provide a wedding banquet layout image to a wedding couple for referring.
In short, compared to the prior art, by using the layout image adjustment method, device and the platform system of an embodiment of the present disclosure, when the users use different terminal devices to view the layout image, the poor user experiences can be avoided since the patterns in the adjusted layout image have proper sizes and pattern positions of the patterns are clear to be viewed.
The structure as well as preferred modes of use, further objects, and advantages of this present disclosure will be best understood by referring to the following detailed description of some illustrative embodiments in conjunction with the accompanying drawings, in which:
The present disclosure provides a technology for adjusting a layout image according to an effective region dimension, wherein the effective region dimension comprises at least one of a width and a length of an effective region which is used to display the adjusted layout image, and the present disclosure is not limited thereto. Briefly speaking, the layout image adjustment method and device adjust pattern dimensions and pattern positions of patterns in the layout image according to the effective region, wherein the pattern dimension comprises at least one of a width and a length of the pattern, and the present disclosure is not limited thereto. In an embodiment, the adjusted pattern is not less than a minimum pattern dimension. Next, at least one pattern position of the overlapped pattern is adjusted, and then the whole layout image is scaled down to make a layout image dimension match the effective region dimension if the layout image dimension is larger than the effective region dimension after the at least one pattern position of the overlapped pattern is adjusted, wherein the layout image dimension comprises at least one of a width and a length of the layout image, and the present disclosure is not limited thereto.
By using the above technology, since the pattern dimensions are adjusted according to the effective region dimension, such that the situation that the pattern is too small can be avoided. Further, by adjusting the at least one pattern position of the overlapped patterns and selectively scaling down the whole layout image, the situation that the patterns are overlapped and the adjusted layout image exceeds the effective region can be avoided, and the effective region is fully used to display the adjusted layout image. Even the customer users use different customer terminal devices having different effective regions to view the layout image, the poor user experiences can be avoided since the patterns in the adjusted layout image have proper sizes and pattern positions of the patterns are clear to be viewed. In other words, the layout image adjustment method and device according to embodiments of the present disclosure can enhance the user experiences and conveniences.
Further, the layout image adjustment method and device according to embodiments of the present disclosure can applied in platform systems of different fields and applications, for example, a platform system which allows the restaurant proprietor to provide a restaurant space layout image to customers for booking, a platform system which allows an interior designer to provide an interior design layout image to a householder for referring, a platform system which allows an exhibition layout staff to provide an exhibition layout image to an exhibition holder for referring and a platform system which allows a wedding consultant to provide a wedding banquet layout image to a wedding couple for referring. Accordingly, the layout image adjustment method and device of the present disclosure have the practical applications and high industrial usages.
After illustrating the invention concepts of the present disclosure, please refer
It is noted that, though in the embodiment of
Next, referring to
The pattern dimension adjustment module 21 acquires the effective region dimension of the proprietor terminal device or the customer terminal device, and adjusts the pattern dimensions according to the effective region dimension. For example, the effective region dimension comprises the width and/or length of the effective region, the pattern dimension comprises the width and/or length of the pattern, and the pattern dimension adjustment module 21 adjusts the widths and/or lengths of the patterns according to the width and/or length of the effective region, wherein the larger are the width and/or length of the effective region, the larger are the adjusted widths and/or lengths of the patterns, but the adjusted widths and/or lengths of the patterns are not less than a minimum width and/or a minimum length, so as to prevent the situation that the adjusted patterns are too small to be clearly viewed by the customer or proprietor user. Specifically, a transformation curve between the effective region dimension and the pattern dimension is a linear curve (as shown in
After the pattern dimensions are adjusted, the pattern position adjustment module 22 adjusts the pattern positions according to the effective region dimension. For example, the effective region dimension comprises the width and/or length of the effective region, the pattern position comprises a vertical distance and/or a horizontal distance from a reference point to the central point of the pattern, the pattern position adjustment module 22 adjusts the vertical distances and/or the horizontal distances from the reference point to the central points of the patterns according to the width and/or length of the effective region, wherein the larger are the width and/or length of the effective region, the larger are the adjusted vertical distances and/or the adjusted horizontal distances from the reference point to the central points of the patterns. Specifically, a transformation curve between the effective region dimension and the pattern position is a linear curve (as shown in
After the pattern positions are adjusted, there are two or more than two adjusted patterns overlapped in the adjusted layout image, and thus the pattern position adjustment module 22 further adjust at least one of pattern positions of the overlapped patterns to make the overlapped patterns non-overlapped. For example, the top left, top or most left one of the overlapped patterns is fixed (i.e. the pattern position of the top left, top or most left one of the overlapped patterns are not adjusted), and at least another one of the overlapped patterns is moved downward and/or right (i.e. at least another one pattern position of the overlapped patterns is adjusted) until the overlapped patterns are adjusted to be non-overlapped. The above manner for adjusting the overlapped patterns is one implementation of the present disclosure, and details of the adjustment of the overlapped patterns are not used to limit the present disclosure. The pattern position adjustment module 22 adjusts pattern positions of all overlapped patterns in the layout image until the all overlapped patterns in the layout image are adjusted to be non-overlapped.
When the pattern position adjustment module 22 adjusts the pattern positions of the overlapped patterns, the adjusted pattern is allowed to exceed the effective region (i.e. the adjust pattern position or the adjusted pattern itself exceed the effective region), and thus the layout image dimension is updated (i.e. the layout image dimension is extended) to accommodate all adjusted patterns. Next, when the one or more adjusted patterns exceed the effective region, the layout image dimension adjustment module 23 adjusts the layout image dimension according to the effective region dimension. For example, the effective region dimension comprises the width and/or length of the effective region, the layout image dimension comprises the width and/or length of the layout image, and the layout image dimension adjustment module 23 adjusts the width and/or length of the layout image according to the width and/or length of the effective region which is used to display the adjusted layout image, wherein the larger are the width and/or length of the layout image, the larger are the width and/or length of the layout image. Specifically, a transformation curve between the effective region dimension and the layout image dimension is a linear curve (as shown in
By using the layout image adjustment device 2, even the effective dimensions of the effective region associated with the customer terminal device(s) and the proprietor terminal device for displaying the adjusted layout images are different from each other, the patterns in the adjusted layout image are not too small and overlapped, and the patterns and the pattern positions can be clearly viewed by the users of the customer terminal device(s) and the proprietor terminal device. Moreover, the customer terminal device or the proprietor terminal device can be held or disposed vertically or horizontally (i.e. the two holding/disposing manners have a rotation angle of 90 degrees), and the layout image adjustment device 2 can generate two adjusted layout images corresponding to the two holding/disposing manners to the customer terminal device or the proprietor terminal device, such that even the user holds or disposes the customer terminal device or the proprietor terminal device vertically or horizontally, the patterns and the pattern position of the adjusted layout image can still be clearly viewed by the user.
Next, referring to
Next, at step S32, a pattern position of each pattern in the layout image is adjusted according to the effective region dimension of the effective region, wherein a transformation curve between the effective region dimension and the pattern position is a linear curve (as shown in
At step S34, the at least one pattern position of the overlapped patterns is adjusted until there are no overlapped patterns, wherein the manner for adjusting the at least one pattern position of the overlapped patterns is to select one of the overlapped patterns to be fixed (for example, the top and left one), and move another one of the overlapped pattern downward and/or right until the overlapped patterns are adjusted to be non-overlapped. Step S34 is repeatedly executed until all patterns in the layout image are non-overlapped, and then step S35 is executed.
Referring to
Further refer to
Next, referring to
When the customer user uses the customer terminal device (such as, a notebook, pad or smart phone) to log in the platform server for booking, steps S42 through S44 are executed. At step S42, the platform server can adjust the layout image according to the effective region dimension of the customer terminal device, and send the adjusted layout image to the customer terminal device which displays the adjusted layout image. Or alternatively, at step S42, the platform server transmits the layout parameters generated based on the adjusted layout image to the customer terminal device, and the customer terminal device can generate the adjusted image according to the received layout parameters of the adjusted layout image. The customer terminal device then displays the adjusted layout image on the effective region. By the way, the manner for adjusting the layout image is illustrated as above, and the redundant descriptions are omitted herein. It is noted that steps S42 and S43 are not used to limit the present disclosure, and in another embodiment, the platform server transmits the layout parameters of the original layout image to the customer terminal device, and the customer terminal device adjusts the layout image by the above manner for adjusting the layout image, and then obtains the layout parameters of the adjusted layout image. Next, at step S44, the platform server obtains the booking information transmitted by the customer terminal device.
The customer user can operate the customer terminal device to input a reservation date and time, a booking number of people and/or other keywords to the platform server, the platform server accordingly search restaurants which match the searching condition, and the platform server transmits the information of the searched restaurants to the customer terminal device. Next, the customer user selects one of the searched restaurants for making the reservation, and then the platform server transmits the adjusted layout image of the restaurant to the customer user device, such that the customer user can view and refer the layout of the restaurant. In another embodiment, the customer user may operate the customer user device to link to a webpage provided by the proprietor of the restaurant, and then, log in the platform server via the webpage, such that the platform server can transmit the adjusted layout image of the restaurant to the customer user device for booking. Or alternatively, the platform server transmits the original layout parameters of the layout image to the customer terminal device, and the customer terminal device itself adjusts the layout parameters to obtain the adjusted layout image. Next, the customer user can operate the customer terminal device to input information of the reservation data and time, a reservation table and the booking number of people to the platform server, so as to complete the booking.
Next, refer to
In
The entrance pattern 69, the room pattern 60, the table patterns 61-68, 601, 602 and the room entrance pattern 603 are obtained by scaling down the entrance pattern 59, the room pattern 50, the table patterns 51-58, 501, 502 and the room entrance pattern 603. However, as shown in
To sum up, a layout image adjustment method, device and a platform system using the same provided by embodiments of the present disclosure have the following benefit technical results. When the users use different terminal devices to view the layout image, the poor user experiences can be avoided since the patterns in the adjusted layout image have proper sizes and pattern positions of the patterns are clear to be viewed. In other words, the layout image adjustment method and device enhances the user experiences and conveniences. Furthermore, the layout image adjustment method and device can applied in platform systems of different fields and applications, such that the present disclosure has high industrial utilization value.
The above disclosure is only the preferred embodiment of the present disclosure, and not used for limiting the scope of the present disclosure. All equivalent variations and modifications on the basis of shapes, structures, features and spirits described in claims of the present disclosure should be included in the claims of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
109101723 | Jan 2020 | TW | national |