Card deck interaction method, system, device and storage medium based on a mobile terminal
By implementing card group interaction methods on mobile terminals, including card information reception, cascade display and dynamic adjustment, the problem of poor card game operation experience in mobile terminals is solved, interactivity and fun are improved, and the similarity with traditional card games is enhanced.
Patent Information
- Application Number
- CN202111646300.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-29
- Publication Date
- 2025-06-24
- Estimated Expiration
- 2041-12-29
AI Technical Summary
The operating experience of existing card games on mobile terminals is poor, and the lack of optimization of mobile terminal interaction experience has led to a decrease in operational process and fun.
By realizing the card group interaction method on the mobile terminal, it includes receiving card information, displaying card patterns on a cascade, detecting the tilt angle of the mobile terminal in real time and adjusting the card central axis, and detecting the sliding track to determine the operating card.
It enhances the interactivity and fun of card operations at mobile terminals, enables users to operate cards with one hand, improves the grip experience with traditional card games, and improves the mimicry level of electronic card games.
Smart Images

Figure CN114307140B_ABST
Abstract
Description
Background Art
[0002] As front-end technology becomes increasingly important in web development, front-end developers use more and more animations in their projects, and more and more cool animations need to be displayed on mobile devices. In marketing campaigns, card draws are often needed to increase user experience and maintain interaction with users.
[0003] However, most of the current card operation experiences simply copy the existing operation methods on PC or web pages, without any optimization of the interactive experience on mobile terminals, which greatly restricts the operation flow and fun of playing card games on mobile terminals.
[0004] For example, after the popular card games on the personal computer (PC) platform are ported to the mobile terminal platform, the cards are usually laid out horizontally on the screen. This display method is completely different from the holding feeling of traditional playing cards, which greatly reduces the humanized experience of card operations.
[0005] Therefore, the present invention provides a card set interaction method, system, device and storage medium based on a mobile terminal. Summary of the invention
[0006] In view of the problems in the prior art, the purpose of the present invention is to provide a card set interaction method, system, device and storage medium based on a mobile terminal, which overcomes the difficulties of the prior art, can enhance the interactivity and fun of operating cards based on a mobile terminal, and facilitate users to operate cards with one hand using a mobile terminal.
[0007] An embodiment of the present invention provides a card set interaction method based on a mobile terminal, comprising the following steps:
[0008] S110, the user account of the mobile terminal receives card information to establish a card set, wherein the card set at least includes a card sequence formed by the current card information of the user account and each card information;
[0009] S120, displaying a card pattern corresponding to each card in a stacked manner based on the card sequence, wherein the card pattern on the upper layer at least partially covers the card pattern on the lower layer, the central axis of each of the card patterns intersects at the same rotation point, and each of the card patterns has a circular rotation stroke with the rotation point as the center and a preset length as the radius;
[0010] S130, detecting a first angle A between the mobile terminal and a horizontal plane in real time; and
[0011] S140: adjusting a second angle B formed by central axes of adjacent cards in the card sequence according to the angle, wherein the first angle A is negatively correlated with the second angle B.
[0012] Preferably, in the step S110, the card sequence is a card sequence obtained by sorting the values corresponding to the current card information numerically.
[0013] Preferably, in the step S120, based on the card patterns corresponding to two adjacent cards in the card sequence, the card pattern on the upper layer at least partially covers the card pattern on the lower layer, and the card pattern on the lower layer at least partially exposes outside the card pattern on the upper layer.
[0014] Preferably, an information display area of the card is established based on the area where the card pattern on the lower layer at least partially exposes outside the card pattern on the upper layer, and at least part of the card information corresponding to the card pattern on the lower layer is displayed in the information display area, and the font size for displaying the card information is positively correlated with the area size of the information display area.
[0015] Preferably, the information display area is a triangular area formed by a long side of the card pattern on the upper layer, a long side of the card pattern on the lower layer, and a partial short side of the card pattern on the lower layer.
[0016] Preferably, in the step S130, a first angle A between the screen of the mobile terminal and the horizontal plane is detected by a three-dimensional motion sensor built in the mobile terminal.
[0017] Preferably, in the step S140, when the mobile terminal gets closer to being perpendicular to the horizontal plane, the second angle between the central axes of the adjacent cards is smaller, and the central angle of the sector pattern formed by the card patterns is smaller;
[0018] when the mobile terminal gets closer to being parallel to the horizontal plane, the second angle between the central axes of the adjacent cards is larger, and the central angle of the sector pattern formed by the card patterns is larger.
[0019] Preferably, in the step S140, the functional relationship between the first angle A and the second angle B is as follows:
[0020] B = (S - C×A)÷N;
[0021] wherein, the value range of the preset coefficient S is [120°, 150°], the value range of the preset coefficient C is [1.2, 1.5], and N is the total number of card information in the current card sequence.
[0022] Preferably, the following steps are further included:
[0023] S150: When a sliding track passing through the rotation point is detected, the overlapping areas of the sliding track and the information display area of each card are obtained and sorted, and the card with the largest overlapping area is used as the operation card of the user account.
[0024] An embodiment of the present invention further provides a mobile terminal-based card set interactive system, which is used to implement the mobile terminal-based card set interactive method. The mobile terminal-based card set interactive system includes:
[0025] A card information module, wherein the user account of the mobile terminal receives card information to establish a card set, wherein the card set at least includes a card sequence formed by the current card information of the user account and each of the card information;
[0026] A card display module, which displays the card pattern corresponding to each card in a stacked manner based on the card sequence, wherein the card pattern on the upper layer at least partially covers the card pattern on the lower layer, the central axis of each of the card patterns intersects at the same rotation point, and each of the card patterns has a circular rotation stroke with the rotation point as the center and a preset length as the radius;
[0027] a grip posture detection module, for detecting in real time a first angle A between the mobile terminal and a horizontal plane; and
[0028] The dynamic interaction module adjusts a second angle B formed by the central axes of adjacent cards in the card sequence according to the angle, wherein the first angle A is negatively correlated with the second angle B.
[0029] An embodiment of the present invention further provides a card set interaction device based on a mobile terminal, comprising:
[0030] processor;
[0031] a memory storing executable instructions of the processor;
[0032] Wherein, the processor is configured to execute the steps of the above-mentioned mobile terminal-based card set interaction method by executing the executable instructions.
[0033] An embodiment of the present invention further provides a computer-readable storage medium for storing a program, which, when executed, implements the steps of the above-mentioned mobile terminal-based card group interaction method.
[0034] The purpose of the present invention is to provide a card set interaction method, system, device and storage medium based on a mobile terminal, which can enhance the interactivity and fun of operating cards based on a mobile terminal, and facilitate users to operate cards with one hand using a mobile terminal. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Other features, objects, and advantages of the present invention will become more apparent from the following detailed description of non-limiting embodiments read in conjunction with the accompanying drawings.
[0036] Figure 1 is a flowchart of the method for interacting with a card deck based on a mobile terminal according to the present invention.
[0037] Figures 2 to 8 is a schematic diagram of the implementation process of the method for interacting with a card deck based on a mobile terminal according to the present invention.
[0038] Figure 9 is a schematic diagram of the modules of the system for interacting with a card deck based on a mobile terminal according to the present invention.
[0039] Figure 10 is a schematic diagram of the structure of the device for interacting with a card deck based on a mobile terminal according to the present invention.
[0040] Figure 11 is a schematic diagram of the structure of a computer-readable storage medium according to an embodiment of the present invention. Detailed Embodiments
[0041] The following uses specific specific examples to illustrate the implementation manners of the present application. Those skilled in the art can easily understand other advantages and effects of the present application from the content disclosed in the present application. The present application can also be implemented or applied through other different specific implementation manners. Various details in the present application can also be modified or changed according to different viewpoints and application systems without departing from the spirit of the present application. It should be noted that, without conflict, the embodiments and features in the embodiments of the present application can be combined with each other.
[0042] The following takes the drawings as a reference and details the embodiments of the present application so that those skilled in the art to which the present application pertains can easily implement it. The present application can be embodied in many different forms and is not limited to the embodiments described herein.
[0043] In the description of the present application, the reference terms "one embodiment", "some embodiments", "example", "specific example", or "some examples", etc., mean that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. Moreover, the specific features, structures, materials, or characteristics described can be combined in a suitable manner in any one or more embodiments or examples. In addition, without contradiction, those skilled in the art can combine and combine the different embodiments or examples described in the present application and the features of different embodiments or examples.
[0044] In addition, the terms "first" and "second" are used for illustrative purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "a plurality of" means two or more unless otherwise specifically defined.
[0045] To clearly illustrate the present application, devices irrelevant to the description are omitted, and the same or similar components throughout the specification are given the same reference numerals.
[0046] Throughout the specification, when it is said that a device is "connected" to another device, this includes not only the case of "direct connection" but also the case of "indirect connection" with other elements interposed therebetween. In addition, when it is said that a certain device "includes" a certain component, unless there is a particularly contrary record, it does not exclude other components but means that other components may also be included.
[0047] When it is said that a device is "above" another device, this may be directly above the other device, but there may also be other devices therebetween. When it is said that a device is "directly" "above" another device, there are no other devices therebetween.
[0048] Although in some instances the terms first, second, etc. are used herein to denote various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, the first interface and the second interface, etc. are indicated. Furthermore, as used herein, the singular forms "a", "an" and "the" are also intended to include the plural forms unless the context indicates otherwise. It should be further understood that the terms "comprising", "including" indicate the presence of the features, steps, operations, elements, components, items, kinds, and / or groups, but do not exclude the presence, occurrence or addition of one or more other features, steps, operations, elements, components, items, kinds, and / or groups. The terms "or" and "and / or" used herein are construed as inclusive, or meaning any one or any combination. Thus, "A, B or C" or "A, B and / or C" means "any one of the following: A; B; C; A and B; A and C; B and C; A, B and C". An exception to this definition occurs only when the combination of elements, functions, steps or operations is inherently mutually exclusive in some way.
[0049] The technical terms used herein are only for referring to specific embodiments and are not intended to limit the present application. The singular forms used herein also include the plural forms as long as the context does not clearly indicate the contrary meaning. The meaning of "including" used in the specification is to embody specific features, regions, integers, steps, operations, elements, and / or components, and does not exclude the existence or addition of other features, regions, integers, steps, operations, elements, and / or components.
[0050] Although not defined differently, including the technical terms and scientific terms used herein, all terms have the same meaning as generally understood by those skilled in the technical field to which the present application pertains. Terms defined in commonly used dictionaries are additionally interpreted to have meanings consistent with the relevant technical literature and the content presented herein. As long as they are not defined, they shall not be over-interpreted as ideal or overly formulaic meanings.
[0051] Figure 1 is a flowchart of the card deck interaction method based on a mobile terminal of the present invention. As Figure 1 shown, an embodiment of the present invention provides a card deck interaction method based on a mobile terminal, including the following steps:
[0052] S110. The user account of the mobile terminal receives card information to establish a card deck, and the card deck includes at least a card sequence formed by the current card information of the user account and each card information.
[0053] S120. Based on the card sequence, stack and display the card patterns corresponding to each card. The card pattern located on the upper layer at least partially covers the card pattern on the lower layer. The central axes of each card pattern intersect at the same rotation point, and each card pattern has a circumferential rotation path with the rotation point as the center and a preset length as the radius.
[0054] S130. Real-time detect the first angle A between the mobile terminal and the horizontal plane.
[0055] S140. Adjust the second angle B formed by the central axes of adjacent cards in the card sequence according to the angle. The first angle A and the second angle B are negatively correlated.
[0056] S150. When a sliding trajectory passing through the rotation point is detected, obtain the overlapping area between the sliding trajectory and the information display area of each card and sort them. The card with the largest overlapping area is used as the operation card of the user account, facilitating the user to play card games with only one hand.
[0057] In a preferred embodiment, in step S110, the card sequence includes a card sequence obtained by numerically sorting based on the values corresponding to the current card information.
[0058] In a preferred embodiment, in step S120, based on the card patterns corresponding to two adjacent cards in the card sequence, the card pattern on the upper layer at least partially covers the card pattern on the lower layer, and the card pattern on the lower layer at least partially exposes outside the card pattern on the upper layer.
[0059] In a preferred embodiment, a card information display area is established based on the area where the card pattern on the lower layer at least partially exposes outside the card pattern on the upper layer, and at least part of the card information corresponding to the card pattern on the lower layer is displayed in the information display area. The font size of the displayed card information is positively correlated with the area size of the information display area. The larger the area of the information display area, the larger the font of the displayed card information, which is convenient for the user to see the card information clearly; the smaller the area of the information display area, the smaller the font of the displayed card information, which is convenient for stacking and displaying more cards.
[0060] In a preferred embodiment, the information display area is a triangular area formed by a long side of the card pattern on the upper layer, a long side of the card pattern on the lower layer, and a partial short side of the card pattern on the lower layer.
[0061] In a preferred embodiment, in step S130, the first angle A between the screen of the mobile terminal and the horizontal plane is detected by a three-dimensional motion sensor built in the mobile terminal.
[0062] In a preferred embodiment, in step S140, when the mobile terminal gets closer to being perpendicular to the horizontal plane, the second angle between the central axes of adjacent cards is smaller, and the central angle of the sector pattern formed by the card patterns is smaller;
[0063] When the mobile terminal gets closer to being parallel to the horizontal plane, the second angle between the central axes of adjacent cards is larger, and the central angle of the sector pattern formed by the card patterns is larger.
[0064] In a preferred embodiment, in step S140, the functional relationship between the first angle A and the second angle B is as follows:
[0065] B = (S - C × A) ÷ N;
[0066] Wherein, the value range of the preset coefficient S is [120°, 150°], the value range of the preset coefficient C is [1.2, 1.5], and N is the total number of card information in the current card sequence.
[0067] A usage scenario of the present invention is to provide a user with a lot of cards for the user to draw a lottery. When the user draws a card with a preset prize, the card is highlighted. The winning result can also be highlighted through the displacement, flipping, and scaling of the card. It can be used in the marketing activity scenario to enhance the user experience. For example, based on CSS3 animations to solve the displacement, flipping, replacement, and scaling of the cards. In this embodiment, transform can also be used for movement and scaling. First, an HTML is established, and then a "card" label is added to the page body to mark each card area. Two pictures of the front and back of the card are placed in the card area according to absolute positioning and overlapped. The back picture is on top, and the front picture is hidden behind the back picture. Then, displacement and scaling styles are added to the "card". Rotation and transparency are added to the card pictures, and animations are performed through animation and @keyframes, etc., not limited to this.
[0068] Figures 2 to 8 It is a schematic diagram of the implementation process of the card group interaction method based on a mobile terminal of the present invention. The implementation process of the card group interaction method based on a mobile terminal of the present invention is as follows:
[0069] See Figure 2 、 3 As shown in FIGS. 4, another usage scenario of the present invention is to play a card game based on a mobile terminal 1, more realistically imitating the holding feel when playing a card game, greatly enhancing the mimetic degree of the electronic card game relative to the card game. In this embodiment, the user account of the mobile terminal 10 receives card information to establish a card group. The card group includes at least a card sequence formed by the current card information of the user account and each card information. The card sequence includes cards 11, 12, 13, 14, 15, 16, 17, and 18 arranged in sequence. The card sequence is obtained by sorting the cards based on the values corresponding to the current card information. Based on the card patterns corresponding to two adjacent cards in the card sequence, at least part of the card pattern on the upper layer covers at least part of the card pattern on the lower layer, and at least part of the card pattern on the lower layer is exposed outside the card pattern on the upper layer. A card information display area is established based on the area where at least part of the card pattern on the lower layer is exposed outside the card pattern on the upper layer, and at least part of the card information corresponding to the card pattern on the lower layer is displayed in the information display area. Among them, the information display area is a triangular area formed by a long side of the card pattern on the upper layer, a long side of the card pattern on the lower layer, and a partial short side of the card pattern on the lower layer. And, the first angle A between the screen of the mobile terminal 10 and the horizontal plane is detected by a three-dimensional motion sensor built in the mobile terminal 10. The unfolding state between the cards is determined according to the first angle A.
[0070] See Figure 4As shown, the card patterns corresponding to each card are displayed in a stacked manner based on the card sequence. The card pattern located on the upper layer at least partially covers the card pattern on the lower layer. The central axes (O1, O2, O3, O4, O5, O6, O7, O8) of each card pattern intersect at the same rotation point O. Each card pattern has a circumferential rotation stroke with the rotation point as the center and a preset length L as the radius. The first angle A between the mobile terminal 10 and the horizontal plane is detected in real time. At this time, the first angle A is 80°. The second angle B formed by the central axes of adjacent cards in the card sequence is adjusted according to the angle. In this embodiment, B = (S - C×A)÷N = (150° - 1.5×80°)÷8 = 3.75°. That is, each second angle B is equal to 16.75° (i.e., the angle between the central axis O1 and the central axis O2 is 3.75°; the angle between the central axis O2 and the central axis O3 is 3.75°... the angle between the central axis O7 and the central axis O8 is 6.75°). Obviously, in this posture, the information display area of each card is very narrow, and it is difficult to see all the card suits clearly. It can effectively prevent other players from peeking at the cards and can also more realistically simulate the experience of playing cards, so that more cards can be stacked. In this embodiment, when the mobile terminal 10 is closer to being perpendicular to the horizontal plane, the second angle between the central axes of adjacent cards is smaller, and the central angle corresponding to the fan-shaped pattern formed by the card patterns is smaller; when the mobile terminal 10 is closer to being parallel to the horizontal plane, the second angle between the central axes of adjacent cards is larger, and the central angle corresponding to the fan-shaped pattern formed by the card patterns is larger. The user can adjust the angle of the fan-shaped expansion of the cards only by controlling the tilt degree of the mobile terminal 10.
[0071] See Figure 5 、 6 As shown in FIGS. 7, when the user account of the mobile terminal 10 needs to see the card suits clearly, the user only needs to tilt the mobile phone towards the horizontal plane (reducing the first angle A between the mobile terminal 10 and the horizontal plane to A'). At this time, the first angle A' is 50°. In this embodiment, B = (S - C×A)÷N = (150° - 1.5×40°)÷8 = 11.25°. That is, each second angle B' is equal to 11.25° at this time (i.e., the angle between the central axis O1 and the central axis O2 is 11.25°; the angle between the central axis O2 and the central axis O3 is 11.25°... the angle between the central axis O7 and the central axis O8 is 11.25°). Obviously, in this posture, the information display areas (C1, C2, C3, C4, C5, C6, C7, C8) of each card are significantly increased, so that the card information can obtain a larger display area, increase the font size of the displayed card information, and it is more convenient for the user to see all the card suits clearly and is also more convenient for the player to accurately operate the cards.
[0072] See Figure 8As shown, when a sliding trajectory F passing through the rotation point is detected, the overlapping areas between the sliding trajectory F and the information display areas of each card are sorted. If the overlapping area between the sliding trajectory F and the information display area of card 16 is the largest, then card 16 with the largest overlapping area is used as the operation card of the user account. Card 16 is extended along the sliding trajectory F into a fan-shaped card circle and highlighted. Taking the example of a user holding the mobile phone with the left hand, one can complete the card-playing action by simply swiping upwards with the left thumb to the information display area of a card, greatly enhancing the convenience of single-handed card operation and being beneficial to safety when playing card games with only one hand on the subway, bus, etc. (In the prior art, when cards are arranged horizontally in a row, it is difficult for users to operate the cards at both ends in the row direction, while the present invention can overcome this drawback and enhance the convenience and realism of using cards based on an electronic device.)
[0073] Figure 9 It is a schematic diagram of the modules of the card deck interaction system based on a mobile terminal according to the present invention. As shown in FIG. 9, the card deck interaction system 5 based on a mobile terminal according to the present invention includes:
[0074] A card information module 51 that receives card information for a user account of a mobile terminal to establish a card deck. The card deck includes at least a card sequence formed by the current card information of the user account and each card information.
[0075] A card display module 52 that hierarchically displays the card patterns corresponding to each card based on the card sequence. The card pattern on the upper layer at least partially covers the card pattern on the lower layer. The central axes of each card pattern intersect at the same rotation point, and each card pattern has a circumferential rotation stroke with the rotation point as the center and a preset length as the radius.
[0076] A grip detection module 53 that real-time detects the first angle A between the mobile terminal and the horizontal plane.
[0077] A dynamic interaction module 54 that adjusts the second angle B formed by the central axes of adjacent cards in the card sequence according to the angle. The first angle A and the second angle B are negatively correlated.
[0078] A card operation module 55 that, when detecting a sliding trajectory passing through the rotation point, sorts the overlapping areas between the sliding trajectory and the information display areas of each card, and uses the card with the largest overlapping area as the operation card of the user account.
[0079] In a preferred embodiment, the card sequence in the card information module 51 includes a card sequence obtained by numerically sorting based on the values corresponding to the current card information.
[0080] In a preferred embodiment, the card display module 52 is configured to, based on the card patterns corresponding to two adjacent cards in the card sequence, at least partially cover the card patterns in the lower layer, and at least partially expose the card patterns in the lower layer outside the card patterns in the upper layer. A card information display area is established based on the area where the card patterns in the lower layer are at least partially exposed outside the card patterns in the upper layer, and the card information corresponding to the card patterns in the lower layer is at least partially displayed in the information display area. The information display area is a triangular area formed by a long side of the card pattern in the upper layer, a long side of the card pattern in the lower layer, and a partial short side of the card pattern in the lower layer.
[0081] In a preferred embodiment, the grip detection module 53 is configured to detect a first angle A between the screen of the mobile terminal and a horizontal plane through a three-dimensional motion sensor built into the mobile terminal.
[0082] In a preferred embodiment, the dynamic interaction module 54 is configured such that when the mobile terminal is closer to being perpendicular to the horizontal plane, the second angle between the central axes of adjacent cards is smaller, and the central angle corresponding to the fan-shaped pattern composed of the card patterns is smaller; when the mobile terminal is closer to being parallel to the horizontal plane, the second angle between the central axes of adjacent cards is larger, and the central angle corresponding to the fan-shaped pattern composed of the card patterns is larger. In this embodiment, the functional relationship between the first angle A and the second angle B is as follows:
[0083] B = (SC × A) ÷ N;
[0084] The preset coefficient S has a value range of [120°, 150°], the preset coefficient C has a value range of [1.2, 1.5], and N is the total number of card information in the current card sequence, but is not limited thereto.
[0085] The mobile terminal-based card set interactive system of the present invention can enhance the interactivity and fun of operating cards based on the mobile terminal, making it convenient for users to operate cards with one hand using the mobile terminal.
[0086] The above embodiments are only preferred examples of the present invention and are not intended to limit the present invention. Any equivalent substitutions, modifications and changes made within the principles of the present invention are within the protection scope of the present invention.
[0087] The embodiment of the present invention also provides a mobile terminal-based card deck interaction device, comprising a processor and a memory, wherein executable instructions of the processor are stored. The processor is configured to execute the steps of the mobile terminal-based card deck interaction method by executing the executable instructions.
[0088] As shown above, the mobile terminal-based card set interactive system of the present invention in this embodiment can enhance the interactivity and fun of operating cards based on the mobile terminal, making it convenient for users to operate cards with one hand using the mobile terminal.
[0089] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as systems, methods or program products. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software implementations, which may be collectively referred to herein as "circuits", "modules" or "platforms".
[0090] Figure 10 Schematic diagram of the structure of the mobile terminal based card group interactive device of the present invention. Figure 10 The electronic device 600 according to this embodiment of the present invention is described. Figure 10 The electronic device 600 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0091] like Figure 10 As shown, the electronic device 600 is in the form of a general computing device. The components of the electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one storage unit 620, a bus 630 connecting different platform components (including the storage unit 620 and the processing unit 610), a display unit 640, etc.
[0092] The storage unit stores program codes, which can be executed by the processing unit 610, so that the processing unit 610 executes the steps of various exemplary embodiments of the present invention described in the electronic prescription circulation processing method section of this specification. For example, the processing unit 610 can execute the following steps: Figure 1 Follow the steps shown in .
[0093] The storage unit 620 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 6201 and / or a cache memory unit 6202 , and may further include a read-only memory unit (ROM) 6203 .
[0094] The storage unit 620 may also include a program / utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0095] Bus 630 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0096] The electronic device 600 may also communicate with one or more external devices 700 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 600, and / or communicate with any device that enables the electronic device 600 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 650. Furthermore, the electronic device 600 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 660. The network adapter 660 may communicate with other modules of the electronic device 600 via a bus 630. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage platforms, etc.
[0097] The embodiment of the present invention also provides a computer-readable storage medium for storing a program, and the steps of the card group interaction method based on a mobile terminal are implemented when the program is executed. In some possible implementations, various aspects of the present invention can also be implemented in the form of a program product, which includes a program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps of various exemplary embodiments of the present invention described in the above-mentioned electronic prescription circulation processing method section of this specification.
[0098] As shown above, the mobile terminal-based card set interactive system of the present invention in this embodiment can enhance the interactivity and fun of operating cards based on the mobile terminal, making it convenient for users to operate cards with one hand using the mobile terminal.
[0099] Figure 11 Schematic diagram of the structure of the computer-readable storage medium of the present invention. Figure 11 As shown, a program product 800 for implementing the above method according to an embodiment of the present invention is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.
[0100] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0101] Computer readable storage media may include data signals propagated in baseband or as part of a carrier wave, wherein readable program codes are carried. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The readable storage medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or device. The program codes contained on the readable storage medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination thereof.
[0102] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
[0103] In summary, the purpose of the present invention is to provide a card set interaction method, system, device and storage medium based on a mobile terminal, which can enhance the interactivity and fun of operating cards based on a mobile terminal, and facilitate users to operate cards with one hand using a mobile terminal.
[0104] The above content is a further detailed description of the present invention in combination with specific preferred embodiments. It cannot be determined that the specific implementation of the present invention is only limited to these descriptions. For those of ordinary skill in the technical field to which the present invention pertains, without departing from the concept of the present invention, several simple deductions or substitutions can still be made, and all should be regarded as falling within the protection scope of the present invention.
Claims
1. A card deck interaction method based on a mobile terminal, characterized in that It includes the following steps: S110. The user account of the mobile terminal receives card information to establish a card group, and the card group at least includes a card sequence formed by the current card information of the user account and each piece of the card information; S120. Based on the card sequence, stack and display the card patterns corresponding to each card. The card pattern located on the upper layer at least partially covers the card pattern on the lower layer. The central axes of each card pattern intersect at the same rotation point, and each card pattern has a circumferential rotation stroke with the rotation point as the center and a preset length as the radius; S130. Real-time detect the first angle A between the mobile terminal and the horizontal plane; And S140. Adjust the second angle B formed by the central axes of adjacent cards in the card sequence according to the angle. The first angle A is negatively correlated with the second angle B.
2. The card deck interaction method based on a mobile terminal according to claim 1, wherein In the step S110, the card sequence includes a card sequence obtained by numerically sorting based on the values corresponding to the current card information.
3. The method for card deck interaction based on a mobile terminal according to claim 1, wherein In the step S120, based on the card patterns corresponding to two adjacent cards in the card sequence, the card pattern located on the upper layer at least partially covers the card pattern on the lower layer, and the card pattern on the lower layer is at least partially exposed outside the card pattern on the upper layer.
4. The method for card deck interaction based on a mobile terminal according to claim 3, wherein, Based on the area where the card pattern on the lower layer is at least partially exposed outside the card pattern on the upper layer, establish a card information display area, and at least partially display the card information corresponding to the card pattern on the lower layer in the information display area. The font size for displaying the card information is positively correlated with the area size of the information display area.
5. The card deck interaction method based on a mobile terminal according to claim 4, wherein The information display area is a triangular area formed by a long side of the card pattern on the upper layer, a long side of the card pattern on the lower layer, and a partial short side of the card pattern on the lower layer.
6. The method for card deck interaction based on a mobile terminal according to claim 1, wherein In the step S130, the first angle A between the screen of the mobile terminal and the horizontal plane is detected by a three-dimensional motion sensor built in the mobile terminal.
7. The card deck interaction method based on a mobile terminal according to claim 1, wherein In the step S140, when the mobile terminal gets closer to being perpendicular to the horizontal plane, the second angle between the central axes of the adjacent cards is smaller, and the central angle corresponding to the fan-shaped pattern formed by the card patterns is smaller; When the mobile terminal gets closer to being parallel to the horizontal plane, the second angle between the central axes of the adjacent cards is larger, and the central angle corresponding to the fan-shaped pattern formed by the card patterns is larger.
8. The card deck interaction method based on a mobile terminal according to claim 1, wherein In the step S140, the functional relationship between the first angle A and the second angle B is as follows: B = (S - C×A)÷N; Wherein, the value range of the preset coefficient S is [120°, 150°], the value range of the preset coefficient C is [1.2, 1.5], and N is the total number of card information in the current card sequence.
9. The card deck interaction method based on a mobile terminal according to claim 4, wherein, It further includes the following steps: S150. When a sliding trajectory passing through the rotation point is detected, sort the overlapping areas of the sliding trajectory and the information display area of each card, and use the card with the largest overlapping area as the operation card of the user account.
10. A card deck interaction system based on a mobile terminal, for implementing the card deck interaction method based on a mobile terminal described in claim 1, characterized in that, It includes: A card information module, where the user account of the mobile terminal receives card information to establish a card group, and the card group at least includes a card sequence formed by the current card information of the user account and each piece of the card information; A card display module that stacks and displays the card patterns corresponding to each card based on the card sequence, where the card pattern located on the upper layer at least partially covers the card pattern on the lower layer, the central axes of each card pattern intersect at the same rotation point, and each card pattern has a circumferential rotation stroke with the rotation point as the center and a preset length as the radius; A grip posture detection module that real-time detects a first angle A between the mobile terminal and the horizontal plane; And A dynamic interaction module that adjusts a second angle B formed by the central axes of adjacent cards in the card sequence according to the angle, and the first angle A is negatively correlated with the second angle B.
11. A card deck interaction device based on a mobile terminal, characterized in that, Comprising: A processor; A memory that stores executable instructions of the processor; Wherein, the processor is configured to execute the steps of the mobile terminal-based card group interaction method according to any one of claims 1 to 9 by executing the executable instructions.
12. A computer-readable storage medium for storing a program, characterized in that, When the program is executed by the processor, it implements the steps of the mobile terminal-based card group interaction method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Card display control method and device, equipment and storage medium
CN113509728A
Three card video poker
US8177617B1