A golf automatic scoring method, system and mobile intelligent terminal
Patent Information
- Application Number
- CN202611055079.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-15
- Publication Date
- 2026-10-30
AI Technical Summary
[0006]本发明实施例提供一种高尔夫自动记分方法、系统和移动智能终端,以解决成绩记录准确性低,与事实不一致的问题
[0019]本发明实施例提供的一种高尔夫自动记分方法、系统和移动智能终端的有益效果在于:移动智能终端主控包括成绩账本的球洞数据,增强现实显示终端仅作为受控交互终端,在用户通过增强现实显示终端输入成绩数据后设定二次确认步骤,从权限层面避免触控误触、语音识别误判、日常对话误触发导致的成绩误写入与重复记分问题,保障成绩录入准确性,所有成绩写入均由移动智能终端统一执行,临时记分请求尚未完成用户确认前,主控覆盖事件,立即终止当前待确认流程并清除临时记分状态,随后基于最新成绩账本生成第一更新显示数据并下发至增强现实显示终端;由于所有状态变更均以移动智能终端本地维护的成绩账本为准,增强现实显示终端仅负责接收并显示主控端下发的最新一版HUDState,避免了双端错位问题,提高数据一致性。
Smart Images

Figure CN122998710A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of golf scoring technology, and in particular to an automatic golf scoring method and a mobile smart terminal. Background Technology
[0002] With the increasing digitalization of golf, electronic scoring systems are gradually replacing traditional paper-based scoring methods. Among these, head-up display scoring solutions that combine AR (Augmented Reality) smart glasses have become an important direction for industry development due to their advantages of being hands-free and not interrupting the rhythm of the game.
[0003] In existing technologies, scoring systems mostly adopt a dual-terminal parallel interaction architecture, meaning that both the mobile smart terminal and the AR glasses terminal have independent scoring operations and state switching permissions. Whether it is touch-based scoring or voice recognition scoring, the score data is usually written directly to the local system after the command is triggered. Due to the lack of unified confirmation and overwrite verification at the main control end, it is very easy to cause problems such as incorrect score writing and duplicate scoring due to scenarios such as accidental touches on the touch area, environmental noise causing voice recognition misjudgment, and everyday conversation content being misidentified as scoring commands. The accuracy of the data cannot be effectively guaranteed.
[0004] Since both ends can independently perform operations such as switching hole numbers and confirming scores, there is often a asynchronous phenomenon where the mobile smart terminal has completed the current hole score entry and switched to the next hole, but the AR glasses end is still stuck on the old confirmation interface of the previous hole. At the same time, if the AR glasses end makes a mistake, it can directly skip the hole that has not yet been scored, further exacerbating the misalignment between the two ends. This results in the player's HUD (Head-Up Display) information being inconsistent with the actual score data, seriously affecting the user experience.
[0005] In addition, existing solutions mostly adopt a mode in which each end maintains its own local ledger and is asynchronously synchronized. The entry points for writing scores are scattered. When communication is delayed or there are timing conflicts between the two ends, problems such as data overwriting, omissions, and errors are very likely to occur, and the uniqueness and accuracy of the score data of the entire system cannot be guaranteed. Summary of the Invention
[0006] This invention provides an automatic golf scoring method, system, and mobile smart terminal to solve the problems of low accuracy and inconsistency in score recording.
[0007] This invention discloses an automatic scoring method for golf, applied to a mobile smart terminal, wherein the mobile smart terminal can be connected to an augmented reality display terminal via a wireless communication link;
[0008] The automatic golf scoring method includes: Acquire all basic data and hole data of the current golf course, including the score log; acquire the current hole, generate status display data based on the all basic data and hole data corresponding to the current hole, and send the status display data to the augmented reality display terminal; The system acquires the performance data provided by the user through the augmented reality display terminal, generates a temporary scoring request for the current hole based on the performance data, and sends the temporary scoring request to the augmented reality display terminal. If a master control overlay event is received before a confirmation request from the user via the augmented reality display terminal is received, the currently locally recorded score ledger is obtained based on the master control overlay event, first updated display data is generated based on the score ledger, and the first updated display data is sent to the augmented reality display terminal so that the augmented reality display terminal cancels the display of the temporary scoring request and immediately displays the first updated display data. The master control overlay event includes at least one of the following: a scoring instruction, a scoring modification instruction, a hole-cutting instruction, or an exit instruction input by the user on the mobile smart terminal; or The user inputs an interrupt communication command through the augmented reality display terminal or the mobile smart terminal; or The user modifies the grades via voice input through the augmented reality display terminal.
[0009] Optionally, after the step of sending the temporary scoring request to the augmented reality display terminal, the method further includes: If a confirmation request is received from the user through the augmented reality display terminal, the current hole and the score data are validated based on the confirmation request. When the validity verification is successful, the score data is entered into the score ledger, new hole data is generated, a second updated display data is generated based on the new hole data, and the second updated display data is sent to the augmented reality display terminal.
[0010] Optionally, the automatic golf scoring method further includes: The system acquires the cutting instructions input by the user through the augmented reality display terminal, the cutting instructions including a front cutting instruction and a back cutting instruction; When the cut instruction is a back cut instruction, determine whether the current hole is the first hole in the sorting list; If not, then the previous hole is taken as the new current hole, and the third updated display data of the previous hole is obtained and sent to the augmented reality display terminal; When the cutting instruction is a forward cutting instruction, determine whether the operation of entering the score data into the score ledger has been completed; If not, the cut-forward instruction is rejected, the current hole remains unchanged, a score-to-be-scored instruction is generated, and the score-to-be-scored instruction is sent to the augmented reality display terminal.
[0011] Optionally, after determining whether the operation of entering the grade data into the grade ledger has been completed, the following steps are included: If so, the hole following the current hole is taken as the new current hole, the score log of the new current hole is recorded as unscored, a fourth update display data is generated based on the score data, and the fourth update display data is sent to the augmented reality display terminal.
[0012] Optionally, the step of validating the current hole and the score data based on the confirmation request includes: Obtain the target hole identifier and the score value to be written from the score data; Determine whether the target hole identifier belongs to the valid hole number range of the current course; If so, determine whether the score value to be written belongs to the preset valid score range; If so, the validity check is deemed to have passed.
[0013] Optionally, after the step of validating the current hole and the score data based on the confirmation request, the method further includes: If the validity verification fails, an error message is generated and sent to the augmented reality display terminal.
[0014] Optionally, the full set of basic data includes at least one of the following: total number of holes, par number for each hole, handicap, distance between the front and back edges of the green, recommended clubs, wind speed and direction, hole map image, and current version number; The hole data includes at least one of the following: current hole status, score log, current hole score completion marker, and global statistics. The temporary scoring request includes at least one of the following: input source, operation type, target hole identifier, target score, and event number.
[0015] Optionally, the step of sending the status display data to the augmented reality display terminal includes: The status display data is packaged and sent to the augmented reality display terminal in multiple application layer commands. The application layer commands include at least one of the following: hole information command, score information command, green information command, club information command, environment information command, hole map command, and hole map overlay command.
[0016] Optionally, the automatic golf scoring method includes: When the wireless communication link is disconnected, if no confirmation request has been received from the user through the augmented reality display terminal, the step of obtaining the local scoring data of the current local record based on the master control coverage event, and subsequent steps, shall be executed when the wireless communication link is restored. This causes the augmented reality display terminal to stop displaying the disconnection waiting page and instead display the first updated display data.
[0017] The present invention also discloses a mobile smart terminal, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the steps of the method described above.
[0018] The present invention also discloses an automatic golf scoring system, including a mobile smart terminal and an augmented reality display terminal as described above, wherein the mobile smart terminal and the augmented reality display terminal are connected via a wireless communication link.
[0019] The beneficial effects of the golf automatic scoring method, system, and mobile smart terminal provided by this invention are as follows: The mobile smart terminal controls the hole data, including the score ledger, while the augmented reality display terminal only acts as a controlled interactive terminal. After the user inputs score data through the augmented reality display terminal, a secondary confirmation step is set. This avoids the problems of incorrect score writing and duplicate scoring caused by accidental touch, voice recognition misjudgment, and accidental triggering of daily conversations from the permission level, ensuring the accuracy of score input. All score writing is uniformly executed by the mobile smart terminal. Before the temporary scoring request is confirmed by the user, the main control overlay event immediately terminates the current pending confirmation process and clears the temporary scoring status. Subsequently, the first updated display data is generated based on the latest score ledger and sent to the augmented reality display terminal. Since all status changes are based on the score ledger maintained locally by the mobile smart terminal, the augmented reality display terminal is only responsible for receiving and displaying the latest version of HUDState sent by the main control terminal, avoiding the problem of misalignment between the two ends and improving data consistency. Attached Figure Description
[0020] The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. In the accompanying drawings: Figure 1 This is a flowchart illustrating the first embodiment of the automatic golf scoring method provided by the present invention; Figure 2 This is a schematic diagram illustrating an application scenario of the automatic golf scoring method provided by the present invention; Figure 3 This is a flowchart illustrating the second embodiment of the automatic golf scoring method provided by the present invention; Figure 4 This is a flowchart illustrating the third embodiment of the automatic golf scoring method provided by the present invention; Figure 5 This is a flowchart illustrating the fourth embodiment of the automatic golf scoring method provided by the present invention; Figure 6 This is a schematic diagram of the internal structure of a mobile smart terminal in one embodiment of the present invention.
[0021] The labels for the attached figures are as follows: 10. Mobile smart terminals; 20. Augmented reality display terminals Detailed Implementation It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. The preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
[0022] Please refer to the following: Figure 1 and Figure 2 , Figure 1 This is a flowchart illustrating the first embodiment of the automatic golf scoring method provided by the present invention. Figure 2 This is a schematic diagram illustrating an application scenario of the automatic golf scoring method provided by this invention. A mobile smart terminal 10 and an augmented reality display terminal 20 (e.g., AR glasses) establish a point-to-point, two-way, full-duplex data link via near-field wireless communication technology. The mobile smart terminal 10 typically includes devices with general computing capabilities, cellular network access capabilities, and a complete operating system, such as smartphones and portable tablets. It acts as the master control node in the link, serving as the sole source for generating all global and displayed data. The augmented reality display terminal 20 includes AR glasses, integrating a near-eye optical display module, a touch interaction unit, a voice acquisition module, and a wireless communication module. It acts as a controlled interactive acquisition and display output node in the link, lacking autonomous decision-making authority over core business states. The two devices form a one-to-one collaborative relationship through a dedicated wireless link.
[0023] The automatic golf scoring method provided by this invention specifically includes the following steps: S101: Obtain all basic data and hole data for the current course, including the score log; obtain the current hole, generate status display data based on the corresponding all basic data and hole data, and send the status display data to the augmented reality display terminal.
[0024] In a specific implementation scenario, before the user starts hitting the ball, a start command such as "start the game" is input into the mobile smart terminal. Based on this start command, the mobile smart terminal establishes a data connection with the network server via a wireless network, retrieves and caches all the basic data of the current course locally. The full set of basic data covers the static parameters and supporting resources of all holes of the course, including at least: basic attribute information of each hole, specifically hole number, par, handicap / given (HCP), equivalent driving distance (PlaysLike), elevation difference (Elevation), and recommended club (Rec.Club); the corresponding hole map image resource and its version verification identifier; distance measurement data at the green dimension, specifically the distance to the front edge, center distance, and back edge of the green; and real-time environmental data of the course, specifically meteorological parameters such as wind direction, wind speed, and ambient temperature.
[0025] Version verification identifiers include courseId (unique identifier for the course), holeId (hole number), and version (version number).
[0026] Hole data is preferably organized and managed using hole numbers as the index dimension. After loading all the basic data for the current course, the mobile smart terminal initializes and continuously maintains a global hole data structure that corresponds one-to-one with each hole locally.
[0027] Specifically, during the initialization phase, the mobile smart terminal establishes a scorebook, which corresponds one-to-one with each hole on the course. In an 18-hole course scenario, the scorebook corresponds to 18 hole recording units, while in a 9-hole course scenario, it corresponds to 9 hole recording units. During initialization, each hole recording unit is uniformly preset to an empty state with no score record, meaning the score field for each hole is empty, and the scoring status flag is uniformly set to "unscored". At the same time, the mobile smart terminal initializes the current hole's master state to the starting hole, initializes the current hole's scoring flag to "unscored", initializes the number of completed holes to 0, and initializes the total cumulative score to 0.
[0028] Furthermore, the score ledger maps and stores information such as the actual number of strokes, scoring status marker, operation source, and update time for each hole, according to the hole number. The scoring status marker indicates whether the corresponding hole is currently in a "scored" or "unscored" state. The operation source indicates whether the score was generated by manual input via a mobile smart terminal, touch input via an augmented reality display terminal, or voice input. The update time records the time when the score for that hole was last written, modified, or overwritten.
[0029] In addition to the scorebook itself, the mobile smart terminal also maintains global statistics for each hole based on the scorebook, including the status of each hole, the total global score, the number of holes completed, and whether the current hole has been scored, as well as other derived statistics.
[0030] The mobile smart terminal extracts all parameters corresponding to the current hole from the cached full basic data, and at the same time retrieves global statistics and score ledger from the hole data to generate status display data (HUDState) for rendering on the augmented reality display terminal. The status display data includes basic hole information such as hole number, total number of holes on the course, and par of the current hole; score statistics such as current hole score (initially empty), cumulative total score, and number of holes completed; distance measurement data such as the front, center, and back edges of the green; recommended club information; environmental parameters such as real-time wind direction and speed; and hole map resources and map overlay information for the current hole.
[0031] The mobile smart terminal sends status display data to the augmented reality display terminal through a short-range wireless communication link established between the mobile smart terminal and the augmented reality display terminal, thereby enabling the augmented reality display terminal to complete the rendering display of the current hole's main page.
[0032] In other implementation scenarios, using the current hole as the anchor point, static attributes corresponding to the current hole are extracted from the full course data, and the score value for the current hole is extracted from global statistics and the score ledger. Combined with real-time acquired environmental parameters, status display data is generated. This status display data includes both static data that remains unchanged over time, such as the inherent attributes of the hole, and dynamic data that updates in real-time based on user actions, such as score statistics. The augmented reality display terminal does not derive, calculate, or modify any display values itself; all final display results are based on the status display data sent by the mobile smart terminal, ensuring consistency between the two ends from a mechanism perspective.
[0033] The mobile smart terminal breaks down the status display data into multiple application-layer commands according to functional dimensions. Each type of command corresponds to an independent display area and data update cycle, and can be issued individually or in combination. Application-layer commands include at least one of the following: hole information command, score information command, green information command, club information command, environmental information command, hole map command, and hole map overlay command.
[0034] The Hole Information command transmits basic hole attributes, including at least the current hole number, total number of holes on the course, par for the current hole, and handicap value for the current hole. The Score Information command transmits score statistics, including at least the cumulative total score, over par, score for the current hole, and number of holes completed. The Green Information command transmits green distance data, including at least the distance to the green's front edge, distance to the green's center, distance to the green's back edge, elevation difference, and equivalent hitting distance. The Club Information command transmits club recommendations, including at least the recommended clubs field. The Environmental Information command transmits real-time weather parameters, including at least the wind direction, wind direction icon, and wind speed fields. The Hole Map command transmits hole map image resource information, including at least the image verification value, storage path, image name, file size, and image type fields. The Hole Map Overlay command transmits map annotations and overlay elements, including at least the point coordinate set and text annotation set fields.
[0035] Mobile smart terminals can flexibly select the scope of command delivery based on the operating scenario. When a hole change occurs, all seven types of commands can be delivered at once to complete a full refresh; when only scores are updated, only score information commands are delivered to achieve incremental refresh; when only environmental parameters change, only environmental information commands are delivered. This on-demand packet distribution mechanism significantly reduces invalid data transmission, lowers the load on communication links, and improves the interface refresh response speed.
[0036] The augmented reality display terminal maintains a local display cache that corresponds one-to-one with the aforementioned application layer commands. Upon receiving an application layer command, it updates the data in the corresponding cache according to the command type, and can refresh the display in sections without waiting for the full data to arrive. When multiple commands arrive sequentially, the terminal automatically combines and renders hole information, scores, distances, clubs, environment, map, and overlays to form a complete main display page for the current hole. The entire rendering process strictly adheres to the command data issued by the mobile smart terminal; the augmented reality display terminal does not perform any business logic calculations or state deductions, ensuring information alignment between the two ends.
[0037] In one embodiment, the augmented reality display terminal has a built-in local cache verification mechanism. When the map resource for the corresponding hole needs to be loaded, the version identifier of the map to be loaded is first compared and verified with the locally cached map resources for the same course and hole. If the version numbers are the same, the locally cached map image is directly called to complete the interface rendering, without repeated transmission and download, effectively reducing communication overhead and improving the interface loading speed. If the version numbers are different, the local old version map cache is discarded, and the latest version map image resource is fetched and replaced before loading and rendering, ensuring that the map data displayed by the augmented reality display terminal is completely aligned with the version of the mobile smart terminal, avoiding map information deviation.
[0038] S102: Obtain the performance data provided by the user through the augmented reality display terminal, generate a temporary scoring request for the current hole based on the performance data, and send the temporary scoring request to the augmented reality display terminal.
[0039] In a specific implementation scenario, the mobile smart terminal acquires the performance data input and reported by the user through the augmented reality display terminal. The performance data can come from the candidate performance selection operation of the touchpad of the augmented reality display terminal, or from the voice command to add or supplement the score recognized by the voice acquisition module.
[0040] After acquiring the score data, the mobile smart terminal first performs parameter parsing and validity verification. It extracts the target hole identifier and the score value to be written from the score data. If the score data does not explicitly specify a target hole, the current hole maintained locally by the mobile smart terminal is used as the target hole. If the parsing result indicates an intention to modify the score but there are no historical score records for the target hole, the operation type is automatically converted to add / supplement. After parameter parsing, it verifies whether the target hole identifier belongs to the valid hole number range of the current course and whether the score to be written belongs to the preset valid stroke range. If the validity verification passes, a temporary scoring request for the corresponding current hole is generated.
[0041] A temporary scoring request is sent to the augmented reality (AR) display terminal, causing the AR display terminal to show a confirmation interface based on the temporary scoring request. This temporary scoring request must include at least the following fields: input source identifier, operation type, target hole number, score to be confirmed, and event sequence number. The event sequence number is used for matching and tracing the interaction process between the two terminals, preventing confusion between multiple requests. It should be noted that the temporary scoring request does not affect the local score ledger on the mobile smart terminal, nor does it affect the status display data or update display data sent by the mobile smart terminal to the AR display terminal.
[0042] In other implementation scenarios, after receiving a temporary display request, the augmented reality display terminal overlays a score confirmation pop-up window on the current display page. The score confirmation pop-up window includes the target hole identifier corresponding to the score data and the score value to be written. It may also include an operation type identifier, which is used to distinguish whether the operation is to add a score to the current hole, add a score to a specified hole, or add a score after the intention to modify the hole that has not been scored.
[0043] Users can confirm the current score by clicking the side touchpad of the augmented reality display terminal; they can cancel the score request by long-pressing the touchpad or performing a swipe gesture. Users can also interact via voice. When a user speaks a preset confirmation phrase (including but not limited to "confirm," "save," "yes," "OK," etc., in multiple languages), the augmented reality display terminal interprets it as a confirmation operation; when a user speaks a preset cancellation phrase (including but not limited to "cancel," "return," "never mind," etc., in multiple languages), the augmented reality display terminal interprets it as a cancellation operation.
[0044] Once the augmented reality display terminal determines that a cancellation operation has been received, it will report the corresponding cancellation instruction to the mobile smart terminal. The mobile smart terminal will then clear the local unified pending confirmation status, and will not write the pending confirmation score data into the score ledger. At the same time, it will send an interface restoration instruction to the augmented reality display terminal, driving the terminal to close the score confirmation pop-up and return to the current hole main page, maintaining the current hole status and score ledger data unchanged throughout the process.
[0045] S103: If a master control overlay event is received before a confirmation request sent by the user through the augmented reality display terminal is received, the current locally recorded score ledger is obtained based on the master control overlay event, the first updated display data is generated based on the score ledger, and the first updated display data is sent to the augmented reality display terminal so that the augmented reality display terminal cancels the display of the temporary scoring request and immediately displays the first updated display data.
[0046] In a specific implementation scenario, when the mobile smart terminal has issued a temporary scoring request but has not yet received a confirmation or cancellation instruction from the user through the augmented reality display terminal, if the mobile smart terminal receives a master control overlay event, it will no longer wait for the user's input result and will directly overlay the display using local data.
[0047] Specifically, the mobile smart terminal immediately terminates the currently incomplete temporary scoring process, clears the corresponding local score data and temporary scoring request, and the temporary scoring request no longer has the effect of being written into the score ledger for subsequent hole data, without waiting for user confirmation or cancellation. Using its own maintained local data as the sole benchmark, the latest local scoring data is extracted after the main control overlay event is completed, including the current hole, the latest score ledger, the latest cumulative total score and the number of completed holes, the static basic data of the current hole, and all business statuses such as real-time environmental parameters.
[0048] Based on the latest extracted local scoring data, the first updated display data (i.e., the new full HUDState) is generated. This first updated display data covers all display dimensions, including hole information, score statistics, green distance measurement, recommended clubs, environmental parameters, map, and overlay.
[0049] The first update display data is sent to the augmented reality display terminal. Upon receiving the first update display data, the augmented reality display terminal immediately cancels the display of the score confirmation pop-up corresponding to the current temporary scoring request, clears the locally stored score data and interaction state, and then re-renders the current page based on the received first update display data, completing a forced refresh of the interface without transition.
[0050] In this implementation scenario, the master control covered events include instructions input by the user locally on the mobile smart terminal, including any one of the following: scoring instructions, scoring modification instructions, hole cutting instructions, and exit instructions. These instructions directly affect the performance ledger and hole status maintained by the mobile smart terminal, and immediately generate status change effects.
[0051] The main control coverage event can also include communication interruption commands input by the user through the augmented reality display terminal or mobile smart terminal. Such commands will cause the communication link between the two ends to be interrupted, and the incomplete temporary scoring confirmation process will lose its basis for execution. Specifically, it can be divided into two categories: active terminal operation and passive link interruption. Active operation includes commands on the mobile smart terminal side to exit golf mode, exit the application, and return to the application home page, as well as commands on the augmented reality display terminal side to exit scoring mode and return to the glasses' main interface; passive interruption includes equivalent scenarios that cause communication link interruption, such as active disconnection of Bluetooth connection and application process being reclaimed by the system.
[0052] The main control overlay event can also include a user's voice input command to modify the score through an augmented reality display terminal, and the command is directed to a hole that has already been scored. After being parsed by the mobile smart terminal, such commands directly overwrite the original score of the target hole corresponding to the command and recalculate the global statistics without entering a secondary confirmation process. This is an instantaneous status change operation.
[0053] As described above, in this implementation scenario, the mobile smart terminal controls the hole data in the score ledger, while the augmented reality display terminal acts only as a controlled interactive terminal. After the user inputs score data through the augmented reality display terminal, a secondary confirmation step is set to avoid errors in score writing and duplicate scoring caused by accidental touches, voice recognition misjudgments, and accidental triggering of daily conversations from the permission level, ensuring the accuracy of score input. All score writing is uniformly executed by the mobile smart terminal. Before the user confirms the temporary scoring request, the main control overrides the event, immediately terminates the current pending confirmation process and clears the temporary scoring status. Subsequently, it generates the first updated display data based on the latest score ledger and sends it to the augmented reality display terminal. Since all status changes are based on the score ledger maintained locally by the mobile smart terminal, the augmented reality display terminal is only responsible for receiving and displaying the latest version of HUDState sent by the main control terminal, avoiding the problem of misalignment between the two ends and ensuring that the data on both ends is consistent.
[0054] Please refer to the following: Figure 3 , Figure 3 This is a flowchart illustrating a second embodiment of the automatic golf scoring method provided by the present invention. The automatic golf scoring method provided by the present invention specifically includes the following steps: S201: Obtain all basic data and hole data for the current course, including the score log; obtain the current hole, generate status display data based on the corresponding all basic data and hole data, and send the status display data to the augmented reality display terminal.
[0055] S202: Obtain the performance data provided by the user through the augmented reality display terminal, generate a temporary scoring request for the current hole based on the performance data, and send the temporary scoring request to the augmented reality display terminal.
[0056] In a specific implementation scenario, steps S201-S202 are basically the same as steps S101-S102 in the first embodiment of the golf automatic scoring method provided by the present invention, and will not be described again here.
[0057] S203: If a confirmation request sent by the user through the augmented reality display terminal is obtained, the current hole and score data are validated based on the confirmation request.
[0058] In a specific implementation scenario, when a mobile smart terminal receives a confirmation request reported by a user through an augmented reality display terminal, it first matches and verifies the event sequence number carried in the confirmation request with the unified unconfirmed event record stored locally to confirm that the instruction corresponds to a valid unconfirmed process and has not expired; after the match is successful, it performs legality verification based on the target hole and score data associated with the confirmation request.
[0059] Extract the target hole identifier and the score value to be written from the score data; if the confirmation request and the corresponding record to be confirmed do not explicitly specify the target hole, the current hole maintained locally on the mobile smart terminal is used as the default target hole. Determine whether the target hole identifier belongs to the valid hole number range of the current course, using the full amount of course basic data cached locally as the judgment benchmark, and check whether the target hole exists and whether the corresponding basic configuration data is complete and searchable.
[0060] If the target hole identifier falls within the valid number range, the system further determines whether the score to be written falls within the preset valid stroke range, excluding negative numbers, zero values, and abnormal values exceeding the reasonable maximum number of strokes for golf. If the score to be written falls within the preset valid stroke range, the request is deemed to have passed the validity check and can proceed to the subsequent score log writing process.
[0061] S204: When the valid verification passes, retrieve the score ledger from the hole data, enter the score data into the score ledger, generate new hole data, generate second updated display data based on the new hole data, and send the second updated display data to the augmented reality display terminal.
[0062] In a specific implementation scenario, if either the hole number verification or the score value verification fails, the mobile smart terminal will not trigger the score ledger writing operation. Instead, it will simultaneously generate a corresponding error message and send it to the augmented reality display terminal, causing the augmented reality display terminal to display the error message and return to the original display interface after a preset time. Only when both verifications pass will the mobile smart terminal officially start the complete process of writing the score ledger, recalculating global statistical data, and generating updated status display data.
[0063] Once the hole identifier and score value have both passed verification, the mobile smart terminal locates the corresponding hole entry in the score ledger based on the target hole identifier. It then writes the verified score value into the score field of that entry, updates the scoring status of the hole from "unscored" to "scored," and simultaneously retains traceability information such as the operation source and timestamp, completing the persistent writing of the score data. If the hole already has historical score records, the verified score value will overwrite the original record, ensuring the uniqueness and accuracy of the score ledger data.
[0064] Secondly, after the score log is written, the mobile smart terminal recalculates the global statistics based on the latest score log, including the total score, the number of holes completed, the cumulative over-par score, and other derived data, and generates new hole data based on the latest score log and global statistics.
[0065] Subsequently, using the updated hole data as the core, and combining it with the full set of basic data corresponding to the current hole, the second updated display data is generated, which is the new complete HUDState after the score confirmation takes effect. The second updated display data includes updated score statistics, hole basic information, distance measurement and recommended club information, environmental parameters and map resource information. It can be broken down into multiple independent application layer commands according to functional dimensions and distributed in a packaged form to adapt to communication bandwidth characteristics and improve interface refresh efficiency.
[0066] Finally, the second updated display data is sent to the augmented reality display terminal through the point-to-point bidirectional wireless communication link established with the augmented reality display terminal; after receiving the data, the augmented reality display terminal automatically closes the score confirmation pop-up window in the unified pending confirmation state, and completes the combined rendering of the current display page with the latest display data, so as to realize the real-time synchronization and alignment of the scoring status of the two ends.
[0067] As described above, this implementation scenario employs a mechanism that first performs dual verification of the hole's legality and the score value before writing it into the ledger. This intercepts abnormal data at the source, ensuring the compliance and accuracy of the score data. Simultaneously, the mobile smart terminal serves as the sole authoritative node to complete the score landing, global statistical recalculation, and display data generation, ensuring the uniqueness and authority of the score ledger data. After writing is completed, the updated display data is simultaneously distributed, driving the augmented reality display terminal to automatically close the confirmation pop-up and refresh the latest interface. This not only prevents illegal data from contaminating business data but also achieves real-time synchronization and alignment of the two-terminal status after the scoring operation. While ensuring data reliability, it effectively improves the smoothness of interaction and the user experience.
[0068] Please refer to the following: Figure 4 , Figure 4 This is a flowchart illustrating the third embodiment of the automatic golf scoring method provided by the present invention. The automatic golf scoring method provided by the present invention specifically includes the following steps: S301: Obtain the hole-cutting command input by the user through the augmented reality display terminal. The hole-cutting command includes a front-cutting command and a back-cutting command.
[0069] In a specific implementation scenario, the user inputs and reports the hole-cutting command through the augmented reality display terminal. This command is an interactive request that triggers the hole-switching operation. It is generated by the touch interaction unit of the augmented reality display terminal after collecting the user's gesture. Specifically, it includes two types: forward cut command and backward cut command, which correspond to different operation intentions and interaction scenarios.
[0070] The forward cut command is usually triggered by the user performing a forward swipe gesture on the touchpad of the augmented reality display terminal. It corresponds to the user's positive need to switch to the next hole to view fairway information and continue scoring after completing the current hole's shot. It is the core cutting interaction entry point under normal playing rhythm. The backward cut command is usually triggered by the user performing a backward swipe gesture on the touchpad. It corresponds to the user's reverse backtracking need to review the score of the completed hole, correct the score information of the previous hole, or undo the wrong operation.
[0071] After the augmented reality display terminal recognizes the corresponding gesture, it encapsulates it into a corresponding type of cut-the-hole command and reports it to the mobile smart terminal through a point-to-point short-range wireless communication link between the two ends. This command only serves as a signal to report the user's intention to operate and does not directly trigger a change in the hole status. Whether the cut-the-hole request is ultimately effective depends on the mobile smart terminal.
[0072] S302: When the cut command is a back cut command, determine whether the current hole is the first hole in the sequence. If not, proceed to step S303.
[0073] In a specific implementation scenario, when the cut-hole instruction is a back-cut instruction, the boundary validity check is performed based on the locally cached sequence of holes on the course, the position of the current hole in the overall hole ranking is obtained, and it is determined whether the current hole is the first hole in the ranking.
[0074] If the current hole is determined to be the first hole in the sorted list, the back cut request will not meet the execution conditions. The mobile smart terminal will not trigger any hole status changes. The first hole boundary prompt data can be generated and sent to the augmented reality display terminal to prompt the user that they are already at the starting hole of the course and cannot go back. The prompt message will disappear automatically after a preset display time, and the interface will remain unchanged as the current hole main page.
[0075] S303: Take the previous hole as the new current hole, obtain and send the third updated display data of the previous hole to the augmented reality display terminal.
[0076] In a specific implementation scenario, if the current hole is determined not to be the first hole in the sorted sequence, the hole with the previous number is set as the new current hole, and the locally maintained current hole is updated synchronously. Subsequently, static data such as basic hole information, green distance data, recommended clubs, environmental parameters, hole map and overlay layers, etc., corresponding to the previous hole are extracted from the full set of basic data. Combined with the scoring status, score records, and score statistics of that hole in the score ledger and global statistics, the third updated display data corresponding to the previous hole is generated.
[0077] Finally, the third update display data is sent to the augmented reality display terminal via a two-way point-to-point wireless communication link, driving the terminal to directly refresh to the main page of the previous hole, completing the closed loop of the cut operation. The entire cut process, including judgment, status update, and data generation, is uniformly executed by the mobile smart terminal. The augmented reality display terminal only reports the operation intention and renders the final display result, ensuring that the status of the two holes remains consistent at all times.
[0078] S304: When the hole-cutting instruction is a forward-cutting instruction, determine whether the operation of entering the score data into the score ledger has been completed; if not, proceed to step S305. If yes, proceed to step S306.
[0079] In a specific implementation scenario, when the cut-hole command is a front-cut command, the mobile smart terminal uses the locally maintained score ledger as the sole criterion to determine whether the operation of entering the score data corresponding to the current hole into the score ledger has been completed, that is, to verify whether the scoring status mark of the current hole is already scored.
[0080] In other implementation scenarios, first retrieve all basic data of the course to determine the sequence number of the largest hole in the entire course, and determine whether the current hole is the last hole in the course ranking; if the current hole is already the last hole and the hole is marked as scored in the scorebook, then directly reject the current cut command and do not execute the switch to a new hole operation. You can send a round end pop-up prompt data to the augmented reality display terminal, or you can directly keep the current last hole page, lock the hole cutting permission and no longer respond to the cut operation.
[0081] S305: Reject the forward cut command, maintain the current hole, generate a score-to-be-scored command, and send the score-to-be-scored command to the augmented reality display terminal.
[0082] In a specific implementation scenario, if the operation of entering score data into the score ledger is not completed, the current cut-off instruction is rejected, the current hole remains unchanged, and the forward incrementing operation of the hole number is not executed. At the same time, a scoring guidance instruction is generated and sent to the augmented reality display terminal via a short-range wireless communication link. This drives the augmented reality display terminal to automatically pop up a score candidate selection interface, forcibly guiding the user to complete the score entry for the current hole first. From the interaction process, this avoids the erroneous operation of jumping to the next hole before the score is completed, ensuring the integrity of the golf playing progress and score record.
[0083] S306: Take the hole after the current hole as the new current hole, record the score of the new current hole as unscored, generate the fourth update display data based on the score data, and send the fourth update display data to the augmented reality display terminal.
[0084] In a specific implementation scenario, the operation of entering score data into the score ledger has been completed. The forward cut request is deemed valid, and the next hole in sequence after the current hole is set as the new current hole, while the locally maintained current hole is updated synchronously. Simultaneously, the scoring status flag for the corresponding new current hole in the score ledger is initialized to "unscored" to ensure accurate status initialization. Then, combining the full set of basic data corresponding to the new current hole with the updated global statistics of the score ledger, the fourth update display data is generated, namely the complete HUDState for the new hole. Finally, the fourth update display data is sent to the augmented reality display terminal, driving the terminal to refresh and render the main page of the new current hole, completing the two-end state synchronization of the forward cut operation.
[0085] As described above, this embodiment uses a pre-verification mechanism for the scoring completion status of the cut-off command to intercept cut-off requests that have not yet completed score entry and guide the user into the scoring process. Only after the current hole score is officially written into the score ledger is a forward switch to the next hole allowed. This avoids issues such as skipping holes without scoring or missing hole scores at the source of the interaction process, ensuring the integrity of the overall score record and the standardization of the playing process. Simultaneously, all hole-cutting legality judgments and status updates are uniformly controlled and executed by the mobile smart terminal, while the augmented reality display terminal only reports the operation intent and renders the final result, ensuring that the hole status and scoring progress on both ends remain consistent. This effectively avoids status misalignment and data inconsistency caused by the augmented reality display terminal's autonomous hole-cutting, ensuring both smooth interaction and user experience while standardizing the operation logic.
[0086] Please refer to the following: Figure 5 , Figure 5 This is a flowchart illustrating the fourth embodiment of the automatic golf scoring method provided by the present invention. The automatic golf scoring method provided by the present invention specifically includes the following steps: S401: When the wireless communication link is disconnected, if no confirmation request has been received from the user through the augmented reality display terminal, the current locally recorded grade ledger is obtained, first updated display data is generated based on the grade ledger, and the first updated display data is sent to the augmented reality display terminal when the wireless communication link is restored, so that the augmented reality display terminal can immediately display the first updated display data.
[0087] In a specific implementation scenario, after a Bluetooth link is detected to be disconnected, the local core business logic is not affected. Users can still perform all operations such as manual scoring, score modification, hole switching, and mode exit. The score ledger and the main hole status are updated normally. At the same time, the issuance of application layer commands to the augmented reality display terminal is suspended, the latest version of the full HUDState is cached locally, and the underlying Bluetooth reconnection monitoring is started.
[0088] If the disconnection occurs during the pending confirmation state, the current temporary scoring process will be forcibly terminated according to the rule of "interrupting communication command", the local pending confirmation event record will be cleared, and the scoring request that has not been confirmed will be automatically invalidated to avoid leaving invalid interaction context after reconnection.
[0089] When the augmented reality display terminal detects a disconnection in the wireless communication link, it immediately freezes all service interaction entry points, stops responding to touch and voice-based scoring / hole-cutting commands, and prohibits the generation of any unreported service status locally; it can clear the current service page and switch to the disconnection waiting page; or it can retain the last frame of the service screen before the disconnection and overlay a disconnection prompt layer; regardless of the display form used, the service interaction entry points are frozen, and users are not allowed to initiate new scoring, score modification, or hole-cutting service operations.
[0090] After the wireless communication link is restored, the mobile smart terminal does not need to perform incremental data reconciliation. It directly sends the latest version of the full HUDState cached locally to the augmented reality display terminal, and completes the forced coverage of all display dimensions such as hole information, score statistics, green data, map resources, and environmental parameters in one go.
[0091] After receiving all the status data, the augmented reality display terminal immediately clears the disconnection prompt, resets all local temporary interactive states, and directly renders the latest current hole page. No manual intervention from the user is required throughout the process, achieving rapid alignment of the states on both ends.
[0092] It should be noted that if a user performs multiple scoring, hole cutting, or score modification operations on a mobile smart terminal during the disconnection period, only the final state will be synchronized upon reconnection. The intermediate processes do not need to be sent out one by one, and the synchronization efficiency is not affected by the number of operations.
[0093] If the augmented reality display terminal is showing a score confirmation pop-up when the connection is lost, the pop-up will not be restored after reconnection. Instead, the latest master control status of the mobile smart terminal will be used as the standard, which is consistent with the logic of the abnormal status forced overwrite mechanism.
[0094] As described above, in this embodiment, the architecture design with the mobile intelligent terminal as the sole authoritative state source ensures that core services such as scoring, modifying scores, and cutting holes on the mobile intelligent terminal side remain unaffected and operate normally when the wireless communication connection is lost. Simultaneously, the augmented reality display terminal instantly freezes all service interaction entry points and prohibits the generation of local service states, fundamentally preventing data discrepancies and state misalignments caused by the respective operations of both ends during the disconnection period. After successful reconnection, there is no need to perform complex two-way reconciliation and incremental synchronization; the mobile intelligent terminal only needs to send the latest full state data to achieve rapid alignment between the two ends. Furthermore, it maintains consistency with the existing abnormal state forced overwrite mechanism logic, automatically clearing invalid temporary interaction contexts remaining before the disconnection. While fully ensuring business continuity and data accuracy, it significantly simplifies the synchronization logic of disconnection and reconnection, effectively improving system stability and user experience.
[0095] Please see Figure 6 , Figure 6 A schematic diagram of the internal structure of a mobile smart terminal in one embodiment is shown. This mobile smart terminal can specifically be a terminal or a server. Figure 6 As shown, the mobile smart terminal includes a processor, a memory, and a network interface connected via a system bus. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and may also store a computer program. When executed by the processor, this computer program enables the processor to implement an automatic golf scoring method. The internal memory may also store a computer program, which, when executed by the processor, enables the processor to implement the automatic golf scoring method. Those skilled in the art will understand that... Figure 6 The structure shown is merely a block diagram of a portion of the structure related to the solution of this application and does not constitute a limitation on the mobile smart terminal to which the solution of this application is applied. A specific mobile smart terminal may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0096] In one embodiment, a mobile smart terminal is provided, including a memory and a processor. The memory stores a computer program, which, when executed by the processor, causes the processor to perform the steps described above.
[0097] In one embodiment, a computer-readable storage medium is provided storing a computer program that, when executed by a processor, causes the processor to perform the steps described above.
[0098] In one embodiment, an automatic golf scoring system is proposed, comprising the aforementioned mobile smart terminal and augmented reality display terminal, wherein a wireless communication link is established between the mobile smart terminal and the augmented reality display terminal.
[0099] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.
[0100] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0101] It should be understood that the above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit them. Those skilled in the art can modify the technical solutions described in the above embodiments, or make equivalent substitutions for some of the technical features; and all such modifications and substitutions should fall within the protection scope of the appended claims of the present invention.
Claims
1. An automatic scoring method for golf, characterized in that, Applied to mobile smart terminals, the mobile smart terminals can connect to augmented reality display terminals via wireless communication links; The automatic golf scoring method includes: Acquire all basic data and hole data of the current golf course, including the score log; acquire the current hole, generate status display data based on the all basic data and hole data corresponding to the current hole, and send the status display data to the augmented reality display terminal; The system acquires the performance data provided by the user through the augmented reality display terminal, generates a temporary scoring request for the current hole based on the performance data, and sends the temporary scoring request to the augmented reality display terminal. If a master control overlay event is received before a confirmation request from the user via the augmented reality display terminal is received, the currently locally recorded score ledger is obtained based on the master control overlay event, first updated display data is generated based on the score ledger, and the first updated display data is sent to the augmented reality display terminal so that the augmented reality display terminal cancels the display of the temporary scoring request and immediately displays the first updated display data. The master control overlay event includes at least one of the following: a scoring instruction, a scoring modification instruction, a hole-cutting instruction, or an exit instruction input by the user on the mobile smart terminal; or The user inputs an interrupt communication command through the augmented reality display terminal or the mobile smart terminal; or The user modifies the grades via voice input through the augmented reality display terminal.
2. The automatic golf scoring method according to claim 1, characterized in that, After the step of sending the temporary scoring request to the augmented reality display terminal, the method further includes: If a confirmation request is received from the user through the augmented reality display terminal, the current hole and the score data are validated based on the confirmation request. When the validity verification is successful, the score data is entered into the score ledger, new hole data is generated, a second updated display data is generated based on the new hole data, and the second updated display data is sent to the augmented reality display terminal.
3. The automatic golf scoring method according to claim 2, characterized in that, The automatic golf scoring method also includes: The system acquires the cutting instructions input by the user through the augmented reality display terminal, the cutting instructions including a front cutting instruction and a back cutting instruction; When the cut instruction is a back cut instruction, determine whether the current hole is the first hole in the sorting list; If not, then the previous hole is taken as the new current hole, and the third updated display data of the previous hole is obtained and sent to the augmented reality display terminal; When the cutting instruction is a forward cutting instruction, determine whether the operation of entering the score data into the score ledger has been completed; If not, the cut-forward instruction is rejected, the current hole remains unchanged, a score-to-be-scored instruction is generated, and the score-to-be-scored instruction is sent to the augmented reality display terminal.
4. The automatic golf scoring method according to claim 3, characterized in that, After determining whether the operation of entering the grade data into the grade ledger has been completed, the following steps are included: If so, the hole following the current hole is taken as the new current hole, the score log of the new current hole is recorded as unscored, a fourth update display data is generated based on the score data, and the fourth update display data is sent to the augmented reality display terminal.
5. The automatic golf scoring method according to claim 2, characterized in that, The step of validating the current hole and the score data based on the confirmation request includes: Obtain the target hole identifier and the score value to be written from the score data; Determine whether the target hole identifier belongs to the valid hole number range of the current course; If so, determine whether the score value to be written belongs to the preset valid score range; If so, the validity check is deemed to have passed.
6. The automatic golf scoring method according to claim 2, characterized in that, After the step of validating the current hole and the score data based on the confirmation request, the method further includes: If the validity verification fails, an error message is generated and sent to the augmented reality display terminal.
7. The automatic golf scoring method according to claim 1, characterized in that, The complete basic data includes at least one of the following: total number of holes, par number for each hole, handicap, green front and back edge distance, recommended clubs, wind speed and direction, hole map image, and current version number; The hole data includes at least one of the following: current hole status, score log, current hole score completion marker, and global statistics. The temporary scoring request includes at least one of the following: input source, operation type, target hole identifier, target score, and event number.
8. The automatic golf scoring method according to claim 1, characterized in that, The step of sending the status display data to the augmented reality display terminal includes: The status display data is packaged and sent to the augmented reality display terminal in multiple application layer commands. The application layer commands include at least one of the following: hole information command, score information command, green information command, club information command, environment information command, hole map command, and hole map overlay command.
9. The automatic golf scoring method according to any one of claims 1-8, characterized in that, The automatic golf scoring method includes: When the wireless communication link is disconnected, if no confirmation request has been received from the user through the augmented reality display terminal, the step of obtaining the local scoring data of the current local record based on the master control coverage event, and subsequent steps, shall be executed when the wireless communication link is restored. This causes the augmented reality display terminal to stop displaying the disconnection waiting page and instead display the first updated display data.
10. A mobile intelligent terminal, characterized in that, It includes a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the method as described in any one of claims 1 to 9.
11. An automatic golf scoring system, characterized in that, It includes the mobile smart terminal and the augmented reality display terminal as described in claim 10, wherein the mobile smart terminal and the augmented reality display terminal are connected via a wireless communication link.
