Information acquisition method and system based on smart card, and vehicle
By displaying the guide page in the smart card system, users can learn the operation steps, solve the problem of inconvenience in user operation, improve user experience and satisfaction, and maximize the utilization of product functions.
Patent Information
- Application Number
- CN202411122431.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-15
- Publication Date
- 2024-12-13
AI Technical Summary
When users use smart cards, due to lack of educational and support resources, it leads to inconvenience in operation, affecting user experience and satisfaction.
Provide a method and system for obtaining information based on smart cards. By displaying predefined guide pages on the user side, it helps users learn the functional operation steps of cards, including using ViewPager2 control to load graphics and text information, customize tab layout and visual attributes. , display the operation steps corresponding to the card function.
It improves users' understanding of smart card functions and operation convenience, improves user experience and satisfaction, and ensures the maximum utilization of product functions.
Smart Images

Figure CN119127363A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a method, system, electronic device, storage medium and vehicle for obtaining information based on a smart card. Background Art
[0002] Smart card is an intelligent and multifunctional electronic card, which aims to provide users with more convenient, fast, safe and reliable contactless smart payment and identity authentication services. It can store various data such as personal information, financial information and medical information, and realize many functions such as long-distance reading and writing, no need to touch, and anti-loss. It is an indispensable part of modern life.
[0003] As a smart IoT device, smart cards integrate sensors, chips and applications, can perceive the surrounding environment and user behavior in real time, and provide users with intelligent and personalized scene services through cloud data analysis. Smart cards can be widely used in various fields, such as transportation, finance, medical care, education, etc.; they can also be combined with artificial intelligence technology to achieve smarter and more automated smart homes, smart offices, smart cities and other scenes.
[0004] In the field of transportation, it is possible to pay by swiping cards for public transportation, saving the time of waiting in line to buy tickets; in the field of finance, it is possible to make contactless payments with bank cards, improving the security and efficiency of payments; in the field of medicine, it is possible to store patients' health records and treatment records, making it convenient for doctors to check them at any time. It can be seen that the application scenarios of smart cards are very wide, and will bring more convenience and efficiency to people's lives.
[0005] As the degree of automobile intelligence continues to increase, smart cards, as an important part of automobile intelligence, are developing faster and faster, and the content is becoming richer and richer. Application software such as navigation, voice assistants, and online music can display rich and diverse information to users in the form of cards and provide more convenient services. The operation and management methods of cards are also developing in a convenient and diversified way. However, due to the lack of user education and support resources, such as user manuals and online help, this may cause users to encounter difficulties during use, and users do not understand more convenient operation methods, which wastes resources and affects user experience and satisfaction. Summary of the invention
[0006] The purpose of the present invention is to provide an information acquisition method, system and vehicle based on a smart card, which provides users with a new way to independently learn product functions and understand user operating manuals, solves the problem of inconvenience caused by mechanical methods such as gradually becoming familiar with product functions through blind groping and repeated operations; makes the product functions more clearly and completely reflected to users, maximizes the product functions, and improves user experience and satisfaction.
[0007] To achieve the above object, the present invention provides the following technical solutions:
[0008] In a first aspect, the present application provides a method for obtaining information based on a smart card, the method comprising:
[0009] In response to a smart card acquisition instruction triggered by a user terminal in a vehicle-mounted application, analyzing service demand information contained in the smart card acquisition instruction;
[0010] Determining a target smart card corresponding to the service demand information;
[0011] When it is detected that the user terminal initiates an access request on the target smart card interface, a plurality of predefined guide pages are displayed;
[0012] In response to the user terminal switching action on the guide page, the smart card function operation steps associated with the currently displayed graphic information are obtained by learning the graphic information displayed on the guide page.
[0013] Optionally, the pre-definition of the multiple guide pages includes:
[0014] According to the predefined guide page layout information, the page display content corresponding to the functional points of the smart card is established to generate multiple guide pages; wherein the guide page layout information includes: pre-acquired page size information and custom tab layout information.
[0015] Optionally, the step of establishing page display content corresponding to the functional points of the smart card according to predefined guide page layout information to generate multiple guide pages includes:
[0016] Creating a guide page sample, obtaining page size information adapted to the interface size parameters of the smart card using the interface size parameters of the smart card as the page size of the guide page sample;
[0017] Obtain the graphic information displayed on each guide page under the guide page sample and generate a graphic information set; use the ViewPager2 control as the page carrier to load each graphic information in the graphic information set;
[0018] When it is detected that all guide pages have been loaded, multiple guide pages displayed before being loaded on the smart card interface are obtained; and according to the custom tab layout information, the tabs of the guide pages are set, and the multiple guide pages are switched by sliding the tabs.
[0019] Optionally, the creation of the guide page sample includes: defining a function guide corresponding to a function point of the smart card, formulating a number of operation steps under the function guide, each operation step is used to describe the description and / or operation rule of the function point; setting a guide page for each operation step, and all guide pages under the same function index constitute a guide page sample;
[0020] The guide page sample includes a ViewPager2 control, through which the graphic and text information required for display of each operation step is set; so that different guide pages display graphic and text information used to describe the operation steps based on a predefined graphic and text file format.
[0021] Optionally, before displaying the graphic information for describing the operation steps, the method further includes configuring the layout of the ViewPager2 control, which includes: adding a visual attribute to the ViewPager2 control on the guide page, and controlling whether the guide page is visible by setting the display / elimination state of the visual attribute;
[0022] When the visualization attribute is in the display state, the guide page is visible;
[0023] When the visual attribute is in the cleared state, the guide page is not visible.
[0024] Optionally, the functional points of the smart card include a card management gesture control function and a card operation management function.
[0025] Optionally, the different guide pages are based on a predefined graphic file format, and displaying graphic information for describing the operation steps includes: acquiring data information for describing the operation steps;
[0026] The data information used to describe the operation steps is processed into a configuration file that is consistent with the text and image area distribution information in the predefined page layout XML file; and the configuration file is converted into the guide page and displayed through the ViewPager2 control.
[0027] Optionally, the predefined page layout XML file includes a text area and a view area, and each view area includes at least one view window;
[0028] The distribution information of the viewing area includes the size of each viewing window.
[0029] In a second aspect, the present application provides an information acquisition system based on a smart card, the system comprising:
[0030] a response analysis module, configured to respond to a smart card acquisition instruction triggered by a user terminal in a vehicle-mounted application program and analyze service demand information contained in the smart card acquisition instruction;
[0031] A determination module, in which a user determines a target smart card corresponding to the service demand information;
[0032] A display module, used to display a plurality of predefined guide pages when monitoring that a user terminal initiates an access request on the target smart card interface;
[0033] The information acquisition module is used to respond to the switching action of the user terminal on the guide page, and obtain the smart card function operation steps associated with the currently displayed graphic information by learning the graphic information displayed on the guide page.
[0034] In a third aspect, the present application further provides a vehicle, characterized in that it comprises a vehicle body, and an information acquisition system based on a smart card as described in the second aspect, which is arranged in the vehicle body.
[0035] The beneficial effects of the present invention are embodied in:
[0036] The above-mentioned smart card-based information acquisition method, system and vehicle are combined with the actual needs of users. When the user terminal initiates an access request on the smart card interface, multiple pre-defined guide pages are displayed. The guide page includes a ViewPager2 control. In the definition stage, the ViewPager2 control can be set to display the text and picture information required for each operation step corresponding to the function point of the smart card; the user terminal is provided with personalized guidance of the vehicle service function, thereby improving the guidance effect.
[0037] Before the user operates and manages the smart card of the vehicle, the present invention first guides the user step by step on the guide page to learn the convenient card management gestures and card management functions provided by the vehicle computer. Therefore, before the user uses the smart card, the user has a general understanding of its various functions, so that the user can use the simple and convenient functions provided by the card more comprehensively, so that the product functions are more clearly and completely reflected to the user and the product functions are maximized, thereby improving the user experience and satisfaction.
[0038] In addition, the present invention proposes to display the operating steps of function points through the guidance page of the smart card, which can assist users in learning product function information; and in the process of assisting users in learning how to use new products, they can quickly understand product functions and operating precautions, and more intuitively locate the working areas of various components; ensure the standardization and safety of vehicle-mounted equipment operations, and provide convenience for users to learn and obtain information independently; not only can it reduce learning costs, but also allow practitioners who are learning a certain skill to independently complete the learning of relevant professional knowledge. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following is a brief introduction to the drawings required for the specific embodiments or the description of the prior art. In all the drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, the elements or parts are not necessarily drawn according to the actual scale.
[0040] Figure 1 This is a flow chart of the information acquisition method based on smart card of the present invention;
[0041] Figure 2 A schematic diagram of the structure of the information acquisition system based on the smart card provided by the present invention;
[0042] Figure 3 The present invention provides a schematic structural diagram of an electronic device. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0044] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings, and "multiple" generally includes at least two.
[0045] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0046] It should be understood that although the terms first, second, third, etc. may be used to describe in the embodiments of the present application, these descriptions should not be limited to these terms. These terms are only used to distinguish the descriptions. For example, without departing from the scope of the embodiments of the present application, the first may also be referred to as the second, and similarly, the second may also be referred to as the first.
[0047] As used herein, the words "if" and "if" may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.
[0048] It should also be noted that the term "includes", "comprising" or any other variation thereof is intended to cover non-exclusive inclusion, so that a commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprising a ..." do not exclude the existence of other identical elements in the commodity or device including the elements.
[0049] It should be particularly noted that any symbols and / or numbers in the specification that are not marked in the accompanying drawings are not drawing marks.
[0050] The embodiments of the present application provide a method, system and vehicle for obtaining information based on a smart card, which are mainly used in vehicle-mounted equipment. The method can be applied to a terminal, a server, or a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. The terminal may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, etc. The smart card provided by the embodiments of the present application can conveniently obtain vehicle-mounted application services, and can also more intuitively locate the working areas of various components; thereby, while meeting user needs, ensuring the standardization and safety of vehicle-mounted equipment operations, and providing convenience for users.
[0051] Reference Figure 1 , an embodiment of the present invention provides a method for obtaining information based on a smart card, the method comprising:
[0052] S101 responds to a smart card acquisition instruction triggered by a user terminal in a vehicle-mounted application, and analyzes service demand information contained in the smart card acquisition instruction;
[0053] S102 determining a target smart card corresponding to the service demand information;
[0054] S103 displays a plurality of predefined guide pages when monitoring that the user terminal initiates an access request to the target smart card interface;
[0055] S104: In response to the user terminal switching action on the guide page, the smart card function operation steps associated with the currently displayed graphic information are obtained by learning the graphic information displayed on the guide page.
[0056] In the above embodiment, step S101 triggers the smart card acquisition instruction in the vehicle application, and the smart card acquisition instruction carries the service demand information of the user end; wherein, the action of triggering the smart card acquisition instruction in the vehicle application is operated through the vehicle application interface; the service demand information includes the vehicle functions that the user end needs to implement, the location and working area of the locomotive parts that need to be understood; or the vehicle application services and target items that need to be provided by the locomotive end. After the locomotive end acquires these content information, the vehicle controller will select the target smart card that meets the above requirements from the card list of the vehicle system and feedback it to the user end.
[0057] Optionally, the method of implementing the feedback of the smart card to the user terminal in step S101 also includes: the user terminal can independently select any smart card in the card list of the vehicle system through the vehicle application interface; when entering the smart card interface, obtain multiple guide pages of the smart card.
[0058] In one embodiment, after executing step S101, if there is no smart card in the vehicle system that can meet the service requirements of the user end, or the user end customizes the addition of a smart card; in response to the received card addition request, the added card list is traversed to identify whether there is a smart card that is repeated with the newly added card; the identified duplicate smart card is processed to determine whether to add a new smart card or merge and set; and the processed smart card is added. The processing method includes merging and setting, deleting duplicate smart cards, etc.
[0059] In the above embodiment, the process of adding a new card request includes:
[0060] Open the handheld mobile terminal and find the "Smart Home" icon on the home screen or the vehicle application interface; click to enter the Smart Home interface and get multiple tabs displayed at the bottom of the screen. By selecting the Add function in the tab, you can send a request to add a new smart card to the locomotive.
[0061] It can be understood that a request to add a new smart card is received from the user through the interface of the vehicle service program. The request contains all relevant information of the new smart card, such as the type of smart card, the services provided, the scheduled reminder date, the vehicle functions, instructions, etc.; a list of added cards is maintained, which records all existing card information. After receiving the request to add a new card, the list is traversed to check whether there is an existing card with the same partial information as the new card. During the traversal process, similar cards are identified based on the type and other attributes of the new card.
[0062] Specifically, check the cards of the same type as the card. If the same type of cards are found, further analyze the other attributes of these cards (such as smart card type, services provided, scheduled reminder date, vehicle functions, instructions, etc.) to determine whether they constitute duplication. For example, there are two types of nodes: navigation smart cards and schedule smart cards. Now the user requests to add a new schedule card, and the scheduled reminder date it provides is February 26. Traversing the list of added cards, it is found that there is already a schedule card, and its scheduled reminder date is also February 26. Since the two cards are of the same type and the scheduled reminder date constitutes a duplication, it is considered to be an anomaly and is marked accordingly. At this point, it can be further manually determined whether the two smart cards with the anomaly constitute a duplication.
[0063] In one embodiment, the process of defining multiple guide pages in step S102 includes:
[0064] According to the predefined guide page layout information, the page display content corresponding to the functional points of the smart card is established to generate multiple guide pages; wherein the guide page layout information includes: pre-acquired page size information and custom tab layout information.
[0065] In the above embodiment, the page display content corresponding to the functional points of the smart card is established according to the predefined guide page layout information, and the generation of multiple guide pages specifically includes:
[0066] According to the predefined guide page layout information, the page display content corresponding to the function points of the smart card is established, and multiple guide pages are generated including:
[0067] Creating a guide page sample, obtaining page size information adapted to the interface size parameters of the smart card using the interface size parameters of the smart card as the page size of the guide page sample;
[0068] Obtain the graphic information displayed on each guide page under the guide page sample and generate a graphic information set; use the ViewPager2 control as the page carrier to load each graphic information in the graphic information set;
[0069] When it is detected that all guide pages have been loaded, multiple guide pages displayed before being loaded on the smart card interface are obtained; and according to the custom tab layout information, the tabs of the guide pages are set, and the multiple guide pages are switched by sliding the tabs.
[0070] In the above embodiment, creating a guide page sample includes: defining a function guide corresponding to a function point of a smart card, formulating a number of operation steps under the function guide, each operation step is used to describe the description and / or operation rules of the function point; setting a guide page for each operation step, and all guide pages under the same function index constitute a guide page sample;
[0071] The guide page sample includes a ViewPager2 control, through which the graphic and text information required for display of each operation step is set; so that different guide pages display graphic and text information used to describe the operation steps based on a predefined graphic and text file format.
[0072] In the above embodiment, the display of graphic information for describing the operation steps also includes configuring the layout of the ViewPager2 control, which includes: adding a visual attribute to the ViewPager2 control on the guide page, and controlling whether the guide page is visible by setting the display / elimination state of the visual attribute;
[0073] When the visualization attribute is in the display state, the guide page is visible;
[0074] When the visual attribute is in the cleared state, the guide page is not visible.
[0075] Optionally, the layout configuration of the ViewPager2 control specifically includes: setting the Adapter of ViewPager2, guiding the inconsistent text and image content of each step, and controlling the display content of the page and the click event of the button by setting the RecyclerView.Adapter for the page. The guide page has several operation steps, which are used to describe the use and operation process of the specific functions of the smart card. When the user-side learning is completed, the button displayed is [Finish], except for the last step, the buttons displayed are [Continue Exploration] and [End], so the page layout displayed in each step is also inconsistent, so the Adapter here is also customized according to the actual situation. The custom Adapter inherits from RecyclerView.Adapter. It loads different page layout XML files according to the current display steps, obtains the corresponding control instance through the resource id, and adds click events. The click event of "Continue to Explore" sets ViewPager2 to display the next page through SetCurrentItem(int item, booleansmoothScroll), which means that the user will learn the next function point. The text and image display of the next page will also be displayed in the corresponding step from the text and pictures defined in the second step. The click events of "Complete" and "End" directly set the guide page to invisible through visibility and exit the guide interface.
[0076] In the above embodiment, the different guide pages are based on a predefined graphic file format, and displaying graphic information for describing the operation steps includes: acquiring data information for describing the operation steps;
[0077] The data information used to describe the operation steps is processed into a configuration file that is consistent with the text and image area distribution information in the pre-defined page layout XML file; and the configuration file is converted into the guide page and displayed through the ViewPager2 control.
[0078] In the above embodiment, the displayed graphic and text information is the picture and text resources displayed in the working area that meets the user interface size requirements on the guide page; and both the picture and text resources contain resource ids.
[0079] In the above embodiment, the predefined page layout XML file defines a ViewPager2 control, and initializes an instance of the ViewPager2 control through a resource id to facilitate subsequent display.
[0080] In the above embodiment, the predefined page layout XML file includes a text area and a view area, and each view area includes at least one view window;
[0081] The distribution information of the view area includes the size of each view window. For example, the view window includes a first view window and a second view window;
[0082] Based on a first adding instruction performed by a user on the first view window, adding a function symbol mark in the view area to obtain a first view display area;
[0083] Based on a second adding instruction executed by the user on the second view window, a pixel point identifier is added, and a column dividing line is drawn according to the pixel point identifier to obtain a second view display area;
[0084] An image with a preset size and a preset resolution that conforms to the user interface UI design is generated based on the text area, the first view display area, and the second view display area.
[0085] Optionally, the text resource includes text content describing the operation steps; this part of the content is defined in an array list ArrayList, and the id name of the image resource is also defined in another array list ArrayList. The text and image in the same position of the above two ArrayLists are consistent and can be matched, which is convenient for display to users.
[0086] In the above embodiment, after the user exits the guide page in step S104, the user enters the smart card interface normally. The user can operate the smart card page according to the initial learning, and manage the cards such as adding, deleting, and moving positions.
[0087] For the method steps disclosed in the above embodiments, the method steps are described as a series of action combinations for the purpose of simple description, but those skilled in the art should know that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0088] Based on the same inventive concept, the embodiment of the present application also provides a smart card-based information acquisition system for implementing the above-mentioned smart card-based information acquisition method. The implementation solution provided by the system to solve the problem is similar to the implementation solution recorded in the above-mentioned method, so the specific limitations in one or more smart card-based information acquisition system embodiments provided below can refer to the above-mentioned limitations on the above-mentioned smart card-based information acquisition method, and will not be repeated here. It can be understood that the above description of its method is also applicable to the description of the system.
[0089] In one embodiment, a smart card-based information acquisition system is also provided. The embodiments of the present invention are described below in conjunction with the accompanying drawings. Figure 2 As shown, the system specifically includes:
[0090] A response analysis module 210, configured to respond to a smart card acquisition instruction triggered by a user terminal in a vehicle-mounted application and analyze service demand information contained in the smart card acquisition instruction;
[0091] Determination module 220, the user determines the target smart card corresponding to the service demand information;
[0092] A display module 230, for displaying a plurality of predefined guide pages when monitoring that a user terminal initiates an access request on the target smart card interface;
[0093] The information acquisition module 240 is used to obtain the smart card function operation steps associated with the currently displayed graphic information by learning the graphic information displayed on the guide page in response to the user terminal switching action on the guide page.
[0094] It is worth noting that although only some basic functional modules are disclosed in the embodiments of the present invention, it does not mean that the composition of the present system is limited to the above basic functional modules. On the contrary, what the present embodiment wants to express is that on the basis of the above basic functional modules, those skilled in the art can arbitrarily add one or more functional modules in combination with the prior art to form an infinite number of embodiments or technical solutions. In other words, the present system is open rather than closed. Just because the present embodiment only discloses individual basic functional modules, it cannot be considered that the protection scope of the claims of the present invention is limited to the disclosed basic functional modules. At the same time, for the convenience of description, the above devices are described in terms of functions and are described separately in various units and modules. Of course, when implementing the present invention, the functions of each unit and module can be implemented in the same or one or more software and / or hardware.
[0095] like Figure 3 As shown, the present invention also provides an electronic device, comprising: a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the method for processing node setting conflicts.
[0096] Figure 3 Schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. Figure 3 The electronic device provided in the embodiment of the present invention includes: one or more processors 310 and a storage device 320; the processor 310 in the electronic device may be one or more, Figure 3 A processor 310 is taken as an example; the storage device 320 is used to store one or more programs; the one or more programs are executed by the one or more processors 310, so that the one or more processors 310 implement the method for processing node setting conflicts as described in any one of the embodiments of the present invention.
[0097] The electronic device may further include: an input device 330 and an output device 340 .
[0098] The processor 310, storage device 320, input device 330 and output device 340 in the electronic device can be connected via a bus or other means. Figure 3 The example of connecting through bus is taken in the following.
[0099] The storage device 320 in the electronic device is a computer-readable storage medium that can be used to store one or more programs, which can be software programs, computer executable programs, and modules, such as program instructions / modules corresponding to the method for processing node setting conflicts provided in the embodiment of the present invention. The processor 310 executes various functional applications and data processing of the electronic device by running the software programs, instructions, and modules stored in the storage device 320, that is, the method for processing node setting conflicts in the above method embodiment is implemented.
[0100] The storage device 320 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the electronic device, etc. In addition, the storage device 320 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the storage device 320 may further include a memory remotely arranged relative to the processor 310, and these remote memories may be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0101] The input device 330 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the electronic device. The output device 340 may include a display device such as a display screen.
[0102] The present invention also provides a computer-readable storage medium storing a computer program executable by an electronic device. When the computer program runs on the electronic device, the electronic device executes the steps of the smart card-based information acquisition method.
[0103] Specifically, the computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can 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 (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer 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. In the present embodiment, the computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.
[0104] The present invention further provides a vehicle, wherein the vehicle is provided with a vehicle body, and the above-mentioned smart card-based information acquisition system is arranged in the vehicle body.
[0105] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for obtaining information based on a smart card, characterized in that: The method comprises: In response to a smart card acquisition instruction triggered by a user terminal in a vehicle-mounted application, analyzing service demand information contained in the smart card acquisition instruction; Determining a target smart card corresponding to the service demand information; When it is detected that the user terminal initiates an access request on the target smart card interface, a plurality of predefined guide pages are displayed; In response to the user terminal switching action on the guide page, the smart card function operation steps associated with the currently displayed graphic information are obtained by learning the graphic information displayed on the guide page.
2. The method according to claim 1, characterized in that: The pre-definition of the plurality of guide pages includes: According to the predefined guide page layout information, the page display content corresponding to the functional points of the smart card is established to generate multiple guide pages; wherein the guide page layout information includes: pre-acquired page size information and custom tab layout information.
3. The method according to claim 2, characterized in that The step of establishing page display content corresponding to the functional points of the smart card according to the predefined guide page layout information and generating multiple guide pages includes: According to the predefined guide page layout information, the page display content corresponding to the function points of the smart card is established, and multiple guide pages are generated including: Creating a guide page sample, obtaining page size information adapted to the interface size parameters of the smart card using the interface size parameters of the smart card as the page size of the guide page sample; Obtain the graphic information displayed on each guide page under the guide page sample, and generate a graphic information set; use the ViewPager2 control as the page carrier to load each graphic information in the graphic information set; When it is detected that all guide pages have been loaded, multiple guide pages displayed before being loaded on the smart card interface are obtained; and according to the custom tab layout information, the tabs of the guide pages are set, and the multiple guide pages are switched by sliding the tabs.
4. The method according to claim 2, characterized in that: The creation of the guide page sample includes: defining a function guide corresponding to the function point of the smart card, formulating a number of operation steps under the function guide, each operation step is used to describe the description and / or operation rules of the function point; setting a guide page for each operation step, and all guide pages under the same function index constitute a guide page sample; The guide page sample includes a ViewPager2 control, through which the graphic and text information required for display of each operation step is set; so that different guide pages display graphic and text information used to describe the operation steps based on a predefined graphic and text file format.
5. The method according to claim 4, characterized in that Before displaying the graphic information for describing the operation steps, the layout of the ViewPager2 control is configured, which includes: adding a visual attribute to the ViewPager2 control on the guide page, and controlling whether the guide page is visible by setting the display / elimination state of the visual attribute; When the visualization attribute is in the display state, the guide page is visible; When the visual attribute is in the cleared state, the guide page is not visible.
6. The method according to claim 4, characterized in that The functions of the smart card include a card management gesture control function and a card operation management function.
7. The method according to claim 4, characterized in that The different guide pages are based on a predefined graphic file format, and displaying graphic information for describing the operation steps includes: acquiring data information for describing the operation steps; The data information used to describe the operation steps is processed into a configuration file that is consistent with the text and image area distribution information in the predefined page layout XML file; and the configuration file is converted into the guide page and displayed through the ViewPager2 control.
8. The method according to claim 7, characterized in that The predefined page layout XML file includes a text area and a view area, each view area includes at least one view window; The distribution information of the viewing area includes the size of each viewing window.
9. An information acquisition system based on a smart card, characterized in that: The system comprises: a response analysis module, configured to respond to a smart card acquisition instruction triggered by a user terminal in a vehicle-mounted application program and analyze service demand information contained in the smart card acquisition instruction; A determination module, in which a user determines a target smart card corresponding to the service demand information; A display module, used to display a plurality of predefined guide pages when monitoring that a user terminal initiates an access request on the target smart card interface; The information acquisition module is used to respond to the switching action of the user terminal on the guide page, and obtain the smart card function operation steps associated with the currently displayed graphic information by learning the graphic information displayed on the guide page.
10. A vehicle, characterized in that: It comprises a vehicle body, and the smart card-based information acquisition system as claimed in claim 9 arranged in the vehicle body.
