WO2022228403A1 - 页面展示方法及装置 - Google Patents

页面展示方法及装置 Download PDF

Info

Publication number
WO2022228403A1
WO2022228403A1 PCT/CN2022/089108 CN2022089108W WO2022228403A1 WO 2022228403 A1 WO2022228403 A1 WO 2022228403A1 CN 2022089108 W CN2022089108 W CN 2022089108W WO 2022228403 A1 WO2022228403 A1 WO 2022228403A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
page
terminal device
interface
identification information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2022/089108
Other languages
English (en)
French (fr)
Inventor
陈建强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Petal Cloud Technology Co Ltd
Original Assignee
Petal Cloud Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Petal Cloud Technology Co Ltd filed Critical Petal Cloud Technology Co Ltd
Priority to US18/558,127 priority Critical patent/US12468495B2/en
Priority to EP22794873.4A priority patent/EP4318258A4/en
Publication of WO2022228403A1 publication Critical patent/WO2022228403A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9554Retrieval from the web using information identifiers, e.g. uniform resource locators [URL] by using bar codes
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/172Caching, prefetching or hoarding of files
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/972Access to data in other repository systems, e.g. legacy data or dynamic Web page generation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06037Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • G06K19/0723Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips the record carrier comprising an arrangement for non-contact communication, e.g. wireless communication circuits on transponder cards, non-contact smart cards or RFIDs
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0623Electronic shopping [e-shopping] by investigating goods or services
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Managing shopping lists, e.g. compiling or processing purchase lists
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0641Electronic shopping [e-shopping] utilising user interfaces specially adapted for shopping
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating

Definitions

  • the embodiments of the present application relate to the field of data transmission, and in particular, to a method and apparatus for displaying pages.
  • the mainstream way for terminal devices to display third-party pages to users is: the terminal device scans the QR code corresponding to the third-party page, obtains the link of the third-party page contained in the QR code, and then obtains the third-party page according to the link of the third-party page. page and display it.
  • the terminal device may be a mobile phone
  • the third-party page may be a product purchase page.
  • the product purchase page may include product purchase information such as product pictures and product prices.
  • Users can scan the QR code corresponding to the purchase page of the product with their mobile phone.
  • the mobile phone can obtain the link of the product purchase page contained in the two-dimensional code, and then obtain and display the product purchase page according to the link.
  • the process of scanning the two-dimensional code corresponding to the third-party page by the terminal device is not reproducible.
  • the user wants to view the third-party page again, he needs to use the terminal device to scan the QR code corresponding to the third-party page again.
  • the user scans the QR code corresponding to the product purchase page with a mobile phone.
  • the user is required to scan the QR code corresponding to the product purchase page with the mobile phone again. Just do it. If there is no QR code corresponding to the product purchase page on site, the mobile phone may not be able to display the product purchase page for the user again.
  • the embodiments of the present application provide a page display method and device, which can solve the problem in the prior art that the display process of a third-party page is non-reproducible, so that a user cannot view the third-party page repeatedly.
  • an embodiment of the present application provides a page display method.
  • the method can be applied to a terminal device, the terminal device is connected to a server, the server includes at least one first file, and the first file is related to the first page.
  • the method includes: performing a first interactive operation between the terminal device and the first object, and acquiring identification information of the first file contained in the first object.
  • the terminal device downloads the corresponding first file from the server according to the identification information of the first file.
  • the terminal device saves the first file, and displays the corresponding first page according to the first file.
  • the terminal device receives the first operation, where the first operation is an operation of the user opening the first page. In response to the first operation, the terminal device displays the first page again.
  • the first object may be an NFC tag, or a device including an NFC tag, or a two-dimensional code tag, or a device capable of displaying a two-dimensional code, or a first electronic device that wirelessly communicates with the terminal device.
  • the above-mentioned terminal device and the first object perform a first interactive operation to obtain the identification information of the first file contained in the first object, which may refer to: a terminal
  • the device touches (or approaches) the NFC tag or the device with the built-in NFC tag, and obtains the identification information of the first file contained in the NFC tag or the device with the built-in NFC tag.
  • the terminal device also has an NFC tag, such as an NFC chip.
  • the first file may include identification information of the first file, and the identification information of the first file may be the first page name, page ID, and the like.
  • the first page may be a third-party page, for example, the first page may include any of the following: a product purchase page, an advertisement page, a web page, a payment page, an official account page, a video display page, and an article display page.
  • the terminal device saves the first file
  • an operation of opening the first page (such as the aforementioned first operation) can be performed on the terminal device, and the terminal device can respond Upon the user's operation of opening the first page, the first page is displayed again according to the first file, thereby realizing the reproduction of the first page.
  • the first file may be a file package containing the content of the first page.
  • the file package may have various formats.
  • the terminal device downloads the first file from the server, it may download the first file in a format suitable for its own operating system from the server according to its own operating system.
  • the format of the first file may include apk format, ipa format, pxl format, deb format, dmg format, exe format, and the like.
  • the operating system of the terminal device may be a Harmony TM (harmony) system, an Android TM (android) system, an iosTM system, a macTM system, a windowsTM system, and the like.
  • the terminal device can download the first file in the apk format from the server.
  • the terminal device may download the first file in the ipa format, or the pxl format, or the deb format from the server.
  • the terminal device can download the first file in the dmg format from the server.
  • the terminal device may download the first file in exe format from the server.
  • the method further includes: the terminal device obtains from the server whether the first file is updated according to the identification information of the first file. When the first file is updated, the terminal device displays an update reminder of the first file.
  • the terminal device may query through the interface whether the first file is updated in the server according to a preset period.
  • the preset period may be 1 minute, 5 minutes, 10 minutes, 1 day, 2 days, or the like.
  • the terminal device displays an update reminder of the first file, which can be used to remind the user to actively update the first file.
  • the method further includes: the terminal device receiving the second operation.
  • the terminal device downloads a second file from the server, where the second file is an updated file of the first file.
  • the terminal device replaces the first file with the second file.
  • the method further includes: the terminal device obtains from the server whether the first file is updated according to the identification information of the first file.
  • the terminal device automatically downloads the second file from the server, and the second file is the file after updating the first file.
  • the terminal device replaces the first file with the second file.
  • the updated first page can be made into the updated first file (ie, the second file) in time, and then uploaded to the server again.
  • the terminal device can monitor the update state of the first file in time, and update the saved first file. Therefore, the first page displayed by the terminal device for the user according to the first file is time-sensitive.
  • the terminal device includes a silent upgrade switch; the terminal device automatically downloads the second file from the server, including: when the silent upgrade switch is turned on, the terminal device automatically downloads the second file from the server.
  • the silent upgrade switch can be used to control all the first files saved by the terminal device.
  • the mobile phone can automatically update all the saved first files.
  • the terminal device may respectively provide a silent upgrade switch for each saved first file.
  • the mobile phone can automatically update only the first file corresponding to the silent upgrade switch.
  • the terminal device may support the overall update of all the saved first files, or may support the update of a single first file.
  • the method further includes: the terminal device displays a first interface, where the first interface includes a first card corresponding to the first page (or the first card is associated with the first page). ); the first card includes the page identifier of the first page, and/or the identifier of the page type of the first page.
  • the first operation is an operation of clicking or touching the first card on the first interface.
  • the terminal device displays the first card corresponding to the first page, which can facilitate the user to intuitively see the entrance of the first page, and the user can trigger the terminal device to display the first page by clicking the first card, which is convenient to operate.
  • the method further includes: the terminal device displays a first interface, and the first interface includes a first folder; the first folder includes at least one card, and the at least one card A first card is included, and the first card is associated with the first page; the first card includes a page identifier of the first page, and/or an identifier of the page type of the first page.
  • the terminal device receives a third operation, where the third operation is an operation for the user to open the first folder.
  • the terminal device displays a second interface, where the second interface includes the cards in the first folder.
  • the first operation is an operation of clicking or touching the first card in the second interface.
  • the cards included in the first folder have the same page type; the first interface further includes a second folder, and the second folder includes at least one card; the page type of the cards included in the second folder is the same as that of the first folder.
  • the cards included in the folder have different page types.
  • the first folder may be a shopping folder
  • the second folder may be a financial folder, and the like.
  • the method further includes: the terminal device receives a fourth operation, where the fourth operation is an operation of the user to delete the first card; the terminal device deletes the first card and the first file in response to the fourth operation.
  • the user may perform a fourth operation on the first card to trigger the terminal device to delete the first card and the corresponding first file.
  • the method further includes: the terminal device displays a third interface, where the third interface includes function controls corresponding to the startup entry of the first interface; the third interface is a negative screen, Or desktop, or drop-down interface.
  • the displaying of the first interface by the terminal device includes: the terminal device receives a fifth operation, where the fifth operation is an operation of a user clicking a function control corresponding to a startup entry of the first interface. The terminal device displays the first interface in response to the fifth operation.
  • the server and the first object further include verification information of the first file; the terminal device and the first object perform a first interactive operation to obtain the identifier of the first file contained in the first object.
  • the information includes: performing a first interactive operation between the terminal device and the first object, and acquiring the identification information of the first file and the verification information of the first file contained in the first object.
  • the terminal device downloads the corresponding first file from the server according to the identification information of the first file, including: the terminal device downloads the corresponding first file and the verification information of the first file from the server according to the identification information of the first file .
  • the terminal device saves the first file, and displays the corresponding first page according to the first file, including: when the terminal device verifies the verification information of the first file downloaded from the server, and the first file contained in the first object is compared. When the verification information of the files is consistent, the terminal device saves the first file, and displays the corresponding first page according to the first file.
  • the verification information of the first file may include a verification signature, a package name, and the like of the first file.
  • the terminal device verifies the first file according to the verification information of the first file, which can ensure the security of the first file and avoid the intrusion of the damaged or tampered first file.
  • the method further includes: when the verification information of the first file downloaded from the server obtained by the terminal device is inconsistent with the verification information of the first file contained in the first object, the terminal device displays the first file. File verification failure prompt information.
  • the first file included in the server is an encrypted file; the first object further includes a key of the first file.
  • Performing a first interactive operation between the terminal device and the first object, and acquiring the identification information of the first file included in the first object includes: performing a first interactive operation between the terminal device and the first object, and acquiring the first object The identification information of the first file and the key of the first file contained in the .
  • the terminal device saves the first file and displays the corresponding first page according to the first file, including: when the terminal device can decrypt the first file according to the key of the first file contained in the first object, the terminal The device saves the first file, and displays the corresponding first page according to the first file.
  • the terminal device includes a first module; the first module includes at least one first file, and the first file is related to the first page; the first interactive operation is performed between the terminal device and the first object to obtain the first object
  • the method further includes: when the first module includes the first file corresponding to the identification information of the first file, the terminal device directly pulls up the corresponding first file from the first module file, and display the corresponding first page according to the first file.
  • the first module may be Huawei mobile services core (huawei mobile services core, HMS core).
  • HMS core Huawei mobile services core
  • the terminal device can directly pull up the corresponding first file from the HMS core according to the identification information of the first file, and display the corresponding first page according to the first file.
  • the terminal device downloads the corresponding first file from the server according to the identification information of the first file, including: when the first module does not include the first file corresponding to the identification information of the first file, the terminal device downloads the corresponding first file according to the identification information of the first file. For the identification information of the first file, download the corresponding first file from the server.
  • the method in which the terminal device directly pulls the first file from the HMS Core and then performs the jump has a shorter overall time consumption and higher efficiency. high.
  • the terminal device directly pulls the first file from the HMS Core and executes the jump and can also realize off-network jump in some scenarios.
  • an embodiment of the present application provides a page display apparatus, and the page display apparatus can be applied to a terminal device.
  • the terminal device is connected to the server, and the server includes at least one first file, and the first file is related to the first page.
  • the apparatus can be used to implement the page display method described in the first aspect above.
  • the functions of the apparatus may be implemented by hardware, or by executing corresponding software by hardware.
  • the hardware or software includes one or more modules or units corresponding to the above functions, for example, an interaction unit, a transceiver unit, a processing unit and a display unit.
  • the interaction unit is configured to perform a first interaction operation with the first object, and obtain identification information of the first file contained in the first object.
  • the processing unit is configured to download the corresponding first file from the server according to the identification information of the first file through the transceiver unit.
  • the processing unit is further configured to save the first file, and display the corresponding first page according to the first file through the display unit.
  • the processing unit is further configured to receive the first operation, and in response to the first operation, display the first page again through the display unit.
  • the first operation is an operation for the user to open the first page.
  • the first object may be an NFC tag, or a device including an NFC tag, or a two-dimensional code tag, or a device capable of displaying a two-dimensional code, or a first electronic device that wirelessly communicates with the terminal device.
  • the first file may include identification information of the first file, and the identification information of the first file may be the first page name, page ID, and the like.
  • the first page may be a third-party page, for example, the first page may include any of the following: a product purchase page, an advertisement page, a web page, a payment page, an official account page, a video display page, and an article display page.
  • the processing unit is further configured to obtain from the server whether the first file is updated according to the identification information of the first file through the transceiver unit. When the first file is updated, the processing unit displays an update reminder of the first file through the display unit.
  • the processing unit is further configured to receive the second operation, and in response to the second operation, download the second file from the server through the transceiver unit, and replace the first file with the second file.
  • the second file is an updated file of the first file.
  • the processing unit is further configured to obtain from the server whether the first file is updated according to the identification information of the first file through the transceiver unit.
  • the processing unit automatically downloads the second file from the server through the transceiver unit, and replaces the first file with the second file.
  • the second file is an updated file of the first file.
  • the terminal device includes a silent upgrade switch; the processing unit is specifically configured to automatically download the second file from the server through the transceiver unit when the silent upgrade switch is turned on.
  • the processing unit is further configured to display a first interface through the display unit, where the first interface includes a first card corresponding to the first page; the first card includes a page identifier of the first page, and/or a The ID of the page type.
  • the first operation is an operation of clicking or touching the first card on the first interface.
  • the processing unit is further configured to display a first interface through the display unit, where the first interface includes a first folder; the first folder includes at least one card, and the first card is one of the at least one cards; the first The card includes the page identifier of the first page, and/or the identifier of the page type of the first page.
  • the processing unit is further configured to receive a third operation, and in response to the third operation, display a second interface through the display unit, where the second interface includes the cards in the first folder.
  • the third operation is an operation for the user to open the first folder.
  • the first operation is an operation of clicking or touching the first card in the second interface.
  • the cards included in the first folder have the same page type; the first interface further includes a second folder, and the second folder includes at least one card; the page type of the cards included in the second folder is the same as that of the first folder.
  • the cards included in the folder have different page types.
  • the processing unit is further configured to receive a fourth operation, and in response to the fourth operation, delete the first card and the first file.
  • the fourth operation is an operation for the user to delete the first card.
  • the processing unit is further configured to display a third interface through the display unit, where the third interface includes function controls corresponding to the startup entry of the first interface; the third interface is a negative screen, or a desktop, or a pull-down interface.
  • the processing unit receives the fifth operation, and in response to the fifth operation, displays the first interface through the display unit.
  • the fifth operation is an operation in which the user clicks the function control corresponding to the startup entry of the first interface.
  • the server and the first object further include verification information of the first file respectively;
  • the interaction unit is specifically configured to perform a first interactive operation with the first object, and obtain the information of the first file contained in the first object. identification information, and verification information of the first file.
  • the processing unit is specifically configured to, through the transceiver unit, download the corresponding first file and the verification information of the first file from the server according to the identification information of the first file.
  • the processing unit verifies that the verification information of the first file downloaded from the server is consistent with the verification information of the first file contained in the first object, the processing unit saves the first file, and displays the first file through the display unit according to the first file. The corresponding first page is displayed.
  • the verification information of the first file may include a verification signature, a package name, and the like of the first file.
  • the processing unit displays the verification information of the first file through the display unit. Failed message.
  • the first file included in the server is an encrypted file; the first object further includes a key of the first file.
  • the interaction unit is specifically configured to perform a first interaction operation with the first object, and obtain the identification information of the first file and the key of the first file contained in the first object.
  • the processing unit can decrypt the first file according to the key of the first file contained in the first object, save the first file, and display the corresponding first page according to the first file through the display unit.
  • the terminal device includes a first module; the first module includes at least one first file, and the first file is related to the first page; the processing unit is further configured when the first module includes the identification information corresponding to the first file.
  • the processing unit is further configured when the first module includes the identification information corresponding to the first file.
  • the first module may be Huawei mobile services core (huawei mobile services core, HMS core).
  • the processing unit is specifically configured to, when the first module does not include the first file corresponding to the identification information of the first file, download the corresponding first file from the server through the transceiver unit according to the identification information of the first file.
  • an embodiment of the present application provides an electronic device, including: a processor; a memory; and a computer program; wherein, the computer program is stored on the memory, and when the computer program is executed by the processor , so that the electronic device implements the page display method described in the first aspect.
  • the electronic device can be a mobile phone, a tablet computer, a wearable device (such as a smart watch, a smart bracelet, etc.), a vehicle-mounted device, an augmented reality (AR)/virtual reality (VR) device, a laptop, Ultra-mobile personal computer (UMPC), netbook, personal digital assistant (PDA), etc.
  • a wearable device such as a smart watch, a smart bracelet, etc.
  • VR virtual reality
  • UMPC Ultra-mobile personal computer
  • PDA personal digital assistant
  • an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium includes a computer program, and when the computer program is run on an electronic device, the electronic device is made to implement the first aspect The described page display method.
  • an embodiment of the present application further provides a computer program product, including computer-readable codes, which, when the computer-readable codes are executed in an electronic device, enable the electronic device to implement the page display method described in the foregoing first aspect .
  • an embodiment of the present application further provides a page display system, including: a terminal device, a server, and a first object; the terminal device is connected to a server, and the server includes at least one first file, and the first file is connected to a first file.
  • the first page is related; the first object is an NFC tag, or a device including an NFC tag, or a two-dimensional code tag, or a device that can display a two-dimensional code, or a first electronic device that wirelessly communicates with the terminal device.
  • the terminal device acquires the identification information of the first file contained in the first object.
  • the terminal device downloads the corresponding first file from the server according to the identification information of the first file.
  • the terminal device saves the first file, and displays a corresponding first page according to the first file.
  • the terminal device receives a first operation, where the first operation is an operation of the user opening the first page.
  • the terminal device In response to the first operation, the terminal device displays the first page again.
  • the terminal device is further configured to, according to the identification information of the first file, obtain from the server whether the first file is updated; when the first file is updated, display an update reminder of the first file.
  • the terminal device is further configured to receive a second operation, download a second file from the server in response to the second operation, where the second file is an updated file of the first file; and replace the first file with the second file .
  • the terminal device is further configured to display a first interface, where the first interface includes a first card; the first card is associated with the first page; the first card includes a page identifier of the first page, and/or the first card is The identifier of the page type of a page; the first operation is an operation of clicking or touching the first card on the first interface.
  • the terminal device is further configured to receive a fourth operation, where the fourth operation is an operation of the user to delete the first card; in response to the fourth operation, delete the first card and the first file.
  • the fourth operation is an operation of the user to delete the first card
  • the terminal device is further configured to display a third interface, where the third interface includes function controls corresponding to the start-up entry of the first interface; the third interface is a negative screen, a desktop, or a pull-down interface.
  • the terminal device is specifically configured to receive a fifth operation, where the fifth operation is an operation of the user clicking on the function control corresponding to the startup entry of the first interface; in response to the fifth operation, the first interface is displayed.
  • the terminal device can implement all the functions of the page display method described in the first aspect, and details are not repeated here.
  • an embodiment of the present application further provides an NFC tag, where the NFC tag at least includes identification information of a first file, and the first file is related to the first page.
  • an embodiment of the present application further provides a server, where the server includes at least one first file, and the first file is related to the first page.
  • the first file includes identification information of the first file.
  • the identification information of the first file may be the first page name, page ID, and the like.
  • the first page may be a third-party page, for example, the first page may include any of the following: a product purchase page, an advertisement page, a web page, a payment page, an official account page, a video display page, and an article display page.
  • FIG. 1 is a schematic diagram of a product purchase page of smart glasses and its corresponding two-dimensional code
  • Fig. 2 is the scene schematic diagram that the mobile phone scans the two-dimensional code shown in (b) in Fig. 1;
  • FIG. 3 is a schematic diagram of a mobile phone displaying a product purchase page of the smart glasses shown in (a) in FIG. 1;
  • FIG. 4 is a schematic diagram of an application scenario provided by an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a terminal device provided by an embodiment of the present application.
  • FIG. 6 is a schematic flowchart of a page display method provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of uploading a first file to an application market provided by an embodiment of the present application.
  • FIG. 8 is a schematic diagram of writing the identification information of the first file into an NFC tag according to an embodiment of the present application.
  • FIG. 9 is a schematic diagram of downloading a first file from an application market by a mobile phone according to an embodiment of the present application.
  • FIG. 10 is a schematic diagram of an architecture of a virtual App provided by an embodiment of the present application.
  • FIG. 11 is a schematic diagram of a scene where the mobile phone provided by the embodiment of the application touches the NFC tag containing the identification information of the page2 apk, and displays page2;
  • 12A is a schematic diagram of a negative one screen provided by an embodiment of the present application.
  • 12B is a schematic diagram of a pull-down interface of a mobile phone according to an embodiment of the present application.
  • 12C is a schematic diagram of a mobile phone desktop provided by an embodiment of the present application.
  • FIG. 13 is a schematic diagram of an application interface of a virtual App provided by an embodiment of the present application.
  • 14A is another schematic diagram of an application interface of a virtual App provided by an embodiment of the present application.
  • 14B is another schematic diagram of an application interface of a virtual App provided by an embodiment of the present application.
  • 15 is a schematic diagram of a mobile phone monitoring the update state of a page apk provided by an embodiment of the present application
  • 16 is a schematic diagram of another pull-down interface of a mobile phone provided by an embodiment of the present application.
  • 17 is a schematic diagram of an update operation interface corresponding to the page1 apk provided by an embodiment of the present application.
  • FIG. 18 is a schematic diagram of a mobile phone automatically updating page apk provided by an embodiment of the present application.
  • 19A is another schematic diagram of an application interface of a virtual App provided by an embodiment of the present application.
  • 19B is another schematic diagram of an application interface of a virtual App provided by an embodiment of the present application.
  • FIG. 20 is a schematic diagram of uploading the first file to the HMS core provided by the embodiment of the present application.
  • FIG. 21 is a schematic diagram of pulling up the page2 apk from the HMS core by the mobile phone provided by the embodiment of the present application;
  • FIG. 22 is another schematic flowchart of a page display method provided by an embodiment of the present application.
  • FIG. 23 is a schematic diagram of page kit updating page apk from application market provided by the embodiment of the present application.
  • FIG. 24 is a schematic structural diagram of a page display apparatus provided by an embodiment of the present application.
  • references in this specification to "one embodiment” or “some embodiments” and the like mean that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application.
  • appearances of the phrases “in one embodiment,” “in some embodiments,” “in other embodiments,” “in other embodiments,” etc. in various places in this specification are not necessarily All refer to the same embodiment, but mean “one or more but not all embodiments” unless specifically emphasized otherwise.
  • the terms “including”, “including”, “having” and their variants mean “including but not limited to” unless specifically emphasized otherwise.
  • the term “connected” includes both direct and indirect connections unless otherwise specified.
  • first and second are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implicitly indicating the number of indicated technical features.
  • a feature defined as “first” or “second” may expressly or implicitly include one or more of that feature.
  • words such as “exemplarily” or “for example” are used to represent examples, illustrations or illustrations. Any embodiment or design described in the embodiments of the present application as “exemplarily” or “such as” should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as “exemplarily” or “such as” is intended to present the related concepts in a specific manner.
  • the embodiments of the present application may be applicable to a scenario in which a user uses a terminal device to view a third-party page.
  • the third page may also be referred to as the first page.
  • the terminal devices may include: mobile phones, tablet computers, wearable devices (such as smart watches, smart bracelets, etc.), in-vehicle devices, augmented reality (AR)/virtual reality (VR) devices, notebooks Computer, ultra-mobile personal computer (UMPC), netbook, personal digital assistant (PDA), etc.
  • AR augmented reality
  • VR virtual reality
  • UMPC ultra-mobile personal computer
  • PDA personal digital assistant
  • the third-party pages may include: product purchase pages, advertisement pages, web pages, payment pages (or payment pages) for making payments to the merchant's collection account, official account pages, videos (or short videos) ) display page, article display page, etc.
  • the embodiments of the present application also do not limit the specific types of third-party pages.
  • the terminal device may be a mobile phone
  • the third-party page may be a product purchase page.
  • the product purchase page may include product purchase information such as product pictures and product prices. The user can use the mobile phone to view the product purchase page, and perform access operations such as viewing the product picture, the product price, or purchasing the product on the product purchase page.
  • the mainstream way for terminal devices to display third-party pages to users is: the terminal device scans the QR code corresponding to the third-party page, obtains the link of the third-party page contained in the QR code, and then obtains the third-party page according to the link of the third-party page. page and display it.
  • the link to the third-party page may be a uniform resource locator (URL) address of the third-party page.
  • URL uniform resource locator
  • FIG. 1 is a schematic diagram of a product purchase page of smart glasses and its corresponding two-dimensional code.
  • a third-party merchant hereinafter referred to as a merchant
  • the product shown in (a) in FIG. 1 can be The URL address of the product purchase page of the smart glasses is written into the two-dimensional code as shown in (b) in Figure 1, and the two-dimensional code is displayed to the user.
  • the two-dimensional code can be displayed by a two-dimensional code label, and the two-dimensional code label refers to a paper carrier or a non-paper carrier on which the two-dimensional code is printed.
  • the merchant can input the URL address of the product purchase page of the smart glasses shown in (a) in FIG. 1 into the two-dimensional code generator, and the two-dimensional code generator can be based on the smart glasses shown in (a) in FIG. 1
  • the URL address of the product purchase page of the smart glasses generates the two-dimensional code shown in (b) in FIG. 1, so that the URL address of the product purchase page of the smart glasses can be written into the two-dimensional code.
  • the two-dimensional code generator may be software specially used to generate a corresponding two-dimensional code according to the input information.
  • FIG. 2 is a schematic diagram of a scenario where a mobile phone scans the two-dimensional code shown in (b) in FIG. 1 .
  • the user can scan the two-dimensional code shown in (b) in FIG. 1 with a mobile phone.
  • the mobile phone can parse and obtain the URL address of the product purchase page of the smart glasses shown in (a) in FIG. 1 from the two-dimensional code shown in (b) in FIG. 1 .
  • FIG. 3 is a schematic diagram of a mobile phone displaying a product purchase page of the smart glasses shown in (a) of FIG. 1 .
  • the mobile phone obtains the URL address of the product purchase page of the smart glasses shown in (a) in FIG. 1 , it can address, acquire and display the product purchase page of the smart glasses shown in (a) of FIG. 1 .
  • the user can perform access operations such as viewing the price, appearance, and preferential activities of the smart glasses on the product purchase page of the smart glasses shown in FIG. 3 .
  • the function of scanning the two-dimensional code by the mobile phone may be implemented based on an application (application, App) installed in the mobile phone with a code scanning function, hereinafter referred to as an application.
  • applications with a code scanning function may include browsers, camera applications, or other chat applications or payment applications.
  • the process of scanning the two-dimensional code corresponding to the third-party page by the terminal device is not reproducible.
  • the user wants to view the third-party page again he needs to use the terminal device to scan the QR code corresponding to the third-party page again.
  • the user scans the QR code shown in (b) in On the product purchase page of the smart glasses shown in (a)
  • the user is required to scan the two-dimensional code shown in (b) in FIG. 1 by using the mobile phone again. If the two-dimensional code shown in (b) in FIG. 1 is not available on site, the user may not be able to view the product purchase page of the smart glasses shown in (a) in FIG. 1 again through the mobile phone.
  • the link to the third-party page included in the two-dimensional code is not time-sensitive.
  • the link to the third-party page may change, but the generated QR code corresponding to the third-party page before the update will not change.
  • a user uses a terminal device to scan the QR code corresponding to the third-party page before the update, it may be impossible to view the updated third-party page or even the QR code has expired.
  • the QR code shown in (b) in FIG. 1 still contains the link to the product purchase page of the smart glasses before the update.
  • the user scans the two-dimensional code shown in (b) in FIG. 1 with a mobile phone, he cannot view the product purchase page of the updated smart glasses.
  • the merchant needs to provide the user with the QR code corresponding to the product purchase page of the updated smart glasses.
  • an embodiment of the present application provides a page display method.
  • the provider of the third-party page (such as the above-mentioned third-party merchant) can package the third-party page into a first file, and upload the first file to the first platform connected to the terminal device.
  • the first file may include identification information of the first file, and the identification information of the first file may be a page name, a page ID, and the like of the third page.
  • the provider of the third-party page may also write the identification information of the first file into the first object.
  • the method may include: performing a first interactive operation between the terminal device and the first object, and acquiring identification information of the first file contained in the first object.
  • the terminal device downloads the first file from the first platform according to the identification information of the first file.
  • the terminal device caches (caches, that is, saves) the first file, and displays a third-party page according to the first file.
  • the first file Since the first file is cached by the terminal device, when the user needs to view the third-party page again, the operation of opening the third-party page can be performed on the terminal device.
  • the first file displays the third-party page and realizes the reproduction of the third-party page.
  • the operation of the user opening the third-party page may also be referred to as the first operation.
  • the first file is related to the third-party page, and specifically may be a file package containing the content of the third-party page.
  • the format of the file package can include multiple formats.
  • the terminal device downloads the first file from the first platform, it can download the first file from the first platform in a format suitable for its own operating system according to its own operating system. .
  • the format of the first file may include apk format, ipa format, pxl format, deb format, dmg format, exe format, and the like.
  • the operating system of the terminal device may be a Harmony TM (harmony) system, an Android TM (android) system, an iosTM system, a macTM system, a windowsTM system, and the like.
  • the terminal device can download the first file in the apk format from the first platform.
  • the terminal device may download the first file in the ipa format, or the pxl format, or the deb format from the first platform.
  • the terminal device can download the first file in the dmg format from the first platform.
  • the terminal device can download the first file in exe format from the first platform.
  • this application does not limit the format of the first file and the specific type of the operating system of the terminal device.
  • this application also does not limit the adaptation relationship between the operating system of the terminal device and the format of the first file.
  • the Hongmeng TM system may also adapt to other non-apk formats.
  • the first object may be a near field communication (near field communication, NFC) tag, or a device including (such as a built-in) NFC tag, or a two-dimensional code tag, or a two-dimensional code that can be displayed.
  • NFC near field communication
  • a device including such as a built-in NFC tag, or a two-dimensional code tag, or a two-dimensional code that can be displayed.
  • the first electronic device that wirelessly communicates with the terminal device, etc.
  • the first electronic device may be a mobile phone, a smart screen, a computer, a wristband, etc.
  • the first electronic device and the terminal device may be connected through a wireless fidelity (Wi-Fi) network, a Bluetooth (bluetooth, BT), a ZigBee network etc. for wireless communication.
  • Wi-Fi wireless fidelity
  • Bluetooth bluetooth, BT
  • ZigBee ZigBee network
  • the above-mentioned terminal device and the first object perform a first interactive operation to obtain the identification information of the first file contained in the first object, which may refer to: the terminal device Touching (or approaching) the NFC tag or the device with the built-in NFC tag, to obtain the identification information of the first file contained in the NFC tag or the device with the built-in NFC tag.
  • the terminal device also has an NFC tag, such as an NFC chip.
  • the terminal device scans the QR code label or the QR code displayed on the device capable of displaying the QR code to obtain the identification information of the first file contained in the QR code.
  • the first object is the first electronic device that wirelessly communicates with the terminal device through Wi-Fi network, Bluetooth, ZigBee network, etc.
  • the above-mentioned terminal device and the first object perform a first interactive operation to obtain the first object.
  • the identification information of the first file contained in the file may refer to: obtaining the identification information of the first file contained in the first electronic device by performing wireless communication between the terminal device and the first electronic device. For example, when the terminal device establishes a connection with the first electronic device, the terminal device may obtain the identification information of the first file from the first electronic device, or the first electronic device may actively send the identification information of the first file to the terminal device, There is no restriction here.
  • the present application does not limit the specific form of the first object and the specific implementation manner of the first interactive operation.
  • the first platform may be a server, or a cloud platform composed of servers or server clusters, and the cloud platform and the terminal device may be connected through a network.
  • FIG. 4 is a schematic diagram of an application scenario provided by an embodiment of the present application.
  • the above-mentioned first platform may be a server 401
  • a terminal device may be a mobile phone 402
  • the first object may be an NFC tag 403 .
  • the server 401 and the mobile phone 402 are connected through a network connection/communication connection.
  • the mobile phone 402 is configured with an NFC chip, and the mobile phone 402 can implement NFC communication with the NFC tag 403 based on the configured NFC chip.
  • the specific implementation process may include: the third-party page provider packages the third-party page into a first file, and the first file Upload to server 401 .
  • the provider of the third-party page writes the identification information of the first file into the NFC tag 403 .
  • a first interactive operation is performed between the mobile phone 402 and the NFC tag 403 to acquire the identification information of the first file contained in the NFC tag 403 .
  • the mobile phone 402 can download the first file from the server 401 according to the identification information of the first file. Then, the mobile phone 402 can cache the first file and display the third-party page according to the first file.
  • the mobile phone 402 caches the first file, when the user needs to view the third-party page again, the operation of opening the third-party page can be performed on the mobile phone 402, and the mobile phone 402 can respond to the user's operation of opening the third-party page, and again according to the The first file displays the third-party page and realizes the reproduction of the third-party page.
  • the terminal device has the function of downloading the first file from the first platform according to the identification information of the first file, and the function of caching the first file and displaying the third-party page according to the first file, It can be implemented by deploying an application (eg, the first application) at the application layer of the terminal device, or by deploying a service (eg, the first service) at the system layer of the terminal device.
  • the first application may provide a transparent page activity component (activity), and the transparent page activity may be triggered only when in use, for example, when the terminal device touches the NFC tag, the terminal device may be triggered to display the transparent page activity.
  • the first service may run in the system background of the mobile phone, and may not be displayed on a corresponding interface.
  • the terminal device can download the first file from the first platform through the first application according to the identification information of the first file. Then, the terminal device may cache the first file through the first application, and display a third-party page according to the first file. When the user needs to view the third-party page again, an operation of opening the third-party page may be performed in the first application to trigger the terminal device to display the third-party page again according to the first file through the first application.
  • the first application may be a virtual application (virtual App) or a local application, and this application does not limit the type of the first application.
  • the specific implementation process of the embodiment of the present application is exemplarily described below by taking the terminal device as a mobile phone, the first application as a virtual App, and the first object as an NFC tag as an example.
  • FIG. 5 is a schematic structural diagram of a terminal device provided by an embodiment of the present application.
  • the mobile phone may include a processor 510, an external memory interface 520, an internal memory 521, a universal serial bus (USB) interface 530, a charging management module 540, a power management module 541, a battery 542, an antenna 1, Antenna 2, Mobile Communication Module 550, Wireless Communication Module 560, Audio Module 570, Speaker 570A, Receiver 570B, Microphone 570C, Headphone Interface 570D, Sensor Module 580, Key 590, Motor 591, Indicator 592, Camera 593, Display screen 594, and a subscriber identification module (subscriber identification module, SIM) card interface 595 and the like.
  • SIM subscriber identification module
  • the processor 510 may include one or more processing units, for example, the processor 510 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processor
  • ISP image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • the controller can be the nerve center and command center of the mobile phone.
  • the controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 510 for storing instructions and data.
  • the memory in processor 510 is cache memory.
  • the memory may hold instructions or data that have just been used or recycled by the processor 510 . If the processor 510 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the waiting time of the processor 510 is reduced, thereby increasing the efficiency of the system.
  • the processor 510 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transceiver (universal asynchronous transmitter) receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, SIM interface, and/or USB interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transceiver
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • the external memory interface 520 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone.
  • the external memory card communicates with the processor 510 through the external memory interface 520 to realize the data storage function. For example to save files like music, video etc in external memory card.
  • Internal memory 521 may be used to store computer executable program code, which includes instructions.
  • the processor 510 executes various functional applications and data processing of the mobile phone by executing the instructions stored in the internal memory 521.
  • the internal memory 521 may also include a stored program area and a stored data area.
  • the storage program area may store an operating system, an application program required for at least one function (for example, the first application described in the embodiments of the present application), and the like.
  • the storage data area can store data (such as image data, phone book) created during the use of the mobile phone.
  • the internal memory 521 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
  • the processor 510 can run the first application to enable the mobile phone to download the first file from the first platform according to the identification information of the first file, cache the first file, and display the third-party page according to the first file.
  • the charging management module 540 is used to receive charging input from the charger. While the charging management module 540 charges the battery 542 , it can also supply power to the mobile phone through the power management module 541 .
  • the power management module 541 is used to connect the battery 542 , the charging management module 540 , and the processor 510 .
  • the power management module 541 can also receive the input of the battery 542 to supply power to the mobile phone.
  • the wireless communication function of the mobile phone can be realized by the antenna 1, the antenna 2, the mobile communication module 550, the wireless communication module 560, the modulation and demodulation processor, the baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in a cell phone can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
  • the wireless communication module 560 of the mobile phone may further include an NFC chip, and the mobile phone can communicate with the NFC tag (first object) through the NFC chip to obtain the identification information of the first file contained in the NFC tag. .
  • the mobile phone may also send a download request of the first file to the first platform based on the identification information of the first file based on the wireless communication function, and receive the first file from the first platform.
  • the mobile phone can implement audio functions through an audio module 570, a speaker 570A, a receiver 570B, a microphone 570C, an earphone interface 570D, and an application processor. Such as music playback, recording, etc.
  • the sensor module 580 may include a pressure sensor 580A, a gyro sensor 580B, an air pressure sensor 580C, a magnetic sensor 580D, an acceleration sensor 580E, a distance sensor 580F, a proximity light sensor 580G, a fingerprint sensor 580H, a temperature sensor 580J, a touch sensor 580K, and an ambient light sensor 580L, bone conduction sensor 580M, etc.
  • Display screen 594 is used to display images, videos, and the like.
  • Display screen 594 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light).
  • LED organic light-emitting diode
  • AMOLED organic light-emitting diode
  • FLED flexible light-emitting diode
  • Miniled MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on.
  • the cell phone may include 1 or N display screens 594, where N is a positive integer greater than 1.
  • the display screen 594 may be used to display an application interface of the first application, and the application interface of the first application may include a third-party page.
  • the display screen 594 may directly display a third-party page or the like.
  • the mobile phone realizes the display function through the GPU, the display screen 594, and the application processor.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 594 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 510 may include one or more GPUs that execute program instructions to generate or alter display information.
  • the structure shown in FIG. 5 does not constitute a specific limitation on the mobile phone.
  • the mobile phone may also include more or less components than those shown in FIG. 5, or some components may be combined, or some components may be split, or different component arrangements, and the like.
  • some of the components shown in FIG. 5 may be implemented in hardware, software, or a combination of software and hardware.
  • the terminal device is other mobile terminals such as tablet computers, wearable devices, vehicle-mounted devices, AR/VR devices, notebook computers, UMPCs, netbooks, and PDAs
  • the specific structures of these other terminal devices can also be referred to as shown in FIG. 5 .
  • other terminal devices may have components added or reduced on the basis of the structure given in FIG. 5 , which will not be repeated here.
  • FIG. 6 is a schematic flowchart of a page display method provided by an embodiment of the present application. As shown in FIG. 6 , the method may include: S601-S603.
  • the mobile phone and the NFC tag perform a first interactive operation to obtain identification information of a first file contained in the NFC tag.
  • the first interactive operation between the mobile phone and the NFC tag may refer to: the mobile phone and the NFC tag are touched.
  • a user can hold a mobile phone and touch an NFC tag.
  • the provider of the third-party page needs to make the third-party page as the first file in advance, upload the first file to the first platform, and write the identification information of the first file into the NFC tag middle. Therefore, the identification information of the first file contained in the NFC tag can be acquired only when the mobile phone performs the first interactive operation with the NFC tag.
  • the specific implementation of the first platform may be an application market capable of providing an application download function for the mobile phone (ie, the above server may be a database server of the application market).
  • FIG. 7 is a schematic diagram of uploading a first file to an application market according to an embodiment of the present application.
  • providers of third-party pages may include merchant 1, merchant 2, . . . , merchant N (N is an integer greater than 0).
  • the third-party page that merchant 1 can provide is page (page) 1
  • the first file made by merchant 1 according to page1 can be page1 apk
  • merchant 1 can upload page1 apk to the application market
  • page1 apk includes the page name of page1 apk (such as page1), page ID and other information.
  • the third-party page that Merchant 2 can provide is page2, the first file created by Merchant 2 based on page2 can be page2 apk, Merchant 2 can upload page2 apk to the app market, page2 apk includes the page name of page2 apk (such as page2), page ID and other information.
  • the third-party page that merchant N can provide is pageN, the first file created by merchant N according to pageN can be pageN apk, merchant N can upload pageN apk to the application market, and pageN apk includes the page name of pageN apk (such as pageN apk). pageN), page ID and other information. That is, the provider of each third-party page can make the page provided by itself as a corresponding page apk and upload it to the application market.
  • FIG. 8 is a schematic diagram of writing identification information of a first file into an NFC tag according to an embodiment of the present application.
  • the provider of each third-party page shown in FIG. 7 uploads the page apk corresponding to the provided page to the application market, and can also upload the page (page) name, page (page) of the page apk to the application market.
  • Page) ID and other information are written into the NFC tag.
  • the above page name, page ID and other information are the identification information of the page apk.
  • the identification information of different page apks is different.
  • the identification information of page1 apk is page1
  • the identification information of page2 apk is page2, etc.
  • each merchant can provide the user with an NFC tag, and the NFC tag is written with the identification information of the page apk corresponding to the page provided by the merchant.
  • the mobile phone touches the NFC tag provided by a merchant, the mobile phone can obtain the identification information of the page apk contained in the NFC tag.
  • the mobile phone After acquiring the identification information of the first file contained in the NFC tag, the mobile phone may execute S602.
  • the mobile phone downloads the first file from the first platform according to the identification information of the first file through the virtual App.
  • the identification information of the first file contained in the NFC tag is: "page2 info”
  • page2 info is the identification information of page2 apk.
  • the mobile phone can send a download request of page2 apk to the application market (specifically, the background server of the application market), and the download request can include "page2 info".
  • the application market receives the download request of page2 apk, it can download the Send page2 apk.
  • the mobile phone can download the page1 apk from the application market through the virtual App according to the identification information of the page1 apk. Or, download the pageN apk from the application market through the virtual App according to the identification information of the pageN apk, etc., which will not be repeated.
  • S603 After the mobile phone downloads the first file from the first platform through the virtual App, S603 may be executed.
  • the mobile phone caches the first file through the virtual App, and displays a third-party page according to the first file.
  • the mobile phone can cache the page2 apk through the virtual App, for example, the page2 apk can be cached to the corresponding virtual App in the storage space.
  • the mobile phone can also display a third-party page according to the page2 apk through the virtual App: page2.
  • FIG. 10 is a schematic diagram of the architecture of the virtual App provided by the embodiment of the application.
  • a virtual App can include a page management module: base apk, and a class loader: classloader.
  • a transparent routing interface activity component can be provided in the base apk: routeractivity.
  • the base apk can be used to realize the function of the virtual App downloading the page apk from the application market according to the identification information of the page apk. That is, after the mobile phone obtains the identification information of the page apk contained in the NFC tag, the base apk in the virtual App can download the corresponding page apk from the application market. For example, the base apk can trigger the mobile phone to send a page apk download request from the backend of the app market (such as a server), and then the backend of the app market can deliver the corresponding page apk to the mobile phone.
  • the backend of the app market such as a server
  • the base apk can also be used to implement the virtual App cache page apk and display the corresponding page according to the page apk.
  • the base apk can cache the above page2 apk downloaded from the application market to the storage space corresponding to the virtual app. Then, the base apk can modify the classloader by reflection, load the page2 apk into the classloader, and call routeractivity to jump to display the corresponding third-party page: page2.
  • the base apk can load other page apks in the same way as the above display page2, and display the corresponding pages, no longer one by one. Repeat.
  • FIG. 9 is a page apk made according to the product purchase page of the smart glasses shown in (a) in the above-mentioned FIG. 1 (that is, page2 is shown in (a) in FIG. 1 .
  • the product purchase page of the smart glasses) FIG. 11 is a schematic diagram of a scene where the mobile phone provided by the embodiment of the application touches the NFC tag containing the identification information of the page2 apk, and displays page2.
  • the mobile phone when the mobile phone touches the NFC tag containing the identification information of the page2 apk, after downloading the page2 apk from the application market, the base apk loads the page2 apk into the classloader, and calls routeractivity to jump to display the corresponding page2 , the mobile phone can display the product purchase page of the smart glasses shown in (a) of FIG. 1 to the user.
  • the mobile phone can cache the first file through the virtual App. Therefore, when the user wants to view the third-party page again, the operation of opening the third-party page can be performed on the mobile phone, and the mobile phone can respond to the user opening the third-party page. operation, display the third-party page according to the cached first file, and realize the reproduction of the third-party page.
  • the mobile phone can display the application icon of the virtual App.
  • the mobile phone can display the application interface of the virtual App in response to the operation of the user clicking the application icon of the virtual App.
  • the application interface of the virtual App may include a page card (which may be referred to as the first card) of the third-party page corresponding to the cached first file.
  • the operation of the user to open the third-party page ie, the first operation
  • the mobile phone may display the corresponding third-party page according to the cached first file in response to the user's operation of clicking on the page card of the third-party page.
  • the page card may also be called a card, a page identifier, a page icon, a page open button, and other names, which are not limited herein.
  • the mobile phone can display the application icon of the virtual App on the negative screen.
  • the negative screen refers to the display interface that appears after sliding the main interface (or desktop) of the mobile phone to the right.
  • the negative screen can display the commonly used applications, functions, subscribed services and information, etc., which is convenient for users to quickly Browse and use. For example, when the current display interface of the mobile phone is the desktop, the user may perform a swipe operation to the right on the screen of the mobile phone to trigger the mobile phone to switch the display interface from the desktop to the negative screen.
  • FIG. 12A is a schematic diagram of a negative one screen according to an embodiment of the present application.
  • the mobile phone can display the application icon 1202 of the virtual App in the negative screen 1201 .
  • a text prompt: "third-party page" may be displayed below the application icon 1202, which is used to prompt the user that the application (virtual App) corresponding to the application icon 1202 can be used to display a third-party page.
  • the user can click the application icon 1202 in the negative screen 1201, and the mobile phone can open the application interface of the virtual App in response to the operation of the user clicking the application icon 1202.
  • one negative screen is only a word used in the embodiments of the present application, and its representative meaning has been recorded in the embodiments of the present application, but its name does not constitute any restrictions on the embodiments of the present application; in addition, in some other embodiments, the "negative screen” may also be referred to as other names such as “desktop assistant”, “shortcut menu”, “Widget collection interface”, etc., which is not limited herein.
  • the mobile phone may also display an application icon (or called a button) of the virtual App in the drop-down interface.
  • the drop-down interface refers to the display interface that appears after sliding down the top of the main interface (or called the desktop) of the mobile phone.
  • the drop-down interface can display buttons of functions commonly used by users, such as: WLAN, Bluetooth, etc., which is convenient for users Quick access to related functions. For example, when the current display interface of the mobile phone is the desktop, the user can perform a downward swipe operation on the top of the mobile phone screen to trigger the mobile phone to switch the display interface from the desktop to the drop-down interface (or display the drop-down interface superimposed on the desktop).
  • FIG. 12B is a schematic diagram of a pull-down interface of a mobile phone provided by an embodiment of the present application.
  • the mobile phone can display the application icon 1204 of the virtual App in the drop-down interface 1203 .
  • a text prompt: "third-party page” may also be displayed below the application icon 1204, which is used to prompt the user that the application (virtual App) corresponding to the application icon 1204 can be used to display a third-party page.
  • the user can click the application icon 1204 in the drop-down interface 1203, and the mobile phone can open the application interface of the virtual App in response to the operation of the user clicking the application icon 1204.
  • the mobile phone may also display the application icon (or the desktop shortcut) of the virtual App in the main interface (or the desktop).
  • FIG. 12C is a schematic diagram of a mobile phone desktop according to an embodiment of the present application.
  • the mobile phone can display the application icon 1206 of the virtual App on the desktop 1205 .
  • a text prompt: "third-party page” may also be displayed below the application icon 1206, which is used to prompt the user that the application (virtual App) corresponding to the application icon 1206 can be used to display a third-party page.
  • the user can click the application icon 1206 on the desktop 1205, and the mobile phone can open the application interface of the virtual App in response to the operation of the user clicking the application icon 1206.
  • the above-mentioned embodiment of the mobile phone displaying the application icon of the virtual App on the negative screen, the pull-down interface, or the desktop is only an exemplary illustration, and the present application does not limit the specific implementation of the mobile phone displaying the application icon of the virtual App.
  • the application icons of the virtual App shown in FIG. 12A , FIG. 12B , and FIG. 12C respectively can be understood as the function controls corresponding to the startup entry of the virtual App.
  • the startup entry of the virtual App corresponds to
  • the function control may also not be implemented in the form of application icons (or desktop shortcuts), and there is no limitation here.
  • the negative one screen, the pull-down interface, the desktop, etc. shown in the above-mentioned FIG. 12A , FIG. 12B , and FIG. 12C respectively may be referred to as the third interface.
  • the operation of the user clicking on the function control corresponding to the startup entry of the virtual App (or the first interface) may be referred to as the fifth operation.
  • FIG. 13 is a schematic diagram of an application interface of a virtual App provided by an embodiment of the present application.
  • the first file cached in the virtual App includes: page1 apk, page2 apk, and page3 apk
  • the third-party page (page1) corresponding to page1 apk is the product purchase page for smart glasses
  • the first page corresponding to page2 apk The third-party page (page2) is the reading page (or display page) of the novel Romance of the Three Kingdoms
  • the third-party page (page3) corresponding to the page3 apk is the payment page provided by Bank A
  • the application interface of the virtual App can include: The page card 1301 corresponding to the product purchase page, the page card 1302 corresponding to the reading page of the novel Romance of the Three Kingdoms, and the page card 1303 corresponding to the payment page provided by Bank A.
  • Each page card includes identification information (page identification) of the corresponding third-party page, such as: the text "smart glasses” included in the page card 1301, the text "Romance of the Three Kingdoms” included in the page card 1302, and so on.
  • identification information page identification
  • the mobile phone can respond to the operation of the user clicking the page card 1301, and display the product purchase page of the smart glasses according to the cached page1 apk.
  • the user can view the reading page of the novel Romance of the Three Kingdoms or the payment page provided by Bank A.
  • the specific principle for the mobile phone to display the corresponding third-party page according to the cached page apk is the same as the process shown in FIG. 10 above, and will not be repeated here.
  • the page card may also include the last opening time of the corresponding page (for example, the last opening time of the product purchase page of the smart glasses is December 15, 2020). date), a pattern that can indicate the content of the page (such as the pattern of the smart glasses in the page card 1301), and the like. Graphics that can indicate the content of the page displayed in the page card can make the user understand the content of the page more intuitively.
  • the page card may also include the identifier of the page type of the corresponding third-party page, such as shopping, payment, and so on.
  • the page card displayed in the application interface of the virtual App may also include the application corresponding to the corresponding page. name.
  • FIG. 13 is only an exemplary illustration, and the present application does not limit the content displayed in the page card and the specific presentation form of the page card.
  • page cards can also be presented as a list.
  • the virtual App can also classify all page cards, and divide different page cards into different types of folders according to the types of page cards, such as the first folder, Second folder, etc.
  • Each type of folder eg, at least one
  • the mobile phone may display the page cards included in the folder in response to the operation of the user clicking the folder.
  • FIG. 14A is another schematic diagram of an application interface of a virtual App provided by an embodiment of the present application.
  • the application interface of the virtual App may include the following folders: shopping, finance, and reading.
  • the page card shown in FIG. 13 as an example, the page card 1301 corresponding to the product purchase page of the smart glasses can be classified into the shopping folder, and the page card 1302 corresponding to the reading page of the novel Romance of the Three Kingdoms can be classified into In the reading folder, the page card 1303 corresponding to the payment page provided by Bank A can also be classified into the financial folder.
  • the mobile phone may display the page cards included in the shopping folder in response to the user clicking the shopping folder.
  • the shopping category may be referred to as the first folder
  • the financial category may be referred to as the second folder
  • the reading category may be referred to as the third folder.
  • FIG. 14B is another schematic diagram of an application interface of a virtual App provided by an embodiment of the present application.
  • the page cards included in the shopping folder are: the page cards corresponding to the product purchase page of the smart glasses and the page cards corresponding to the product purchase page of the sports watch
  • the virtual App can display the interface shown in Figure 14B.
  • the user can click on any page card in the interface shown in FIG. 14B to trigger the mobile phone to display the corresponding third-party page.
  • the specific principle is the same as the process described in the aforementioned FIG. 13 , and will not be repeated.
  • the user can click to view the page cards included in other folders such as finance, reading, etc., and will not repeat them one by one.
  • the category folder of the page card may further include a fourth folder, a fifth folder, etc.
  • the fourth folder may be an advertisement category
  • the fifth folder may be a video category.
  • Cards included in different folders have different page types.
  • the interface shown in FIG. 13 or FIG. 14A may be referred to as the first interface, and the interface shown in FIG. 14B may be referred to as the second interface.
  • the operation that the user clicks to open the folder may be referred to as a third operation.
  • the mobile phone downloads the first file from the first platform according to the identification information of the first file, and caches the first file, and displays the third-party page according to the first file, it is through the system of the mobile phone.
  • the mobile phone can also refer to the method similar to the above-mentioned first application to provide the user with an operation interface that can open a third-party page, and function controls (such as icons or buttons) corresponding to the startup entry of the operation interface. , and will not be described in detail here.
  • the above-mentioned virtual App may be an application preset in the read only memory (ROM) of the mobile phone by the mobile phone supplier in advance, for example, the mobile phone ROM may be the one shown in FIG. 5 . Internal memory 521 shown.
  • ROM read only memory
  • the developer of the virtual App can provide the download address (which can be a URL address) of the virtual App, for example, the installation package of the virtual App can be put on the application market, and the download address of the virtual App can be the application Market (the download address of the virtual App can also be other servers without limitation).
  • the provider of the third-party page can also write the download address of the virtual App in the NFC tag.
  • the mobile phone performs the first interactive operation with the NFC tag, the mobile phone can also obtain the download address of the virtual App from the NFC tag.
  • the download address of the virtual App can be used to indicate that the phone needs to open a third-party page through the virtual App.
  • the download address of the virtual app can trigger the mobile phone to detect whether the virtual app is installed. If the mobile phone detects that the virtual app has not been installed (or deployed), it will trigger the download, installation and startup of the virtual app. For example, after the mobile phone touches the NFC tag, if it detects that the virtual app has not been installed, the mobile phone can download the installation package of the virtual app from the application market according to the download address of the virtual app for installation, and start and run the successfully installed virtual app. . After that, the mobile phone can implement the methods described in the embodiments of the present application through the virtual App in the manner described in the foregoing embodiments. If the mobile phone detects that the virtual App has been installed, the mobile phone can directly implement the method described in the embodiments of the present application through the virtual App in the manner described in the foregoing embodiment.
  • the way that the mobile phone downloads the installation package of the virtual App from the application market is similar to the way that the mobile phone downloads the page apk from the application market described in the foregoing embodiment.
  • the mobile phone can send a download request for the installation package of the virtual App to the background of the application market, and the background of the application market can deliver the installation package of the virtual App to the mobile phone according to the download request of the installation package of the virtual App.
  • the format of the installation package of the virtual App is adapted to the operating system of the mobile phone. For example, when the operating system of the mobile phone is the Android TM system, the installation package of the virtual App can also be in the apk format.
  • the initial state of the virtual App (that is, the state when the virtual App is installed on the mobile phone for the first time) may only include the base apk mentioned above, excluding any page apk.
  • the mobile phone and the NFC tag when the mobile phone and the NFC tag perform the first interactive operation to trigger the download of the page apk, the mobile phone can also display the first prompt information through the application interface of the virtual App, and the first prompt information is used to prompt the user to confirm whether to download the page apk.
  • the first indication information may include: "whether to download page apk”.
  • function controls can also be displayed below the first prompt message: “Yes” and “No", the user can actively select "Yes” or "No” to trigger the mobile phone to download or not download the page apk.
  • the mobile phone can only display the first instruction information when the download of the page apk is triggered for the first time. Guaranteed fluency.
  • the mobile phone can also query whether the cached first file has been updated in the first platform through an interface in the background according to a preset cycle through the virtual App. For example, the mobile phone can send a query request to the first platform according to a preset period through the virtual App, and the first platform can return the update status of the first file to the mobile phone according to the query request. If the cached first file is updated on the first platform, the mobile phone can also display an update reminder of the first file to remind the user that the first file is updated. After seeing the update reminder of the first file, the user can take the initiative to update the first file or ignore the update reminder of the first file.
  • the mobile phone After receiving the user's update operation on the first file, the mobile phone can re-download the updated first file from the first platform in response to the user's update operation on the first file, and replace the previous cache with the updated first file the first document.
  • the updated first file may also be referred to as the second file.
  • the preset period may be 1 minute, 5 minutes, 10 minutes, 1 day, 2 days, etc., and the size of the preset period is not limited herein.
  • FIG. 15 is a schematic diagram of the mobile phone monitoring the update state of the page apk provided by the embodiment of the present application.
  • the cached page1 apk of the base apk in the virtual App is version 1.0.
  • the page1 apk in the application market has been updated to version 2.0.
  • the base apk in the virtual App can query the version information (or update status) of the page1 apk in the application market through the interface in the background of the mobile phone according to the preset cycle, it can monitor the page status of the page1 apk in time to change from version 1.0. Converted to version 2.0.
  • the page1 apk identification information included in the page1 apk of version 2.0 remains unchanged.
  • the mobile phone can still download the page1 apk of version 2.0 from the application market according to the identification information of the page1 apk obtained from the NFC tag. Merchants no longer need to update NFC tags.
  • FIG. 16 is a schematic diagram of another pull-down interface of a mobile phone provided by an embodiment of the present application. As shown in FIG. 16 , the drop-down interface of the mobile phone may further include a message bar 1601 .
  • the message bar 1601 can display the update reminder of page1 apk: "Smart glasses 's purchase page has an update" 1602.
  • the mobile phone can display the update operation interface corresponding to the page1 apk in response to the user's operation of clicking "The purchase page of the smart glasses is updated" 1602.
  • the update operation interface corresponding to page1 apk can also be provided by virtual App.
  • FIG. 17 is a schematic diagram of an update operation interface corresponding to page1 apk provided by the embodiment of the present application.
  • the update operation interface corresponding to page1apk may include a text prompt: “whether to update the purchase page of smart glasses”, and an update button 1701 and a cancel button 1702 .
  • the mobile phone can re-download the page1 apk of version 2.0 from the application market in response to the operation of the user clicking the update button 1701, and replace the previously cached page1 apk of version 1.0 with the page1 apk of version 2.0.
  • the mobile phone can exit the interface shown in FIG. 17 in response to the operation of the user clicking the cancel button 1702, and return to other interfaces, such as the main interface or the pull-down interface.
  • the user sequentially clicks the operation of "the purchase page of smart glasses has an update" 1602 shown in Figure 16, and the operation of the update button 1701 shown in Figure 17, that is, the user's update operation to page1 apk.
  • the user's update operation on page1 apk may be referred to as the second operation.
  • the updated third-party page can be made as the updated first file in time, and then uploaded to the first platform again.
  • the mobile phone can monitor the update state of the first file in time, and update the cached first file. Therefore, the third-party page displayed by the mobile phone to the user according to the first file is time-sensitive.
  • the update reminder of page1 apk shown in FIG. 16 may also be “the purchase page of smart glasses has been updated”. “Whether to update page1 apk” shown in FIG. 17 above may also be “whether to update the purchase page of smart glasses”. There is no restriction here.
  • FIG. 18 is a schematic diagram of a mobile phone automatically updating a page apk according to an embodiment of the present application.
  • the base apk monitors that the page status of the page1 apk has changed from version 1.0 to version 2.0, the base apk can automatically re-download the page1 apk of version 2.0 and update the cached page1 apk of version 1.0 to 2.0 version of the page1 apk.
  • the mobile phone may further provide a silent upgrade switch in the virtual App.
  • the silent upgrade switch may be a function control in the application interface of the virtual App, which will not be described in detail here with accompanying drawings.
  • the mobile phone can automatically update the first file.
  • the mobile phone may only display the update reminder of the first file, and wait for the user to actively update the first file.
  • the silent upgrade switch can be used to control all the first files cached by the virtual App.
  • the mobile phone can automatically update all the cached first files.
  • the virtual app may provide a silent upgrade switch for each cached first file.
  • the mobile phone can automatically update only the first file corresponding to the silent upgrade switch.
  • the virtual App can support all cached page apks to update as a whole, or support a single page apk to update, which is not limited here.
  • the application market can also actively push to the virtual App that the version information of the page apk is updated (the mobile phone may not actively query through the virtual App) .
  • the virtual App receives a message that the version information of the page apk is updated, it can display the update reminder of the corresponding page apk through the message bar of the mobile phone according to the method described in the foregoing embodiment, or automatically update the corresponding page apk.
  • the app market can actively push the version information of page1 apk to the virtual App that has downloaded the page1 apk of version 1.0.
  • Update message such as: "page1 apk update to version 2.0".
  • the virtual App After the virtual App receives the message that the version information of the page1 apk is updated, it can display the update reminder of the page1 apk through the message bar of the mobile phone according to the method described in the foregoing embodiment, or automatically update the page1 apk.
  • the application market can record the identification information of the mobile phone where the virtual App that has downloaded the page1 apk is located, such as the device number, and the application market can query the recorded identification information of the mobile phone to determine which mobile phone's virtual App has downloaded the page1 apk of version 1.0.
  • the app market can also maintain a connection with the mobile phone, and the app market can detect whether the mobile phone includes page1 apk.
  • the application duration can actively push the version information of page1 apk to the virtual App in the mobile phone. Update news, There is no restriction here.
  • the virtual App may also support the user to actively remove the cached first file.
  • the first file cached in the virtual App includes: page1 apk, page2 apk, and page3 apk
  • the third-party page (page1) corresponding to page1 apk is the purchase of smart glasses page
  • the third-party page (page2) corresponding to the page2 apk is the reading page (or display page) of the novel Romance of the Three Kingdoms
  • the third-party page (page3) corresponding to the page3 apk is the payment page provided by Bank A.
  • the application interface of the virtual App includes: the page card corresponding to the product purchase page of the smart glasses, the page card corresponding to the reading page of the novel Romance of the Three Kingdoms, and the page card corresponding to the payment page provided by Bank A.
  • FIG. 19A is another schematic diagram of an application interface of a virtual App provided by an embodiment of the present application. As shown in FIG. 19A , when the user wants to remove the page1 apk, the user can long press the page card corresponding to the product purchase page of the smart glasses in the interface shown in FIG. 13 .
  • the mobile phone can display a delete button 1901 beside the page card corresponding to the product purchase page of the smart glasses in response to the user's long-pressing operation on the page card corresponding to the product purchase page of the smart glasses.
  • the user can click the delete button 1901 .
  • the mobile phone can delete the page card and page1 apk corresponding to the product purchase page of the smart glasses in response to the user's operation of clicking the delete button 1901.
  • the user can take the initiative to trigger the mobile phone to delete the page card and page2 apk corresponding to the reading page of the novel Romance of the Three Kingdoms, or delete the page card and page3 apk corresponding to the payment page provided by Bank A, which will not be repeated.
  • the mobile phone can also respond to the operation of the user long pressing the page card corresponding to the commodity purchase page of the smart glasses, in the A multi-select button 1902 is displayed next to the page card corresponding to the product purchase page of the smart glasses.
  • the mobile phone can jump to the interface shown in FIG. 19B in response to the user's operation of clicking the multi-select button 1902.
  • FIG. 19B is another schematic diagram of the application interface of the virtual App provided by the embodiment of the present application.
  • each page card in the application interface of the virtual App may also include a selection button, such as the selection button 1904 displayed after the page card corresponding to the product purchase page of the smart glasses.
  • a delete button 1905 may also be included below the application interface of the virtual App.
  • the user can click one or more of the selection buttons to select the corresponding page card (for example, a solid line with a check mark means selected, and a dotted line with a check mark means unchecked).
  • the user can click the delete button 1905, and the mobile phone can delete the page cards selected by the user and the page apks corresponding to these page cards in response to the user's operation of clicking one or more of the selection buttons and the operation of clicking the delete button 1905.
  • the user can click the selection button 1904 after the page card corresponding to the product purchase page of the smart glasses, and the selection button after the page card corresponding to the reading page of the novel Romance of the Three Kingdoms, and then click the delete button 1905.
  • the mobile phone can delete the page card and page1 apk corresponding to the product purchase page of the user's smart glasses, and the page card and page2 apk corresponding to the reading page of the novel Romance of the Three Kingdoms in response to the user's aforementioned operation.
  • the application interface of the virtual App may further include a select all button 1906, and the user can also click the select all button 1906 to select all page cards.
  • the select all button 1906 and clicks the delete button 1905 the mobile phone can delete all page cards and page apks in response to this operation.
  • the above functions of deleting page apk and page cards can also be implemented by base apk in virtual App.
  • the base apk can maintain a page info table, and the page info table can include the identification information (such as page ID) of all page apks.
  • the page info table can be used to establish the mapping relationship between the page card and the page apk.
  • the base apk can look up the page info table and delete the page card from the page info table.
  • the base apk can write the identification information of the newly downloaded page apk in the page info table. That is, the base apk can manage the page apk based on the page info table.
  • the above operation of the user clicking and long pressing the page card and clicking the delete button 1902, or the user clicking and long pressing the page card, selecting the page card in turn, and clicking the delete button 1905 are all operations of the user to delete the page card.
  • the operation of the user deleting the page card may be referred to as the fourth operation.
  • the provider of the third page may generate verification information of the first file when creating the first file according to the third-party page.
  • the provider of the third-party page may write the verification information of the first file together with the identification information of the first file into the NFC tag, and upload the verification information of the first file together with the first file to the first platform.
  • the identification information of the first file and the verification information of the first file contained in the NFC tag can be obtained.
  • the mobile phone can download the first file and the verification information of the first file from the first platform through the virtual App according to the identification information of the first file.
  • the mobile phone After the mobile phone downloads the first file and the verification information of the first file from the first platform, it can first verify the verification information of the first file contained in the NFC tag and the verification information of the first file downloaded from the first platform. Check whether the information is consistent. When the two are consistent, the mobile phone caches the first file through the virtual App, and displays the third-party page according to the first file. When the two are inconsistent, the mobile phone deletes the first file through the virtual app, and displays the second prompt message through the application interface of the virtual app.
  • the second prompt information is used to prompt the user that the verification of the first file fails.
  • the second prompt information may include: "the first file verification failed", "the first file may be damaged or tampered with", etc.
  • the specific content of the second prompt information is not limited in this application.
  • the verification information of the first file may include a verification signature of the first file, a package name, etc., which is not limited herein.
  • the application market may include page2 apk and verification information of page2 apk.
  • the NFC tag can include the identification information of the page2 apk and the verification information of the page2 apk.
  • the first interactive operation between the mobile phone and the NFC tag can obtain the identification information of the page2 apk and the verification information of the page2 apk contained in the NFC tag. Then, the mobile phone can send a download request of the page2 apk to the application market through the virtual App according to the identification information of the page2 apk.
  • the application market can deliver page2 apk and page2apk verification information to mobile phones according to the download request of page2 apk.
  • the mobile phone After the mobile phone receives the page2 apk and the page2 apk verification information, it can first verify whether the page2 apk verification information issued by the app market is consistent with the page2 apk verification information contained in the NFC tag. When the two are consistent, the phone caches the page2 apk through the virtual App, and displays page2 according to the page2 apk. When the two are inconsistent, the mobile phone deletes the page2 apk through the virtual App, and prompts the user through the application interface of the virtual App: "The page2 apk verification failed".
  • the provider of the third page when the provider of the third page creates the first file according to the third-party page, it can also use an encryption algorithm to encrypt the first file, and generate a key for the first file, which can be Decrypt the encrypted first file.
  • the provider of the third-party page can write the key of the first file together with the identification information of the first file into the NFC tag, and upload the encrypted first file to the first platform.
  • the mobile phone performs the first interactive operation with the NFC tag, the identification information of the first file and the key of the first file contained in the NFC tag can be obtained.
  • the mobile phone can download the encrypted first file from the first platform through the virtual App according to the identification information of the first file.
  • the mobile phone After the mobile phone downloads the encrypted first file from the first platform, the first file needs to be decrypted by using the key of the first file contained in the NFC tag.
  • the mobile phone caches the first file through the virtual App, and displays the third-party page according to the first file.
  • the mobile phone deletes the first file through the virtual App, and displays the second prompt information through the application interface of the virtual App, and the second prompt information refers to the description in the foregoing embodiment.
  • the above-mentioned function of verifying the first file by the mobile phone can also be implemented through a page management module (such as the above-mentioned base apk) in the virtual App.
  • a page management module such as the above-mentioned base apk
  • the first file only includes content related to the display of the corresponding third-party page.
  • the package of the first file is relatively small, and the current mobile data network speed of the mobile phone can achieve a download time of ms level when downloading the first file.
  • the first application is a virtual App
  • the first object is an NFC tag
  • the first platform is an application market as an example, to illustrate the specific implementation process of the page display method provided by the embodiment of the present application.
  • the terminal device may further include a first module, and the provider of the third-party page may also upload the first file to the first module in advance (the first file includes the identification information of the first file). ).
  • the mobile phone performs the first interactive operation with the NFC tag and obtains the identification information of the first file contained in the NFC tag, the mobile phone can directly pull up the corresponding first file from the first module according to the identification information of the first file, And display the corresponding third-party page according to the first file.
  • the provider of the third-party page may also upload the first file to the HMS core in advance (No. A file includes identification information of the first file).
  • a file includes identification information of the first file.
  • FIG. 20 is a schematic diagram of uploading the first file to the HMS core provided by the embodiment of the present application.
  • providers of third-party pages may include merchant 1, merchant 2, . . . , merchant N (N is an integer greater than 0).
  • the third-party page that merchant 1 can provide is page1, the first file created by merchant 1 according to page1 can be page1 apk, and merchant 1 can upload page1 apk to HMS core.
  • the third-party page that merchant 2 can provide is page2, the first file created by merchant 2 based on page2 can be page2 apk, and merchant 2 can upload page2 apk to HMS core.
  • the third-party page that merchant N can provide is pageN, the first file created by merchant N according to pageN can be pageN apk, and merchant N can upload pageN apk to HMS core.
  • the mobile phone When the mobile phone performs the first interactive operation with the NFC tag and obtains the identification information of the page apk contained in the NFC tag, the mobile phone can directly pull up the corresponding page apk from the HMS core according to the identification information of the page apk, and display it according to the page apk the corresponding page.
  • FIG. 21 is a schematic diagram of pulling up the page2 apk from the HMS core by the mobile phone according to the embodiment of the present application.
  • a first component such as page kit
  • the mobile phone can pull up the page2 apk from the HMS core through the page kit according to the identification information of the page2 apk.
  • the base apk in the virtual App can modify the classloader by reflection, load the page2 apk pulled from the HMS core into the classloader, and call routeractivity to jump to display the corresponding third-party page: page2.
  • the mobile phone directly pulls up the page apk from the HMS Core and then executes the jump, which takes less time and is more efficient. higher.
  • the mobile phone directly pulls up the page apk from the HMS Core and executes the jump, and it can also realize the off-net jump in some scenarios.
  • the page kit cannot match the corresponding page apk according to the identification information of the page apk contained in the NFC tag.
  • the mobile phone can download the corresponding page apk from the application market through the virtual App in the manner described in the foregoing embodiment.
  • FIG. 22 is another schematic flowchart of the page display method provided by the embodiment of the present application. As shown in FIG. 22, the method may include: S2201-S2204.
  • the mobile phone and the NFC tag perform a first interactive operation to obtain the identification information of the page apk contained in the NFC tag.
  • the mobile phone pulls up the corresponding page apk from the HMS core according to the identification information of the page apk through the page kit, and displays the page according to the page apk.
  • the mobile phone downloads the corresponding page apk from the application market through the virtual App according to the identification information of the page apk.
  • the mobile phone caches the page apk through the virtual App and displays the page according to the page apk.
  • the base apk in the virtual App described in the foregoing embodiments downloads and updates the page apk function from the application market, which can also be implemented on the page kit in the HMS core.
  • the mobile phone when the mobile phone performs the first interactive operation with the NFC tag and obtains the identification information of the page apk contained in the NFC tag, when the HMS core does not include the page apk corresponding to the identification information of the page apk contained in the NFC tag, The mobile phone can also download the corresponding page apk from the application market through the page kit according to the identification information of the page apk.
  • FIG. 23 is a schematic diagram of page kit updating page apk from the application market provided by an embodiment of the present application.
  • the page1 apk cached by the page kit in the HMS core is version 1.0.
  • the page1 apk in the application market has been updated to version 2.0.
  • page kit can check the version information of page1 apk in the application market through the interface in the background of the mobile phone according to the preset cycle, and timely monitor that the page status of page1 apk has changed from version 1.0 to version 2.0.
  • the page kit When the page kit monitors that the page status of page1 apk has changed from version 1.0 to version 2.0, it can automatically download page1 apk of version 2.0 from the application market, and update the page1 apk of version 1.0 in HMS core to page1 apk of version 2.0 .
  • the embodiment of the present application further provides a page display system, where the page display system may include a terminal device, a server, and a first object; the terminal device is connected to the server, so The server includes at least one first file, and the first file is related to the first page; the first object is an NFC tag, or a device including an NFC tag, or a two-dimensional code tag, or a device that can display a two-dimensional code, or A first electronic device in wireless communication with the terminal device.
  • the terminal device is configured to execute the page display method described in the foregoing embodiments.
  • FIG. 24 is a schematic structural diagram of a page display apparatus provided by an embodiment of the present application.
  • the page display apparatus provided in this embodiment of the present application may include: an interaction unit 2401 , a transceiver unit 2402 , a processing unit 2403 , and a display unit 2404 .
  • the interaction unit 2401 is configured to perform a first interaction operation with the first object, and obtain identification information of the first file contained in the first object.
  • the interaction unit 2401 may be an NFC chip.
  • the processing unit 2403 is configured to download the corresponding first file from the server through the transceiver unit 2402 according to the identification information of the first file.
  • the processing unit 2403 is further configured to save the first file, and display the corresponding first page according to the first file through the display unit 2404 .
  • the processing unit 2403 is further configured to receive the first operation, and in response to the first operation, display the first page through the display unit 2404 again.
  • the first operation is an operation for the user to open the first page.
  • the first object may be an NFC tag, or a device including an NFC tag, or a two-dimensional code tag, or a device capable of displaying a two-dimensional code, or a first electronic device that wirelessly communicates with the terminal device.
  • the first file may include identification information of the first file, and the identification information of the first file may be the first page name, page ID, and the like.
  • the first page may be a third-party page, for example, the first page may include any of the following: a product purchase page, an advertisement page, a web page, a payment page, an official account page, a video display page, and an article display page.
  • the processing unit 2403 is further configured to, through the transceiver unit 2402, obtain from the server whether the first file is updated according to the identification information of the first file. When the first file is updated, the processing unit 2403 displays an update reminder of the first file through the display unit 2404 .
  • the processing unit 2403 is further configured to receive the second operation, and in response to the second operation, download the second file from the server through the transceiver unit 2402, and replace the first file with the second file.
  • the second file is an updated file of the first file.
  • the processing unit 2403 is further configured to obtain, through the transceiver unit 2402, whether the first file is updated from the server according to the identification information of the first file.
  • the processing unit 2403 automatically downloads the second file from the server through the transceiver unit 2402, and replaces the first file with the second file.
  • the second file is an updated file of the first file.
  • the terminal device includes a silent upgrade switch; the processing unit 2403 is specifically configured to automatically download the second file from the server through the transceiver unit 2402 when the silent upgrade switch is turned on.
  • the processing unit 2403 is further configured to display a first interface through the display unit 2404, where the first interface includes a first card corresponding to the first page; the first card includes a page identifier of the first page, and/or the first interface The ID of the page type of the page.
  • the first operation is an operation of clicking or touching the first card on the first interface.
  • the processing unit 2403 is further configured to display a first interface through the display unit 2404, where the first interface includes a first folder; the first folder includes at least one card, and the first card is one of the at least one cards; The first card includes the page identifier of the first page, and/or the identifier of the page type of the first page.
  • the processing unit 2403 is further configured to receive a third operation, and in response to the third operation, display a second interface through the display unit 2404, where the second interface includes the cards in the first folder.
  • the third operation is an operation for the user to open the first folder.
  • the first operation is an operation of clicking or touching the first card in the second interface.
  • the cards included in the first folder have the same page type; the first interface further includes a second folder, and the second folder includes at least one card; the page type of the cards included in the second folder is the same as that of the first folder.
  • the cards included in the folder have different page types.
  • the processing unit 2403 is further configured to receive a fourth operation, and in response to the fourth operation, delete the first card and the first file.
  • the fourth operation is an operation for the user to delete the first card.
  • the processing unit 2403 is further configured to display a third interface through the display unit 2404, where the third interface includes function controls corresponding to the startup entry of the first interface; the third interface is a negative screen, or a desktop, or a pull-down interface.
  • the processing unit 2403 receives the fifth operation, and displays the first interface through the display unit 2404 in response to the fifth operation.
  • the fifth operation is an operation in which the user clicks the function control corresponding to the startup entry of the first interface.
  • the server and the first object further include verification information of the first file respectively;
  • the interaction unit 2401 is specifically configured to perform a first interactive operation with the first object to obtain the first file included in the first object. and the verification information of the first file.
  • the processing unit 2403 is specifically configured to, through the transceiver unit 2402, download the corresponding first file and the verification information of the first file from the server according to the identification information of the first file.
  • the processing unit 2403 checks and obtains the verification information of the first file downloaded from the server, which is consistent with the verification information of the first file contained in the first object, the processing unit 2403 saves the first file, and displays the first file through the display unit 2404 according to the verification information.
  • the first file displays the corresponding first page.
  • the verification information of the first file may include a verification signature, a package name, and the like of the first file.
  • the processing unit 2403 displays the first file through the display unit 2404.
  • File verification failure prompt information when the verification information of the first file downloaded from the server obtained by the processing unit 2403 is inconsistent with the verification information of the first file contained in the first object, the processing unit 2403 displays the first file through the display unit 2404.
  • File verification failure prompt information when the verification information of the first file downloaded from the server obtained by the processing unit 2403 is inconsistent with the verification information of the first file contained in the first object, the processing unit 2403 displays the first file through the display unit 2404.
  • the first file included in the server is an encrypted file; the first object further includes a key of the first file.
  • the interaction unit 2401 is specifically configured to perform a first interaction operation with the first object, and obtain the identification information of the first file and the key of the first file contained in the first object.
  • the processing unit 2403 can decrypt the first file according to the key of the first file contained in the first object, the first file is saved, and the display unit 2404 displays the corresponding first page according to the first file.
  • the terminal device includes a first module; the first module includes at least one first file, and the first file is related to the first page; the processing unit 2403 is further configured to, when the first module includes identification information corresponding to the first file When the first file is displayed, the corresponding first file is directly pulled up from the first module, and the corresponding first page is displayed according to the first file through the display unit 2404 .
  • the first module may be Huawei mobile services core (huawei mobile services core, HMS core).
  • the processing unit 2403 is specifically configured to, when the first module does not include the first file corresponding to the identification information of the first file, download the corresponding first file from the server through the transceiver unit 2402 according to the identification information of the first file. .
  • the division of units (or referred to as modules) in the above apparatus is only a division of logical functions, and in actual implementation, it may be fully or partially integrated into a physical entity, or may be physically separated.
  • all the units in the device can be realized in the form of software calling through the processing element; also can all be realized in the form of hardware; some units can also be realized in the form of software calling through the processing element, and some units can be realized in the form of hardware.
  • each unit can be a separately established processing element, or can be integrated in a certain chip of the device to be implemented, and can also be stored in the memory in the form of a program, which can be called by a certain processing element of the device and execute the unit's processing. Function.
  • all or part of these units can be integrated together, and can also be implemented independently.
  • the processing element described here may also be called a processor, which may be an integrated circuit with signal processing capability.
  • each step of the above method or each of the above units may be implemented by an integrated logic circuit of hardware in the processor element or implemented in the form of software being invoked by the processing element.
  • the units in the above apparatus may be one or more integrated circuits configured to implement the above method, eg, one or more application specific integrated circuits (ASICs), or, one or more A digital signal processor (DSP), or, one or more field programmable gate arrays (FPGA), or a combination of at least two of these integrated circuit forms.
  • ASICs application specific integrated circuits
  • DSP digital signal processor
  • FPGA field programmable gate arrays
  • the processing element can be a general-purpose processor, such as a central processing unit (central processing unit, CPU) or other processors that can invoke programs.
  • CPU central processing unit
  • these units can be integrated together and implemented in the form of a system-on-a-chip (SOC).
  • the unit of the above apparatus for implementing each corresponding step in the above method may be implemented in the form of a processing element scheduler.
  • the apparatus may include a processing element and a storage element, and the processing element invokes a program stored in the storage element to execute the method described in the above method embodiments.
  • the storage element may be a storage element on the same chip as the processing element, ie, an on-chip storage element.
  • the program for performing the above method may be in a storage element on a different chip from the processing element, ie, an off-chip storage element.
  • the processing element calls or loads the program from the off-chip storage element to the on-chip storage element, so as to call and execute the methods described in the above method embodiments.
  • the embodiments of the present application may further provide an apparatus, such as an electronic device, which may include: a processor; a memory; and a computer program; wherein, the computer program is stored in the memory, and when the computer program is stored When executed by the processor, the electronic device is made to implement the page display method described in the foregoing embodiments.
  • the memory may be located within the electronic device or external to the electronic device.
  • the processor includes one or more.
  • the electronic device can be a mobile phone, a tablet computer, a wearable device (such as a smart watch, a smart bracelet, etc.), a vehicle-mounted device, an augmented reality (AR)/virtual reality (VR) device, a laptop, Ultra-mobile personal computer (UMPC), netbook, personal digital assistant (PDA), etc.
  • a wearable device such as a smart watch, a smart bracelet, etc.
  • VR virtual reality
  • UMPC Ultra-mobile personal computer
  • PDA personal digital assistant
  • the unit of the apparatus implementing each step in the above method may be configured as one or more processing elements, where the processing elements may be integrated circuits, such as: one or more ASICs, or, one or more Multiple DSPs, or, one or more FPGAs, or a combination of these types of integrated circuits. These integrated circuits can be integrated together to form chips.
  • an embodiment of the present application further provides a chip, which can be applied to the above-mentioned electronic device.
  • the chip includes one or more interface circuits and one or more processors; the interface circuit and the processor are interconnected by lines; the processor receives and executes computer instructions from the memory of the electronic device through the interface circuit, so as to realize the above-mentioned embodiments. page display method.
  • Embodiments of the present application further provide a computer program product, including computer-readable codes, when the computer-readable codes are executed in an electronic device, the electronic device can implement the page display method described in the foregoing embodiments.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are only illustrative.
  • the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be Incorporation may either be integrated into another device, or some features may be omitted, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place, or may be distributed to multiple different places . Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a readable storage medium.
  • the technical solutions of the embodiments of the present application essentially or contribute to the prior art, or all or part of the technical solutions may be embodied in the form of software products, such as programs.
  • the software product is stored in a program product, such as a computer-readable storage medium, and includes several instructions to cause a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) to execute all of the methods described in the various embodiments of the present application. or part of the steps.
  • the aforementioned storage medium includes: a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, and other media that can store program codes.
  • the embodiments of the present application may further provide a computer-readable storage medium, where the computer-readable storage medium includes a computer program, and when the computer program runs on an electronic device, the electronic device can implement the foregoing embodiments The described page display method.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Databases & Information Systems (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Software Systems (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Development Economics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本申请提供一种页面展示方法及装置,涉及数据传输领域。其中,该方法包括:终端设备与第一对象之间进行第一交互操作,获取第一对象中包含的第一文件的标识信息,第一对象为NFC标签、或包括NFC标签的设备、或二维码标签、或可显示二维码的设备、或与所述终端设备无线通信的第一电子设备。终端设备根据第一文件的标识信息从服务器下载对应的第一文件。终端设备保存第一文件,并根据第一文件显示对应的第一页面。终端设备接收第一操作,第一操作为用户打开第一页面的操作。终端设备响应于第一操作,再次显示第一页面。通过该方法可以实现第一页面的重现。

Description

页面展示方法及装置
本申请要求于2021年4月30日提交国家知识产权局、申请号为202110486390.8、发明名称为“页面展示方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及数据传输领域,尤其涉及一种页面展示方法及装置。
背景技术
目前,终端设备为用户展示第三方页面的主流方式为:终端设备扫描第三方页面对应的二维码,获取二维码中包含的第三方页面的链接,然后根据第三方页面的链接获取第三方页面并进行显示。例如,一种实现场景中,终端设备可以是手机,第三方页面可以是某个商品购买页面。该商品购买页面中可以包括商品图片、商品价格等商品购买信息。用户可以使用手机扫描该商品购买页面对应的二维码。手机可以获取该二维码中包含的该商品购买页面的链接,然后根据该链接获取该商品购买页面并进行显示。
但是,上述终端设备展示第三方页面的方式中,终端设备扫描第三方页面对应的二维码的过程具有不可重现性。当用户想要再次查看第三方页面时,要使用终端设备重新扫描第三方页面对应的二维码。例如,用户使用手机扫描商品购买页面对应的二维码,查看过该商品购买页面后,当用户想要再次查看该商品购买页面时,要求用户重新使用手机扫描该商品购买页面对应的二维码才行。如果现场没有该商品购买页面对应的二维码,则手机可能无法再次为用户展示该商品购买页面。
发明内容
本申请实施例提供一种页面展示方法及装置,能够解决现有技术中第三方页面的展示过程具有不可重现性导致用户无法重复查看第三方页面的问题。
第一方面,本申请实施例提供一种页面展示方法。该方法可以应用于终端设备,终端设备与服务器连接,服务器包括至少一个第一文件,第一文件与第一页面相关。该方法包括:终端设备与第一对象之间进行第一交互操作,获取第一对象中包含的第一文件的标识信息。终端设备根据第一文件的标识信息,从服务器下载对应的第一文件。终端设备保存第一文件,并根据第一文件显示对应的第一页面。终端设备接收第一操作,第一操作为用户打开第一页面的操作。响应于所述第一操作,终端设备再次显示第一页面。
其中,第一对象可以为NFC标签、或包括NFC标签的设备、或二维码标签、或可显示二维码的设备、或与终端设备无线通信的第一电子设备。
以第一对象为NFC标签或内置NFC标签的设备为例,上述终端设备与第一对象之间进行第一交互操作,获取第一对象中包含的第一文件的标识信息,可以是指:终端设备触碰(或靠近)NFC标签或内置NFC标签的设备,获取NFC标签或内置NFC标签的设备中包含的第一文件的标识信息。可以理解的,终端设备中也具有NFC标签, 如NFC芯片。
示例性地,第一文件中可以包括第一文件的标识信息,第一文件的标识信息可以是第一的页面名称、页面ID等。
第一页面可以是第三方页面,如:第一页面可以包括以下任意一种:商品购买页面、广告页面、网页页面、支付页面、公众号页面、视频展示页面、文章展示页面。
该方法中,由于终端设备保存了第一文件,所以,当用户需要再次查看该第一页面时,可以在终端设备上执行打开第一页面的操作(如前述第一操作),终端设备可以响应于用户打开第一页面的操作,再次根据第一文件显示该第一页面,从而实现对第一页面的重现。
可选地,第一文件可以是包含第一页面的内容的文件包。该文件包的格式可以包括多种,终端设备从服务器下载第一文件时,可以根据自身的操作系统,从服务器下载与自身的操作系统相适配的格式的第一文件。
示例性地,第一文件的格式可以包括apk格式、ipa格式、pxl格式、deb格式、dmg格式、exe格式等。终端设备的操作系统可以是鸿蒙TM(harmony)系统、安卓TM(android)系统、iosTM系统、macTM系统、windowsTM系统等。
当终端设备的操作系统为鸿蒙TM系统或安卓TM系统时,终端设备可以从服务器下载apk格式的第一文件。当终端设备的操作系统为iosTM系统时,终端设备可以从服务器下载ipa格式、或者pxl格式、又或者deb格式的第一文件。当终端设备的操作系统为macTM系统时,终端设备可以服务器中下载dmg格式的第一文件。当终端设备的操作系统为windowsTM系统时,终端设备可以从服务器下载exe格式的第一文件。
可选地,所述方法还包括:终端设备根据第一文件的标识信息,从服务器获取第一文件是否更新。当第一文件有更新时,终端设备显示第一文件的更新提醒。
终端设备可以按照预设周期通过接口查询第一文件在服务器中是否有更新。其中,预设周期可以是1分钟、5分钟、10分钟、1天、2天等。
当第一文件有更新时,终端设备显示第一文件的更新提醒,可以用于提醒用户主动对第一文件进行更新。
例如,所述方法还包括:终端设备接收第二操作。终端设备响应于第二操作,从服务器下载第二文件,第二文件为对第一文件更新后的文件。终端设备用第二文件替换第一文件。
可选地,所述方法还包括:终端设备根据第一文件的标识信息,从服务器获取第一文件是否更新。当第一文件有更新时,终端设备自动从服务器下载第二文件,第二文件为对第一文件更新后的文件。终端设备用第二文件替换第一文件。
本实施例中,当第一页面的提供方对第一页面进行了更新时,可以及时将更新后的第一页面制作为更新后的第一文件(即第二文件),重新上传服务器。终端设备可以及时监测到第一文件的更新状态,对保存的第一文件进行更新。所以,终端设备根据第一文件为用户展示的第一页面具有时效性。
可选地,终端设备包括静默升级开关;所述终端设备自动从服务器下载第二文件,包括:当静默升级开关开启时,终端设备自动从服务器下载第二文件。
一种实现方式中,静默升级开关可以用于控制终端设备保存的所有第一文件,当用户开启静默升级开关时,手机可以自动更新保存的所有第一文件。
另一种实现方式中,终端设备可以针对每个保存的第一文件,分别提供一个静默升级开关。当用户开启某个静默升级开关时,手机可以仅自动更新该静默升级开关对应的第一文件。
也即,终端设备可以支持已保存的所有第一文件进行整体更新,或者,支持单个第一文件进行更新。
可选地,所述终端设备保存第一文件之后,所述方法还包括:终端设备显示第一界面,第一界面包括第一页面对应的第一卡片(或者说第一卡片与第一页面关联);第一卡片包括第一页面的页面标识,和/或,第一页面的页面类型的标识。第一操作为在第一界面点击或触摸第一卡片的操作。
终端设备显示第一页面对应的第一卡片,可以便于用户直观地看到第一页面的入口,用户通过点击第一卡片即可触发终端设备显示第一页面,操作便捷。
可选地,所述终端设备保存第一文件之后,所述方法还包括:终端设备显示第一界面,第一界面包括第一文件夹;第一文件夹包括至少一个卡片,所述至少一个卡片包括第一卡片,第一卡片与第一页面关联;第一卡片包括第一页面的页面标识,和/或,第一页面的页面类型的标识。终端设备接收第三操作,第三操作为用户打开第一文件夹的操作。终端设备响应于第三操作,显示第二界面,第二界面包括第一文件夹中的卡片。第一操作为在第二界面中点击或触摸第一卡片的操作。
可选地,第一文件夹中包括的卡片的页面类型相同;第一界面还包括第二文件夹,第二文件夹包括至少一个卡片;第二文件夹中包括的卡片的页面类型与第一文件夹中包括的卡片的页面类型不同。
例如,第一文件夹可以是购物类文件夹,第二文件夹可以是金融类文件夹等。
可选地,所述方法还包括:终端设备接收第四操作,第四操作为用户删除第一卡片的操作;终端设备响应于第四操作,删除第一卡片、以及第一文件。
当用户想要移除某个第一卡片时,用户可以对第一卡片执行第四操作,以触发终端设备删除第一卡片以及对应的第一文件。
可选地,所述终端设备显示第一界面之前,所述方法还包括:终端设备显示第三界面,第三界面包括第一界面的启动入口对应的功能控件;第三界面为负一屏、或桌面、或下拉界面。所述终端设备显示第一界面,包括:终端设备接收第五操作,第五操作为用户点击第一界面的启动入口对应的功能控件的操作。终端设备响应于第五操作,显示第一界面。
一些实施例中,服务器和第一对象中还分别包括第一文件的校验信息;所述终端设备与第一对象之间进行第一交互操作,获取第一对象中包含的第一文件的标识信息,包括:终端设备与第一对象之间进行第一交互操作,获取第一对象中包含的第一文件的标识信息、以及第一文件的校验信息。
所述终端设备根据第一文件的标识信息,从服务器下载对应的第一文件,包括:终端设备根据第一文件的标识信息,从服务器下载对应的第一文件、以及第一文件的校验信息。
所述终端设备保存第一文件,并根据第一文件显示对应的第一页面,包括:当终端设备校验得到从服务器下载的第一文件的校验信息,与第一对象中包含的第一文件的校验信息一致时,终端设备保存第一文件,并根据第一文件显示对应的第一页面。
第一文件的校验信息可以包括第一文件的校验签名、包名等。
终端设备通过第一文件的校验信息对第一文件进行校验,可以保证第一文件的安全性,避免被损坏或篡改的第一文件入侵。
可选地,所述方法还包括:当终端设备校验得到从服务器下载的第一文件的校验信息,与第一对象中包含的第一文件的校验信息不一致时,终端设备显示第一文件校验失败的提示信息。
另外一些实施例中,服务器包括的第一文件为加密后的文件;第一对象还包括第一文件的密钥。所述终端设备与第一对象之间进行第一交互操作,获取第一对象中包含的第一文件的标识信息,包括:终端设备与第一对象之间进行第一交互操作,获取第一对象中包含的第一文件的标识信息、以及第一文件的密钥。
所述终端设备保存第一文件,并根据第一文件显示对应的第一页面,包括:当终端设备能够根据第一对象中包含的第一文件的密钥,对第一文件进行解密时,终端设备保存第一文件,并根据第一文件显示对应的第一页面。
可选地,终端设备包括第一模块;第一模块包括至少一个第一文件,第一文件与第一页面相关;所述终端设备与第一对象之间进行第一交互操作,获取第一对象中包含的第一文件的标识信息之后,所述方法还包括:当第一模块包括与第一文件的标识信息对应的第一文件时,终端设备从第一模块中直接拉起对应的第一文件,并根据第一文件显示对应的第一页面。
例如,第一模块可以为华为移动核心服务(huawei mobile services core,HMS core)。当终端设备与NFC标签进行第一交互操作,获取到NFC标签中包含的第一文件的标识信息后,终端设备可以根据第一文件的标识信息从HMS core中直接拉起对应的第一文件,并根据第一文件显示对应的第一页面。
可选地,所述终端设备根据第一文件的标识信息,从服务器下载对应的第一文件,包括:当第一模块不包括与第一文件的标识信息对应的第一文件时,终端设备根据第一文件的标识信息,从服务器下载对应的第一文件。
相比于终端设备从服务器下载第一文件后执行跳转的方式,本实施例中,终端设备直接从HMS Core中拉起第一文件后执行跳转的方式,整体耗时更短、效率更高。另外,终端设备直接从HMS Core中拉起第一文件后执行跳转,还可以实现部分场景下的脱网跳转。
第二方面,本申请实施例提供一种页面展示装置,该页面展示装置可以应用于终端设备。终端设备与服务器连接,服务器包括至少一个第一文件,第一文件与第一页面相关。该装置可以用于实现上述第一方面所述的页面展示方法。该装置的功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个与上述功能相对应的模块或单元,例如,交互单元,收发单元,处理单元和显示单元。
交互单元,用于与第一对象之间进行第一交互操作,获取第一对象中包含的第一文件的标识信息。
处理单元,用于通过收发单元根据第一文件的标识信息,从服务器下载对应的第一文件。
处理单元,还用于保存第一文件,并通过显示单元根据第一文件显示对应的第一页面。
处理单元,还用于接收第一操作,并响应于所述第一操作,再次通过显示单元显示第一页面。第一操作为用户打开第一页面的操作。
其中,第一对象可以为NFC标签、或包括NFC标签的设备、或二维码标签、或可显示二维码的设备、或与终端设备无线通信的第一电子设备。
示例性地,第一文件中可以包括第一文件的标识信息,第一文件的标识信息可以是第一的页面名称、页面ID等。
第一页面可以是第三方页面,如:第一页面可以包括以下任意一种:商品购买页面、广告页面、网页页面、支付页面、公众号页面、视频展示页面、文章展示页面。
一些实施例中,处理单元,还用于通过收发单元根据第一文件的标识信息,从服务器获取第一文件是否更新。当第一文件有更新时,处理单元通过显示单元显示第一文件的更新提醒。
可选地,处理单元,还用于接收第二操作,并响应于第二操作,通过收发单元从服务器下载第二文件,并用第二文件替换第一文件。第二文件为对第一文件更新后的文件。
另外一些实施例中,处理单元,还用于通过收发单元根据第一文件的标识信息,从服务器获取第一文件是否更新。当第一文件有更新时,处理单元自动通过收发单元从服务器下载第二文件,并用第二文件替换第一文件。第二文件为对第一文件更新后的文件。
可选地,终端设备包括静默升级开关;处理单元,具体用于当静默升级开关开启时,自动通过收发单元从服务器下载第二文件。
一些实施例中,处理单元还用于通过显示单元显示第一界面,第一界面包括第一页面对应的第一卡片;第一卡片包括第一页面的页面标识,和/或,第一页面的页面类型的标识。第一操作为在第一界面点击或触摸第一卡片的操作。
另外一些实施例中,处理单元还用于通过显示单元显示第一界面,第一界面包括第一文件夹;第一文件夹包括至少一个卡片,第一卡片是至少一个卡片中的一个;第一卡片包括第一页面的页面标识,和/或,第一页面的页面类型的标识。处理单元还用于接收第三操作,并响应于第三操作,通过显示单元显示第二界面,第二界面包括第一文件夹中的卡片。第三操作为用户打开第一文件夹的操作。第一操作为在第二界面中点击或触摸第一卡片的操作。
可选地,第一文件夹中包括的卡片的页面类型相同;第一界面还包括第二文件夹,第二文件夹包括至少一个卡片;第二文件夹中包括的卡片的页面类型与第一文件夹中包括的卡片的页面类型不同。
可选地,处理单元还用于接收第四操作,并响应于第四操作,删除第一卡片、以及第一文件。第四操作为用户删除第一卡片的操作。
可选地,处理单元还用于通过显示单元显示第三界面,第三界面包括第一界面的 启动入口对应的功能控件;第三界面为负一屏、或桌面、或下拉界面。处理单元接收第五操作,并响应于第五操作,通过显示单元显示第一界面。第五操作为用户点击第一界面的启动入口对应的功能控件的操作。
一些实施例中,服务器和第一对象中还分别包括第一文件的校验信息;交互单元具体用于与第一对象之间进行第一交互操作,获取第一对象中包含的第一文件的标识信息、以及第一文件的校验信息。
处理单元具体用于,通过收发单元根据第一文件的标识信息,从服务器下载对应的第一文件、以及第一文件的校验信息。当处理单元校验得到从服务器下载的第一文件的校验信息,与第一对象中包含的第一文件的校验信息一致时,处理单元保存第一文件,并通过显示单元根据第一文件显示对应的第一页面。
第一文件的校验信息可以包括第一文件的校验签名、包名等。
可选地,当处理单元校验得到从服务器下载的第一文件的校验信息,与第一对象中包含的第一文件的校验信息不一致时,处理单元通过显示单元显示第一文件校验失败的提示信息。
另外一些实施例中,服务器包括的第一文件为加密后的文件;第一对象还包括第一文件的密钥。交互单元具体用于与第一对象之间进行第一交互操作,获取第一对象中包含的第一文件的标识信息、以及第一文件的密钥。
当处理单元能够根据第一对象中包含的第一文件的密钥,对第一文件进行解密时,保存第一文件,并通过显示单元根据第一文件显示对应的第一页面。
可选地,终端设备包括第一模块;第一模块包括至少一个第一文件,第一文件与第一页面相关;处理单元,还用于当第一模块包括与第一文件的标识信息对应的第一文件时,从第一模块中直接拉起对应的第一文件,并通过显示单元根据第一文件显示对应的第一页面。
例如,第一模块可以为华为移动核心服务(huawei mobile services core,HMS core)。
可选地,处理单元具体用于,当第一模块不包括与第一文件的标识信息对应的第一文件时,通过收发单元根据第一文件的标识信息从服务器下载对应的第一文件。
可以理解的,通过该页面展示装置,可以实现第一方面所述的页面展示方法对应的全部功能,在此不再一一赘述。
第三方面,本申请实施例提供一种电子设备,包括:处理器;存储器;以及计算机程序;其中,所述计算机程序存储在所述存储器上,当所述计算机程序被所述处理器执行时,使得所述电子设备实现如第一方面所述的页面展示方法。
该电子设备可以是手机、平板电脑、可穿戴设备(例如智能手表、智能手环器等)、车载设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)等。
第四方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质包括计算机程序,当所述计算机程序在电子设备上运行时,使得所述电子设备实现如第一方面所述的页面展示方法。
第五方面,本申请实施例还提供一种计算机程序产品,包括计算机可读代码,当 所述计算机可读代码在电子设备中运行时,使得电子设备实现前述第一方面所述的页面展示方法。
第六方面,本申请实施例还提供一种页面展示系统,包括:终端设备、服务器、以及第一对象;所述终端设备与服务器连接,所述服务器包括至少一个第一文件,第一文件与第一页面相关;所述第一对象为NFC标签、或包括NFC标签的设备、或二维码标签、或可显示二维码的设备、或与所述终端设备无线通信的第一电子设备。
当所述终端设备与所述第一对象之间进行第一交互操作时:
所述终端设备获取所述第一对象中包含的第一文件的标识信息。
所述终端设备根据所述第一文件的标识信息,从所述服务器下载对应的第一文件。
所述终端设备保存所述第一文件,并根据所述第一文件显示对应的第一页面。
所述终端设备接收第一操作,所述第一操作为用户打开所述第一页面的操作。
响应于所述第一操作,所述终端设备再次显示所述第一页面。
可选地,所述终端设备还用于,根据第一文件的标识信息,从服务器获取第一文件是否更新;当第一文件有更新时,显示第一文件的更新提醒。
可选地,所述终端设备还用于,接收第二操作,响应于第二操作从服务器下载第二文件,第二文件为对第一文件更新后的文件;并用第二文件替换第一文件。
可选地,所述终端设备还用于,显示第一界面,第一界面包括第一卡片;第一卡片与第一页面关联;第一卡片包括第一页面的页面标识,和/或,第一页面的页面类型的标识;第一操作为在第一界面点击或触摸第一卡片的操作。
可选地,所述终端设备还用于,接收第四操作,第四操作为用户删除第一卡片的操作;响应于第四操作,删除第一卡片、以及第一文件。
可选地,所述终端设备还用于,显示第三界面,第三界面包括第一界面的启动入口对应的功能控件;第三界面为负一屏、或桌面、或下拉界面。所述终端设备,具体用于接收第五操作,第五操作为用户点击第一界面的启动入口对应的功能控件的操作;响应于第五操作,显示第一界面。
可以理解的,该页面展示系统中,终端设备可以实现第一方面所述的页面展示方法的全部功能,在此不再一一赘述。
第七方面,本申请实施例还提供一种NFC标签,NFC标签至少包括第一文件的标识信息,第一文件与第一页面相关。
第八方面,本申请实施例还提供一种服务器,服务器包括至少一个第一文件,第一文件与第一页面相关。第一文件包括第一文件的标识信息。
示例性地,第一文件的标识信息可以是第一的页面名称、页面ID等。第一页面可以是第三方页面,如:第一页面可以包括以下任意一种:商品购买页面、广告页面、网页页面、支付页面、公众号页面、视频展示页面、文章展示页面。
上述第二方面至第八方面所具备的有益效果,可参考第一方面中所述,在此不再赘述。
应当理解的是,本申请中对技术特征、技术方案、有益效果或类似语言的描述并不是暗示在任意的单个实施例中可以实现所有的特点和优点。相反,可以理解的是对于特征或有益效果的描述意味着在至少一个实施例中包括特定的技术特征、技术方案 或有益效果。因此,本说明书中对于技术特征、技术方案或有益效果的描述并不一定是指相同的实施例。进而,还可以任何适当的方式组合本实施例中所描述的技术特征、技术方案和有益效果。本领域技术人员将会理解,无需特定实施例的一个或多个特定的技术特征、技术方案或有益效果即可实现实施例。在其他实施例中,还可在没有体现所有实施例的特定实施例中识别出额外的技术特征和有益效果。
附图说明
图1为一种智能眼镜的商品购买页面及其对应的二维码的示意图;
图2为手机扫描图1中的(b)所示的二维码的场景示意图;
图3为手机显示图1中的(a)所示的智能眼镜的商品购买页面的示意图;
图4为本申请实施例提供的一种应用场景的示意图;
图5为本申请实施例提供的终端设备的结构示意图;
图6为本申请实施例提供的页面展示方法的流程示意图;
图7为本申请实施例提供的上传第一文件至应用市场的示意图;
图8为本申请实施例提供的将第一文件的标识信息写入NFC标签的示意图;
图9为本申请实施例提供的手机从应用市场中下载第一文件的示意图;
图10为本申请实施例提供的virtual App的一种架构示意图;
图11为本申请实施例提供的手机与包含page2 apk的标识信息的NFC标签进行触碰,并显示page2的场景示意图;
图12A为本申请实施例提供的一种负一屏的示意图;
图12B为本申请实施例提供的一种手机下拉界面的示意图;
图12C为本申请实施例提供的一种手机桌面的示意图;
图13为本申请实施例提供的virtual App的应用界面的示意图;
图14A为本申请实施例提供的virtual App的应用界面的另一示意图;
图14B为本申请实施例提供的virtual App的应用界面的又一示意图;
图15为本申请实施例提供的手机监听page apk的更新状态的示意图;
图16为本申请实施例提供的另一种手机下拉界面的示意图;
图17为本申请实施例提供的page1 apk对应的更新操作界面的示意图;
图18为本申请实施例提供的手机自动更新page apk的示意图;
图19A为本申请实施例提供的virtual App的应用界面的又一示意图;
图19B为本申请实施例提供的virtual App的应用界面的又一示意图;
图20为本申请实施例提供的上传第一文件至HMS core的示意图;
图21为本申请实施例提供的手机从HMS core中拉起page2 apk的示意图;
图22为本申请实施例提供的页面展示方法的另一流程示意图;
图23为本申请实施例提供的page kit从应用市场更新page apk的示意图;
图24为本申请实施例提供的页面展示装置的结构示意图。
具体实施方式
以下实施例中所使用的术语只是为了描述特定实施例的目的,而并非旨在作为对本申请的限制。如在本申请的说明书和所附权利要求书中所使用的那样,单数表达形式“一个”、“一种”、“所述”、“上述”、“该”和“这一”旨在也包括例如“一 个或多个”这种表达形式,除非其上下文中明确地有相反指示。还应当理解,在本申请以下各实施例中,“至少一个”、“一个或多个”是指一个或两个以上(包含两个)。术语“和/或”,用于描述关联对象的关联关系,表示可以存在三种关系;例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A、B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。
在本说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。术语“连接”包括直接连接和间接连接,除非另外说明。
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。
在本申请实施例中,“示例性地”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性地”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性地”或者“例如”等词旨在以具体方式呈现相关概念。
本申请实施例可以适用于用户使用终端设备查看第三方页面的场景。第三页面也可以称为第一页面。
其中,终端设备可以包括:手机、平板电脑、可穿戴设备(例如智能手表、智能手环器等)、车载设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)等。本申请实施例对终端设备的具体类型不作限制。
示例性地,第三方页面可以包括:商品购买页面、广告页面、网页页面、用于向商家的收款账户进行付款的付款页面(或称为支付页面)、公众号页面、视频(或短视频)展示页面、文章展示页面等。本申请实施例对第三方页面的具体类型也不作限制。
例如,一种实现场景中,终端设备可以是手机,第三方页面可以是某个商品购买页面。该商品购买页面中可以包括商品图片、商品价格等商品购买信息。用户可以使用手机查看该商品购买页面,并在该商品购买页面进行查看商品图片、商品价格,或者购买商品等访问操作。
目前,终端设备为用户展示第三方页面的主流方式为:终端设备扫描第三方页面对应的二维码,获取二维码中包含的第三方页面的链接,然后根据第三方页面的链接获取第三方页面并进行显示。
示例性地,第三方页面的链接可以是第三方页面的统一资源定位符(uniform resource locator,URL)地址。
以第三方页面为智能眼镜的商品购买页面为例,图1为一种智能眼镜的商品购买页面及其对应的二维码的示意图。请参考图1所示,当第三方商家(以下简称商家)需要为用户提供图1中的(a)所示的智能眼镜的商品购买页面时,可以将图1中的(a)所示的智能眼镜的商品购买页面的URL地址,写入如图1中的(b)所示的二维码中,并将该二维码展示给用户。例如,该二维码可以通过二维码标签进行展示,二维码标签是指印制有二维码的纸质载体或非纸质载体。
例如,商家可以将图1中的(a)所示的智能眼镜的商品购买页面的URL地址输入二维码生成器,二维码生成器可以根据图1中的(a)所示的智能眼镜的商品购买页面的URL地址生成图1中的(b)所示的二维码,从而可以实现将智能眼镜的商品购买页面的URL地址写入二维码中。其中,二维码生成器可以是专门用于根据输入的信息生成对应的二维码的软件。
图2为手机扫描图1中的(b)所示的二维码的场景示意图。如图2所示,将图1中的(b)所示的二维码展示给用户后,用户可以使用手机扫描图1中的(b)所示的二维码。手机可以从图1中的(b)所示的二维码中解析获取到图1中的(a)所示的智能眼镜的商品购买页面的URL地址。
图3为手机显示图1中的(a)所示的智能眼镜的商品购买页面的示意图。如图3所示,手机获取到图1中的(a)所示的智能眼镜的商品购买页面的URL地址后,可以根据图1中的(a)所示的智能眼镜的商品购买页面的URL地址,获取图1中的(a)所示的智能眼镜的商品购买页面并进行显示。用户可以在图3所示的智能眼镜的商品购买页面中进行查看智能眼镜的价格、外形、优惠活动等访问操作。
可选地,手机扫描二维码的功能可以基于手机中安装的附带扫码功能的应用程序(application,App)实现,以下简称应用。例如,附带扫码功能的应用可以包括浏览器、相机应用、或者其他聊天应用或支付应用等。
但是,上述终端设备展示第三方页面的方式中,终端设备扫描第三方页面对应的二维码的过程具有不可重现性。当用户想要再次查看第三方页面时,要使用终端设备重新扫描第三方页面对应的二维码。
例如,用户使用手机扫描图1中的(b)所示的二维码,查看过图1中的(a)所示的智能眼镜的商品购买页面后,当用户想要再次查看图1中的(a)所示的智能眼镜的商品购买页面时,要求用户重新使用手机扫描图1中的(b)所示的二维码才行。如果现场没有图1中的(b)所示的二维码,则用户可能无法再次通过手机查看图1中的(a)所示的智能眼镜的商品购买页面。
另外,上述终端设备展示第三方页面的方式中,二维码中包含的第三方页面的链接不具备时效性。当第三方页面的提供方对第三方页面进行更新后,第三方页面的链接可能会发生变化,但已经生成的更新前的第三方页面对应的二维码是不会变化的。当用户使用终端设备扫描更新前的第三方页面对应的二维码时,可能会存在无法查看更新后的第三方页面甚至二维码已经失效的情况。
例如,当商家对图1中的(a)所示的智能眼镜的商品购买页面进行更新时(如:更新商品价格、更新商品型号等),图1中的(a)所示的智能眼镜的商品购买页面的链接可能也会随之更新,但图1中的(b)所示的二维码中包含的仍然是更新前的智能 眼镜的商品购买页面的链接。此时,当用户使用手机扫描图1中的(b)所示的二维码时,是无法查看已经更新后的智能眼镜的商品购买页面的。一般需要商家为用户重新提供更新后的智能眼镜的商品购买页面对应的二维码。
在此背景技术下,本申请实施例提供一种页面展示方法。该方法中,第三方页面的提供方(如上述第三方商家)可以将第三方页面打包制作为第一文件,并将第一文件上传至与终端设备连接的第一平台。第一文件中可以包括第一文件的标识信息,第一文件的标识信息可以是第三页面的页面名称、页面ID等。另外,第三方页面的提供方还可以将第一文件的标识信息写入第一对象。该方法可以包括:终端设备与第一对象之间进行第一交互操作,获取第一对象中包含的第一文件的标识信息。终端设备根据第一文件的标识信息,从第一平台中下载第一文件。终端设备缓存(缓存也即保存)第一文件,并根据第一文件显示第三方页面。
由于终端设备缓存了第一文件,所以,当用户需要再次查看该第三方页面时,可以在终端设备上执行打开第三方页面的操作,终端设备可以响应于用户打开第三方页面的操作,再次根据第一文件显示该第三方页面,实现对该第三方页面的重现。用户打开第三方页面的操作也可以称为第一操作。
其中,第一文件与第三方页面相关,具体可以是包含第三方页面的内容的文件包。该文件包的格式可以包括多种,终端设备从第一平台中下载第一文件时,可以根据自身的操作系统,从第一平台中下载与自身的操作系统相适配的格式的第一文件。
示例性地,第一文件的格式可以包括apk格式、ipa格式、pxl格式、deb格式、dmg格式、exe格式等。终端设备的操作系统可以是鸿蒙TM(harmony)系统、安卓TM(android)系统、iosTM系统、macTM系统、windowsTM系统等。当终端设备的操作系统为鸿蒙TM系统或安卓TM系统时,终端设备可以从第一平台中下载apk格式的第一文件。当终端设备的操作系统为iosTM系统时,终端设备可以从第一平台中下载ipa格式、或者pxl格式、又或者deb格式的第一文件。当终端设备的操作系统为macTM系统时,终端设备可以从第一平台中下载dmg格式的第一文件。当终端设备的操作系统为windowsTM系统时,终端设备可以从第一平台中下载exe格式的第一文件。
需要说明的是,本申请对第一文件的格式、以及终端设备的操作系统的具体类型不作限制。另外,本申请对终端设备的操作系统与第一文件的格式之间的适配关系也不作限制。例如,鸿蒙TM系统也可能适配其他非apk格式。
可选地,本申请实施例中,第一对象可以是近场通信(near field communication,NFC)标签、或包括(如内置)NFC标签的设备、或二维码标签、或可显示二维码的设备(如手机、电脑等包含显示屏的电子设备,二维码可以显示在电子设备的显示屏上)、或与终端设备无线通信的第一电子设备等。例如,第一电子设备可以是手机、智慧屏、电脑、手环等,第一电子设备与终端设备可以通过无线保真(wireless fidelity,Wi-Fi)网络、蓝牙(bluetooth,BT)、ZigBee网络等进行无线通信。
当第一对象为NFC标签或内置NFC标签的设备时,上述终端设备与第一对象之间进行第一交互操作,获取第一对象中包含的第一文件的标识信息,可以是指:终端设备触碰(或靠近)NFC标签或内置NFC标签的设备,获取NFC标签或内置NFC标 签的设备中包含的第一文件的标识信息。可以理解的,终端设备中也具有NFC标签,如NFC芯片。
当第一对象为二维码标签或可显示二维码的设备时,上述终端设备与第一对象之间进行第一交互操作,获取第一对象中包含的第一文件的标识信息,可以是指:终端设备扫描二维码标签或可显示二维码的设备上展示的二维码,获取二维码中包含的第一文件的标识信息。
类似地,当第一对象为与终端设备通过Wi-Fi网络、蓝牙、ZigBee网络等无线通信的第一电子设备时,上述终端设备与第一对象之间进行第一交互操作,获取第一对象中包含的第一文件的标识信息,可以是指:终端设备与第一电子设备之间进行无线通信,获取第一电子设备中包含的第一文件的标识信息。例如,当终端设备与第一电子设备建立连接时,终端设备可以从第一电子设备中获取第一文件的标识信息,或者,第一电子设备可以主动向终端设备发送第一文件的标识信息,在此不作限制。
本申请对第一对象的具体形态、以及第一交互操作的具体实现方式均不作限制。
可选地,本申请实施例中,第一平台可以是服务器、或者由服务器或服务器集群组成的云平台,云平台与终端设备之间可以通过网络连接。
示例性地,图4为本申请实施例提供的一种应用场景的示意图。如图4所示,在一种可能的应用场景中,上述提到的第一平台可以为服务器401,终端设备可以为手机402,第一对象可以为NFC标签403。服务器401与手机402之间通过网络连接/通信连接,手机402中配置有NFC芯片,手机402可以基于其配置的NFC芯片与NFC标签403实现NFC通信。
当本申请实施例提供的页面展示方法应用在图4所示的场景中时,其具体实现过程可以包括:第三方页面的提供方将第三方页面打包制作为第一文件,并将第一文件上传至服务器401。另外,第三方页面的提供方将第一文件的标识信息写入NFC标签403。手机402与NFC标签403之间进行第一交互操作,获取NFC标签403中包含的第一文件的标识信息。当手机402获取到NFC标签403中包含的第一文件的标识信息后,手机402可以根据第一文件的标识信息,从服务器401中下载第一文件。然后,手机402可以缓存第一文件,并根据第一文件显示第三方页面。
由于手机402缓存了第一文件,所以,当用户需要再次查看该第三方页面时,可以在手机402上执行打开第三方页面的操作,手机402可以响应于用户打开第三方页面的操作,再次根据第一文件显示该第三方页面,实现对该第三方页面的重现。
需要说明的是,本申请对第一对象、第一平台、以及终端设备的具体形态均不作限制。
可选地,本申请实施例中,终端设备根据第一文件的标识信息,从第一平台中下载第一文件的功能,以及缓存第一文件,并根据第一文件显示第三方页面的功能,可以通过在该终端设备的应用层部署一个应用(如第一应用)来实现,或者通过在该终端设备的系统层部署一个服务(如第一服务)来实现。其中,第一应用可以提供一个透明页面活动组件(activity),透明页面activity可以仅在使用时触发,如:终端设备触碰NFC标签时,可以触发终端设备显示透明页面activity。第一服务可以在手机的系统后台运行,可以没有对应的界面显示。
以终端设备上部署第一应用为例,终端设备可以通过第一应用根据第一文件的标识信息,从第一平台中下载第一文件。然后,终端设备可以通过第一应用将第一文件进行缓存,并根据第一文件显示第三方页面。当用户需要再次查看该第三方页面时,可以在第一应用中执行打开第三方页面的操作,以触发终端设备通过第一应用再次根据第一文件显示该第三方页面。
示例性地,第一应用可以是虚拟应用(virtual App)或本地应用,本申请对第一应用的类型不作限制。
下面以终端设备为手机,第一应用为virtual App,第一对象为NFC标签为例,对本申请实施例的具体实现过程进行示例性说明。
示例性地,以终端设备为手机为例,图5为本申请实施例提供的终端设备的结构示意图。如图5所示,手机可以包括处理器510,外部存储器接口520,内部存储器521,通用串行总线(universal serial bus,USB)接口530,充电管理模块540,电源管理模块541,电池542,天线1,天线2,移动通信模块550,无线通信模块560,音频模块570,扬声器570A,受话器570B,麦克风570C,耳机接口570D,传感器模块580,按键590,马达591,指示器592,摄像头593,显示屏594,以及用户标识模块(subscriber identification module,SIM)卡接口595等。
处理器510可以包括一个或多个处理单元,例如:处理器510可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
其中,控制器可以是手机的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器510中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器510中的存储器为高速缓冲存储器。该存储器可以保存处理器510刚用过或循环使用的指令或数据。如果处理器510需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器510的等待时间,因而提高了系统的效率。
在一些实施例中,处理器510可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,SIM接口,和/或USB接口等。
外部存储器接口520可以用于连接外部存储卡,例如Micro SD卡,实现扩展手机的存储能力。外部存储卡通过外部存储器接口520与处理器510通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器521可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器510通过运行存储在内部存储器521的指令,从而执行手机的各种功能 应用以及数据处理。
内部存储器521还可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如本申请实施例中所述的第一应用)等。存储数据区可存储手机使用过程中所创建的数据(比如图像数据,电话本)等。此外,内部存储器521可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器510可以运行第一应用,使得手机实现根据第一文件的标识信息,从第一平台中下载第一文件的功能,以及缓存第一文件,并根据第一文件显示第三方页面的功能。
充电管理模块540用于从充电器接收充电输入。充电管理模块540为电池542充电的同时,还可以通过电源管理模块541为手机供电。电源管理模块541用于连接电池542,充电管理模块540,以及处理器510。电源管理模块541也可接收电池542的输入为手机供电。
手机的无线通信功能可以通过天线1,天线2,移动通信模块550,无线通信模块560,调制解调处理器以及基带处理器等实现。天线1和天线2用于发射和接收电磁波信号。手机中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。本申请实施例中,手机的无线通信模块560中还可以包括一个NFC芯片,手机可以通过该NFC芯片,与NFC标签(第一对象)进行通信,获取NFC标签中包含的第一文件的标识信息。手机还可以基于无线通信功能,根据第一文件的标识信息向第一平台发送第一文件的下载请求,并接收来自第一平台的第一文件。
手机可以通过音频模块570,扬声器570A,受话器570B,麦克风570C,耳机接口570D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
传感器模块580可以包括压力传感器580A,陀螺仪传感器580B,气压传感器580C,磁传感器580D,加速度传感器580E,距离传感器580F,接近光传感器580G,指纹传感器580H,温度传感器580J,触摸传感器580K,环境光传感器580L,骨传导传感器580M等。
显示屏594用于显示图像,视频等。显示屏594包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,手机可以包括1个或N个显示屏594,N为大于1的正整数。例如,显示屏594可以用于显示第一应用的应用界面,第一应用的应用界面可以包括第三方页面。或者,显示屏594可以直接显示第三方页面等。
手机通过GPU,显示屏594,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏594和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器510可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
可以理解的是,图5所示的结构并不构成对手机的具体限定。在一些实施例中, 手机也可以包括比图5所示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置等。又或者,图5所示的一些部件可以以硬件,软件或软件和硬件的组合实现。
另外,当终端设备是其他平板电脑、可穿戴设备、车载设备、AR/VR设备、笔记本电脑、UMPC、上网本、PDA等移动终端时,这些其他终端设备的具体结构也可以参考图5所示。示例性地,其他终端设备可以是在图5给出的结构的基础上增加或减少了组件,在此不再一一赘述。
示例性地,图6为本申请实施例提供的页面展示方法的流程示意图。如图6所示,该方法可以包括:S601-S603。
S601、手机与NFC标签进行第一交互操作,获取NFC标签中包含的第一文件的标识信息。
如上所述,手机与NFC标签进行第一交互操作,可以是指:手机与NFC标签进行触碰。例如,用户可以手持手机触碰NFC标签。
可以理解,在执行S601之前,第三方页面的提供方需要预先将第三方页面制作为第一文件,并将第一文件上传至第一平台中,以及将第一文件的标识信息写入NFC标签中。从而,手机与NFC标签进行第一交互操作时,才可以获取NFC标签中包含的第一文件的标识信息。
示例性地,对于手机侧而言,第一平台的具体实现可以为能够为手机提供应用下载功能的应用市场(即,上述服务器可以是应用市场的数据库服务器)。
以手机的操作系统为安卓TM系统、第一文件的格式为apk格式、第一平台为应用市场为例:
图7为本申请实施例提供的上传第一文件至应用市场的示意图。如图7所示,第三方页面的提供方可以包括商家1、商家2、…、商家N(N为大于0的整数)。其中,商家1可以提供的第三方页面为page(页面)1,商家1根据page1制作的第一文件可以是page1 apk,商家1可以将page1 apk上传至应用市场,page1 apk包括page1 apk的page名称(如page1)、page ID等信息。商家2可以提供的第三方页面为page2,商家2根据page2制作的第一文件可以是page2 apk,商家2可以将page2 apk上传至应用市场,page2 apk包括page2 apk的page名称(如page2)、page ID等信息。以此类推,商家N可以提供的第三方页面为pageN,商家N根据pageN制作的第一文件可以是pageN apk,商家N可以将pageN apk上传至应用市场,pageN apk包括pageN apk的page名称(如pageN)、page ID等信息。也即,每个第三方页面的提供方可以将各自提供的page,制作为对应的page apk上传至应用市场。
图8为本申请实施例提供的将第一文件的标识信息写入NFC标签的示意图。如图8所示,图7中所示的每个第三方页面的提供方将各自提供的page对应的page apk上传至应用市场的同时,还可以将page apk的page(页面)名称、page(页面)ID等信息写入NFC标签。
上述page名称、page ID等信息即为page apk的标识信息。
需要说明的是,对于图7中所示的page1 apk、page2 apk、…、pageN apk等不同的page apk而言,不同的page apk的标识信息不同。例如,page1 apk的标识信息为 page1,page2 apk的标识信息为page2等。
示例性地,NFC标签与page apk可以是一一对应的关系。例如,每个商家可以为用户提供一个NFC标签,该NFC标签写入了该商家提供的page对应的page apk的标识信息。当手机与某商家提供的NFC标签进行触碰时,手机可以获取到该NFC标签中包含的page apk的标识信息。
手机在获取到NFC标签中包含的第一文件的标识信息后,可以执行S602。
S602、手机通过virtual App,根据第一文件的标识信息从第一平台中下载第一文件。
示例性地,同样以手机的操作系统为安卓TM系统、第一文件的格式为apk格式、第一平台为应用市场为例,图9为本申请实施例提供的手机从应用市场中下载第一文件的示意图。如图9所示,假设NFC标签中包含的第一文件的标识信息为:“page2 info”,“page2 info”是page2 apk的标识信息。当手机触碰或靠近NFC标签时,手机可以获取到NFC标签中包含的“page2 info”。然后,手机可以通过virtual App根据“page2 info”,从应用市场中下载page2 apk。如:手机可以向应用市场(具体可以是应用市场的后台服务器)发送page2 apk的下载请求,该下载请求中可以包括“page2 info”,应用市场接收到page2 apk的下载请求后,可以向手机下发page2 apk。
类似地,手机可以通过virtual App根据page1 apk的标识信息,从应用市场中下载page1 apk。或者,通过virtual App根据pageN apk的标识信息,从应用市场中下载pageN apk等,不再赘述。
手机通过virtual App从第一平台中下载第一文件后,可以执行S603。
S603、手机通过virtual App,缓存第一文件并根据第一文件显示第三方页面。
以第一文件为上述图9中所示的page2 apk为例,当手机从应用市场中下载page2 apk后,手机可以通过virtual App将page2 apk进行缓存,如:可以将page2 apk缓存至virtual App对应的存储空间中。另外,手机还可以通过virtual App,根据page2 apk显示第三方页面:page2。
示例性地,同样以手机的操作系统为安卓TM系统、第一文件的格式为apk格式、第一平台为应用市场为例,图10为本申请实施例提供的virtual App的一种架构示意图。如图10所示,virtual App中可以包括一个页面管理模块:base apk,以及一个类加载器:classloader。base apk中可以提供一个透明路由界面活动组件:routeractivity。
其中,base apk可以用于实现virtual App根据page apk的标识信息,从应用市场中下载page apk的功能。也即,手机在获取到NFC标签中包含的page apk的标识信息后,可以由virtual App中的base apk从应用市场下载对应的page apk。例如,base apk可以触发手机向从应用市场的后台(如服务器)发送一个page apk的下载请求,然后,应用市场的后台可以将对应的page apk下发给手机。
另外,base apk还可以用于实现virtual App缓存page apk、并根据page apk显示对应的page的功能。例如,base apk可以将从应用市场中下载的上述page2 apk,缓存至virtual App对应的存储空间中。然后,base apk可以通过反射修改classloader的方式,将page2 apk加载到classloader中,并调用routeractivity跳转显示对应的第三方页面:page2。
类似地,当手机从应用市场中下载了page1 apk、pageN apk等其他page apk时,base apk均可以按照与上述显示page2相同的方式,分别加载其他page apk,显示对应的page,不再一一赘述。
以上述图9中所示的page2 apk是根据上述图1中的(a)所示的智能眼镜的商品购买页面制作的page apk为例(即,page2为图1中的(a)所示的智能眼镜的商品购买页面),图11为本申请实施例提供的手机与包含page2 apk的标识信息的NFC标签进行触碰,并显示page2的场景示意图。如图11所示,当手机与包含page2 apk的标识信息的NFC标签进行触碰,从应用市场中下载page2 apk后,base apk将page2 apk加载到classloader中,并调用routeractivity跳转显示对应的page2,可以使得手机为用户展示上述图1中的(a)所示的智能眼镜的商品购买页面。
本申请实施例中,手机可以通过virtual App缓存第一文件,所以,当用户想要再次查看第三方页面时,可以在手机上进行打开第三方页面的操作,手机可以响应于用户打开第三方页面的操作,根据缓存的第一文件显示第三方页面,实现对该第三方页面的重现。
示例性地,手机可以显示virtual App的应用图标。当用户想要再次查看第三方页面时,可以点击virtual App的应用图标。手机可以响应于用户点击virtual App的应用图标的操作,显示virtual App的应用界面。virtual App的应用界面中可以包括缓存的第一文件对应的第三方页面的页面卡片(可以称为第一卡片)。用户打开第三方页面的操作(也即第一操作)可以是:点击第三方页面的页面卡片的操作。手机可以响应于用户点击第三方页面的页面卡片的操作,根据缓存的第一文件显示对应的第三方页面。其中,页面卡片也可以被称为卡片、页面标识、页面图标、页面打开按钮等其他名称,在此不作限制。
一种实施方式中,手机可以在负一屏显示virtual App的应用图标。其中,负一屏是指将手机的主界面(或称为桌面)向右滑动后出现的显示界面,负一屏中可以显示用户常用的应用、功能以及订阅的服务和资讯等,方便用户快速浏览和使用。例如,手机当前显示界面为桌面时,用户可在手机屏幕上执行向右的滑动操作,以触发手机将显示界面由桌面切换至负一屏。
示例性地,图12A为本申请实施例提供的一种负一屏的示意图。如图12A所示,手机可以在负一屏1201中显示virtual App的应用图标1202。应用图标1202下方可以显示文字提示:“第三方页面”,用于向用户提示应用图标1202对应的应用(virtual App)可以用于显示第三方页面。用户可以点击负一屏1201中的应用图标1202,手机可以响应于用户点击应用图标1202的操作,打开virtual App的应用界面。
可以理解的是,“负一屏”只是本申请实施例中所使用的一个词语,其代表的含义在本申请实施例中已经记载,但其名称并不能对本申请实施例构成任何限制;另外,在其他一些实施例中,“负一屏”也可以被称为例如“桌面助理”、“快捷菜单”、“Widget集合界面”等其他名称,在此不作限制。
另一种实施方式中,手机也可以在下拉界面中显示virtual App的应用图标(或称为按键)。其中,下拉界面是指在将手机的主界面(或称为桌面)的顶部向下滑动后出现的显示界面,下拉界面中可以显示用户常用的功能的按键,如:WLAN、蓝牙等, 方便用户快速使用相关功能。例如,手机当前显示界面为桌面时,用户可在手机屏幕顶部上执行向下的滑动操作,以触发手机将显示界面由桌面切换至下拉界面(或者在桌面上叠加显示下拉界面)。
示例性地,图12B为本申请实施例提供的一种手机下拉界面的示意图。如图12B所示,手机可以在下拉界面1203中显示virtual App的应用图标1204。应用图标1204下方也可以显示文字提示:“第三方页面”,用于向用户提示应用图标1204对应的应用(virtual App)可以用于显示第三方页面。用户可以点击下拉界面1203中的应用图标1204,手机可以响应于用户点击应用图标1204的操作,打开virtual App的应用界面。
又一种实施方式中,手机也可以在主界面(或称为桌面)中显示virtual App的应用图标(或称为桌面快捷方式)。
示例性地,图12C为本申请实施例提供的一种手机桌面的示意图。如图12C所示,手机可以在桌面1205中显示virtual App的应用图标1206。应用图标1206下方也可以显示文字提示:“第三方页面”,用于向用户提示应用图标1206对应的应用(virtual App)可以用于显示第三方页面。用户可以点击桌面1205中的应用图标1206,手机可以响应于用户点击应用图标1206的操作,打开virtual App的应用界面。
应当理解,上述手机在负一屏、或下拉界面、或桌面显示virtual App的应用图标的实施方式仅为示例性说明,本申请对手机显示virtual App的应用图标的具体实现方式并不作限制。另外,上述图12A、图12B、以及图12C中分别所示的virtual App的应用图标可以理解为是virtual App的启动入口对应的功能控件,在其他一些实施方式中,virtual App的启动入口对应的功能控件也可以不以应用图标(或桌面快捷方式)的方式实现,在此也不作限制。本申请中,上述图12A、图12B、以及图12C分别所示的负一屏、下拉界面、桌面等均可以称为第三界面。用户点击virtual App(或者说第一界面)的启动入口对应的功能控件的操作可以称为第五操作。
示例性地,图13为本申请实施例提供的virtual App的应用界面的示意图。如图13所示,假设virtual App中缓存的第一文件包括:page1 apk、page2 apk、以及page3 apk,page1 apk对应的第三方页面(page1)为智能眼镜的商品购买页面,page2 apk对应的第三方页面(page2)为小说三国演义的阅读页面(或称为展示页面),page3 apk对应的第三方页面(page3)为银行A提供的支付页面,则virtual App的应用界面可以包括:智能眼镜的商品购买页面对应的页面卡片1301、小说三国演义的阅读页面对应的页面卡片1302,银行A提供的支付页面对应的页面卡片1303。每个页面卡片包括对应的第三方页面的标识信息(页面标识),如:页面卡片1301中包括的文字“智能眼镜”、页面卡片1302中包括的文字“三国演义”等。当用户想要再次查看智能眼镜的商品购买页面时,可以点击页面卡片1301,手机可以响应于用户点击页面卡片1301的操作,根据缓存的page1 apk显示智能眼镜的商品购买页面。类似地,用户可以查看小说三国演义的阅读页面或银行A提供的支付页面。其中,手机根据缓存的page apk显示对应的第三方页面的具体原理,与上述图10所示的过程相同,不再赘述。
可选地,请继续参考图13所示,virtual App的应用界面中,页面卡片还可以包括相应页面的上次打开时间(如智能眼镜的商品购买页面的上次打开时间为2020年12 月15日)、能够指示页面内容的图案(如页面卡片1301中的智能眼镜的图案)等。页面卡片中显示的能够指示页面内容的图案可以让用户更加直观地了解页面内容。本申请对页面卡片显示的内容不作限制,如:页面卡片还可以包括对应的第三方页面的页面类型的标识,如:购物、支付等。
可选地,当第三方页面是需要通过调用其它应用打开的页面、或者当第三方页面是其他应用中的页面时,virtual App的应用界面中显示的页面卡片中还可以包括相应页面对应的应用名称。
上述图13所示仅为示例性说明,本申请对页面卡片中显示的内容、以及页面卡片的具体呈现形态不作限制。例如,页面卡片也可以是以列表的形式呈现。
可选地,本申请还有一些实施例中,virtual App还可以对所有的页面卡片进行分类,根据页面卡片的类型,将不同的页面卡片划分到不同类型的文件夹,如第一文件夹、第二文件夹等。virtual App的应用界面中可以包括每种类型的文件夹(如至少一种)。当用户点击某个文件夹时,手机可以响应于用户点击该文件夹的操作,显示该文件夹中包括的页面卡片。
示例性地,图14A为本申请实施例提供的virtual App的应用界面的另一示意图。如图14A所示,virtual App的应用界面可以包括以下文件夹:购物类、金融类、阅读类。以上述图13中所示的页面卡片为例,智能眼镜的商品购买页面对应的页面卡片1301可以被分类到购物类的文件夹中,小说三国演义的阅读页面对应的页面卡片1302可以被分类到阅读类的文件夹中,银行A提供的支付页面对应的页面卡片1303也可以被分类到金融类的文件夹中。当用户点击购物类的文件夹时,手机可以响应于用户点击购物类的文件夹的操作,显示购物类的文件夹中包括的页面卡片。其中,购物类可以称为第一文件夹、金融类可以称为第二文件夹、阅读类可以称为第三文件夹。
例如,图14B为本申请实施例提供的virtual App的应用界面的又一示意图。如图14B所示,假设购物类的文件夹中包括的页面卡片为:智能眼镜的商品购买页面对应的页面卡片、以及运动手表的商品购买页面对应的页面卡片,则用户点击图14A中所示的购物类的文件夹后,virtual App可以显示如图14B所示的界面。用户可以在图14B所示的界面中点击任意一个页面卡片,以触发手机显示相应的第三方页面,具体原理与前述图13中所述的过程相同,不再赘述。
类似地,用户可以点击查看金融类、阅读类等其他文件夹中包括的页面卡片,也不再一一赘述。
应当理解,上述关于页面卡片的显示方式、页面卡片的分类方式的说明均为示例性说明,本申请对此不作限制。例如,页面卡片的分类文件夹还可以包括第四文件夹、第五文件夹等,如:第四文件夹可以是广告类、第五文件夹可以是视频类等。不同文件夹中包括的卡片的页面类型不同。
本申请中,图13或图14A所示的界面可以称为第一界面,图14B所示的界面可以称为第二界面。用户点击打开文件夹的操作可以称为第三操作。
可选地,当手机根据第一文件的标识信息,从第一平台中下载第一文件的功能,以及缓存第一文件,并根据第一文件显示第三方页面的功能,是通过在手机的系统层部署的第一服务实现时,手机也可以参照与上述第一应用类似的方式,为用户提供可 以打开第三方页面的操作界面,以及操作界面的启动入口对应的功能控件(如图标或按键),在此不再详述。
可选地,一些实施例中,上述提到的virtual App可以是手机供应商提前预置在手机的只读存储器(read only memory,ROM)中的应用,如:手机ROM可以是图5中所示的内部存储器521。
或者,另外一些实施例中,virtual App的开发人员可以提供virtual App的下载地址(可以是URL地址),如:可以将virtual App的安装包上架到应用市场中,virtual App的下载地址可以是应用市场(virtual App的下载地址也可以是其他服务器,不作限制)。第三方页面的提供方还可以在NFC标签中写入virtual App的下载地址。当手机与NFC标签进行第一交互操作时,手机还可以从NFC标签中获取到virtual App的下载地址。virtual App的下载地址可以用于指示手机需要通过virtual App打开第三方页面。当手机从NFC标签中获取到virtual App的下载地址后,virtual App的下载地址可以触发手机检测是否安装有virtual App。若手机检测到还未安装(或部署)virtual App,则会触发virtual App的下载安装及启动。例如,当手机触碰NFC标签后,若检测到还未安装virtual App,则手机可以根据virtual App的下载地址,从应用市场中下载virtual App的安装包进行安装,并启动运行安装成功的virtual App。之后,手机可以按照前述实施例中所述的方式,通过virtual App实现本申请实施例所述的方法。若手机检测到已安装virtual App,则手机可以直接按照前述实施例中所述的方式,通过virtual App实现本申请实施例所述的方法。
手机从应用市场中下载virtual App的安装包的方式,与前述实施例中所述的手机从应用市场中下载page apk的方式类似。例如,手机可以向应用市场的后台发送一个virtual App的安装包的下载请求,应用市场的后台可以根据virtual App的安装包的下载请求,向手机下发virtual App的安装包。virtual App的安装包的格式与手机的操作系统相适配,如:手机的操作系统为安卓TM系统时,virtual App的安装包也可以是apk格式。
应当理解,virtual App的初始状态(即virtual App第一次被安装在手机上时的状态)可以仅包括上述提到的base apk,不包括任何page apk。
可选地,当手机与NFC标签进行第一交互操作,触发下载page apk时,手机还可以通过virtual App的应用界面显示第一提示信息,第一提示信息用于提示用户确认是否下载page apk。例如,第一指示信息可以包括:“是否下载page apk”。同时,第一提示信息的下方还可以显示功能控件:“是”和“否”,用户可以主动选择“是”或“否”,以触发手机下载或不下载page apk。
可选地,手机可以仅在第一次触发下载page apk时显示第一指示信息,当用户选择同意下载后(如点击功能控件“是”),之后下载别的page apk都不再提示,以保证流畅性。
一些实施例中,手机通过virtual App缓存第一文件之后,手机还可以通过virtual App按照预设周期在后台通过接口查询已缓存的第一文件在第一平台中是否有更新。例如,手机可以通过virtual App按照预设周期向第一平台发送查询请求,第一平台可以根据查询请求向手机返回第一文件的更新状态。如果已缓存的第一文件在第一平台 中有更新,则手机还可以显示第一文件的更新提醒,以提醒用户第一文件有更新。用户看到第一文件的更新提醒后,可以主动对第一文件进行更新操作或者忽略第一文件的更新提醒。当手机接收到用户对第一文件的更新操作后,可以响应于用户对第一文件的更新操作,重新从第一平台中下载更新后的第一文件,并用更新后的第一文件替换之前缓存的第一文件。更新后的第一文件也可以称为第二文件。
其中,预设周期可以是1分钟、5分钟、10分钟、1天、2天等,在此对预设周期的大小不作限制。
以第一文件为page apk、第一平台为应用市场为例,图15为本申请实施例提供的手机监听page apk的更新状态的示意图。如图15所示,假设virtual App中的base apk已经缓存的page1 apk为1.0版本。而应用市场中的page1 apk已经更新到了2.0版本。则,virtual App中的base apk可以按照预设周期在手机后台通过接口去查询应用市场中的page1 apk的版本信息(或称为更新状态)时,及时监听到page1 apk的page状态已经由1.0版本转变为了2.0版本。应当理解,商家将应用市场中的page1 apk由1.0版本更新为2.0版本时,2.0版本的page1 apk中包括的page1 apk标识信息不变。手机仍然能够根据从NFC标签中获取的page1 apk的标识信息,从应用市场中下载2.0版本的page1 apk。商家无需再更新NFC标签。
当base apk监听到page1 apk的page状态已经由1.0版本转变为了2.0版本时,可以通过手机的消息栏(或称为通知栏)显示page1 apk的更新提醒。消息栏可以显示在手机的下拉界面中。例如,图16为本申请实施例提供的另一种手机下拉界面的示意图。如图16所示,手机的下拉界面还可以包括消息栏1601。以page1 apk为智能眼镜的购买页面对应的page apk为例,当base apk监听到page1 apk的page状态已经由1.0版本转变为了2.0版本时,消息栏1601可以显示page1 apk的更新提醒:“智能眼镜的购买页面有更新”1602。
用户看到消息栏1601中显示的page1 apk的更新提醒:“智能眼镜的购买页面有更新”1602后,可以选择主动对page1 apk进行更新或者忽略该更新提醒。当用户想要对page1 apk进行更新时,可以点击“智能眼镜的购买页面有更新”1602。手机可以响应于用户点击“智能眼镜的购买页面有更新”1602的操作,显示page1 apk对应的更新操作界面。page1 apk对应的更新操作界面也可以由virtual App提供。
示例性地,同样以page1 apk为智能眼镜的购买页面对应的page apk为例,图17为本申请实施例提供的page1 apk对应的更新操作界面的示意图。如图17所示,page1apk对应的更新操作界面可以包括文字提示:“是否更新智能眼镜的购买页面”,以及更新按键1701和取消按键1702。当用户点击更新按键1701时,手机可以响应于用户点击更新按键1701的操作,重新从应用市场中下载2.0版本的page1 apk,并用2.0版本的page1 apk替换之前缓存的1.0版本的page1 apk。当用户点击取消按键1702时,手机可以响应于用户点击取消按键1702的操作,退出图17所示的界面,回到其他界面,如主界面或下拉界面。
其中,用户依次点击图16中所示的“智能眼镜的购买页面有更新”1602的操作、以及图17中所示的更新按键1701的操作,即为用户对page1 apk的更新操作。本申请中,用户对page1 apk的更新操作可以称为第二操作。
本实施例中,当第三方页面的提供方对第三方页面进行了更新时,可以及时将更新后的第三方页面制作为更新后的第一文件,重新上传第一平台。手机可以及时监测到第一文件的更新状态,对缓存的第一文件进行更新。所以,手机根据第一文件为用户展示的第三方页面具有时效性。
可选地,其他实施例中,当page1 apk为智能眼镜的购买页面时,上述图16中所示的page1 apk的更新提醒也可以是“智能眼镜的购买页面有更新”。上述图17中所示的“是否更新page1 apk”也可以是“是否更新智能眼镜的购买页面”。在此不作限制。
另外一些实施例中,当手机通过virtual App查询得到第一文件有更新时,也可以自动通过virtual App下载更新后的第一文件,将已缓存的第一文件更新到最新版本。例如,图18为本申请实施例提供的手机自动更新page apk的示意图。如图18所示,当base apk监听到page1 apk的page状态已经由1.0版本转变为了2.0版本时,base apk可以自动重新下载2.0版本的page1 apk,将已缓存的1.0版本的page1 apk更新为2.0版本的page1 apk。
还有一些实施例中,手机还可以在virtual App中提供静默升级开关。其中,静默升级开关可以是virtual App的应用界面中的功能控件,此处不再用附图详细介绍。当用户开启静默升级开关时,手机可以自动更新第一文件。当用户关闭静默升级开关时,手机可以仅显示第一文件的更新提醒,等待用户主动对第一文件进行更新。
一种实现方式中,静默升级开关可以用于控制virtual App缓存的所有第一文件,当用户开启静默升级开关时,手机可以自动更新所有缓存的第一文件。
另一种实现方式中,virtual App中可以针对每个缓存的第一文件,分别提供一个静默升级开关。当用户开启某个静默升级开关时,手机可以仅自动更新该静默升级开关对应的第一文件。
也即,本申请实施例中,virtual App可以支持已缓存的所有page apk进行整体更新,或者,支持单个page apk进行更新,在此不作限制。
还有一些实施例中,当应用市场中的page apk的版本信息有更新时,应用市场也可以主动向virtual App推送page apk的版本信息有更新的消息(手机可以不通过virtual App进行主动查询)。当virtual App接收到page apk的版本信息有更新的消息后,可以按照前述实施例所述的方式通过手机的消息栏显示对应的page apk的更新提醒,或者,自动更新对应的page apk。
例如,当应用市场中的page1 apk由1.0版本更新为2.0版本时,应用市场可以主动向下载过1.0版本的page1 apk的virtual App推送page1 apk的版本信息有更新的消息,如:“page1 apk更新至2.0版本”。virtual App接收到page1 apk的版本信息有更新的消息后,则可以按照前述实施例所述的方式通过手机的消息栏显示page1 apk的更新提醒,或者,自动更新page1 apk。示例性地,应用市场可以记录下载过page1 apk的virtual App所在手机的标识信息,如设备号,应用市场可以查询记录的手机的标识信息,确定哪些手机的virtual App下载过1.0版本的page1 apk。
或者,应用市场也可以和手机保持连接,应用市场可以检测到手机是否包括page1 apk,当手机包括page1 apk时,应用时长可以主动向手机中的virtual App推送page1 apk 的版本信息有更新的消息,在此不作限制。
可选地,本申请实施例中,virtual App还可以支持用户主动移除已缓存的第一文件。
同样以上述图13中所举的例子为例,假设virtual App中缓存的第一文件包括:page1 apk、page2 apk、以及page3 apk,page1 apk对应的第三方页面(page1)为智能眼镜的商品购买页面,page2 apk对应的第三方页面(page2)为小说三国演义的阅读页面(或称为展示页面),page3 apk对应的第三方页面(page3)为银行A提供的支付页面。virtual App的应用界面包括:智能眼镜的商品购买页面对应的页面卡片、小说三国演义的阅读页面对应的页面卡片、银行A提供的支付页面对应的页面卡片。图19A为本申请实施例提供的virtual App的应用界面的又一示意图。如图19A所示,当用户想要移除page1 apk时,用户可以在图13所示的界面中长按智能眼镜的商品购买页面对应的页面卡片。手机可以响应于用户长按智能眼镜的商品购买页面对应的页面卡片的操作,在智能眼镜的商品购买页面对应的页面卡片旁显示删除按钮1901。用户可以点击删除按钮1901。手机可以响应于用户点击删除按钮1901的操作,删除智能眼镜的商品购买页面对应的页面卡片、以及page1 apk。类似地,用户可以主动进行操作,触发手机删除小说三国演义的阅读页面对应的页面卡片、以及page2 apk,或者,删除银行A提供的支付页面对应的页面卡片、以及page3 apk,不再赘述。
可选地,请继续参考图19A所示,当用户长按智能眼镜的商品购买页面对应的页面卡片时,手机还可以响应于用户长按智能眼镜的商品购买页面对应的页面卡片的操作,在智能眼镜的商品购买页面对应的页面卡片旁显示多选按钮1902。当用户点击多选按钮1902时,手机可以响应于用户点击多选按钮1902的操作,跳转至图19B所示的界面。
图19B为本申请实施例提供的virtual App的应用界面的又一示意图。如图19B所示,用户点击多选按钮1902后,virtual App的应用界面中每个页面卡片后还可以包括一个选择按钮,如:智能眼镜的商品购买页面对应的页面卡片后显示的选择按钮1904,virtual App的应用界面下方还可以包括一个删除按钮1905。用户可以点击其中一个或多个选择按钮,选择相应的页面卡片(如对号为实线表示选中,对号为虚线表示未选中)。之后,用户可以点击删除按钮1905,手机可以响应于用户点击其中一个或多个选择按钮的操作、以及点击删除按钮1905的操作,删除用户选择的页面卡片,以及这些页面卡片对应的page apk。
例如,用户可以点击智能眼镜的商品购买页面对应的页面卡片后的选择按钮1904、以及小说三国演义的阅读页面对应的页面卡片后的选择按钮,然后点击删除按钮1905。手机可以响应于用户的前述操作,删除用户智能眼镜的商品购买页面对应的页面卡片和page1 apk,以及小说三国演义的阅读页面对应的页面卡片和page2 apk。
通过这种方式可以提高用户主动移除页面卡片和page apk的效率。
可选地,请继续参考图19B所示,virtual App的应用界面中还可以包括一个全选按钮1906,用户也可以点击全选按钮1906对所有的页面卡片进行选择。当用户点击全选按钮1906,并点击删除按钮1905时,手机可以响应于该操作,删除所有的页面卡片和page apk。
一种实现方式中,上述删除page apk、以及页面卡片的功能,也可以由virtual App中的base apk实现。base apk可以维护一个page info的表,该page info的表中可以包括所有page apk的标识信息(如page ID)。该page info的表可以用于建立页面卡片和page apk之间的映射关系,当触发某个页面卡片的删除操作时,base apk可以查找该page info的表,从page info的表中删除页面卡片对应的page apk的标识信息,并删除对应的page apk。应当理解,当有新的page apk被下载下来时,base apk可以在page info的表中写入新下载的page apk的标识信息。也即,base apk可以基于page info的表对page apk进行管理。
上述用户点击长按页面卡片、并点击删除按钮1902的操作,或者,用户点击长按页面卡片、并依次选择页面卡片以及点击删除按钮1905的操作,均为用户删除页面卡片的操作。本申请中,用户删除页面卡片的操作可以称为第四操作。
可选地,本申请实施例中,第三页面的提供方在根据第三方页面制作第一文件时,可以生成第一文件的校验信息。第三方页面的提供方可以将第一文件的校验信息与第一文件的标识信息一并写入NFC标签,以及将第一文件的校验信息与第一文件一并上传到第一平台。手机与NFC标签进行第一交互操作时,可以获取到NFC标签中包含的第一文件的标识信息、以及第一文件的校验信息。手机可以通过virtual App,根据第一文件的标识信息从第一平台中下载第一文件、以及第一文件的校验信息。手机从第一平台中下载第一文件、以及第一文件的校验信息后,可以先校验NFC标签中包含的第一文件的校验信息与从第一平台中下载的第一文件的校验信息是否一致。当二者一致时,手机通过virtual App缓存第一文件,并根据第一文件显示第三方页面。当二者不一致时,手机通过virtual App删除第一文件,并通过virtual App的应用界面显示第二提示信息。第二提示信息用于提示用户第一文件校验失败。例如,第二提示信息可以包括:“第一文件校验失败”、“第一文件可能被损坏或篡改”等,本申请对第二提示信息的具体内容不作限制。
其中,第一文件的校验信息可以包括第一文件的校验签名、包名等,在此也不作限制。
举例说明,以第一平台为应用市场,第一文件为上述page2 apk为例,应用市场中可以包括page2 apk、以及page2 apk的校验信息。NFC标签中可以包括page2 apk的标识信息、以及page2 apk的校验信息。手机与NFC标签进行第一交互操作,可以获取到NFC标签中包含的page2 apk的标识信息、以及page2 apk的校验信息。然后,手机可以通过virtual App,根据page2 apk的标识信息向应用市场发送page2 apk的下载请求。应用市场可以根据page2 apk的下载请求,向手机下发page2 apk、以及page2apk的校验信息。手机接收到page2 apk、以及page2 apk的校验信息后,可以先校验应用市场下发的page2 apk的校验信息与NFC标签中包含的page2 apk的校验信息是否一致。当二者一致时,手机通过virtual App缓存page2 apk,并根据page2 apk显示page2。当二者不一致时,手机通过virtual App删除page2 apk,并通过virtual App的应用界面提示用户:“page2 apk校验失败”。
需要说明的是,上述校验方式仅为示例性说明,本申请对第一文件的校验方式并不作限制。
例如,其他一些实施例中,第三页面的提供方在根据第三方页面制作第一文件时,也可以使用加密算法对第一文件进行加密,并生成第一文件的密钥,该密钥可以对加密后的第一文件进行解密。第三方页面的提供方可以将第一文件的密钥与第一文件的标识信息一并写入NFC标签,以及将加密后的第一文件上传到第一平台。手机与NFC标签进行第一交互操作时,可以获取到NFC标签中包含的第一文件的标识信息、以及第一文件的密钥。手机可以通过virtual App,根据第一文件的标识信息从第一平台中下载加密后的第一文件。手机从第一平台中下载加密后的第一文件后,需要先使用NFC标签中包含的第一文件的密钥对第一文件进行解密。当解密成功时,手机通过virtual App缓存第一文件,并根据第一文件显示第三方页面。当解密失败时,手机通过virtual App删除第一文件,并通过virtual App的应用界面显示第二提示信息,第二提示信息参考前述实施例中所述。
可选地,上述手机对第一文件进行校验的功能,也可以通过virtual App中的页面管理模块(如上述base apk)实现。
可选地,本申请实施例中,第一文件只包含对应的第三方页面的显示相关的内容。第一文件的包较小,目前的手机移动数据网速在下载第一文件时可以做到ms级别的下载时间。
以上实施例中,主要以第一应用为virtual App,第一对象为NFC标签,第一平台为应用市场为例,对本申请实施例提供的页面展示方法的具体实现过程进行了示例性说明。
可选地,本申请另外一些实施例中,终端设备还可以包括第一模块,第三方页面的提供方还可以预先将第一文件上传第一模块中(第一文件包括第一文件的标识信息)。当手机与NFC标签进行第一交互操作,获取到NFC标签中包含的第一文件的标识信息后,手机可以根据第一文件的标识信息直接从第一模块中直接拉起对应的第一文件,并根据第一文件显示对应的第三方页面。
例如,第一模块可以是华为移动核心服务(huawei mobile services core,HMS core)时,在前述实施例的基础上,第三方页面的提供方还可以预先将第一文件上传至HMS core中(第一文件包括第一文件的标识信息)。当手机与NFC标签进行第一交互操作,获取到NFC标签中包含的第一文件的标识信息后,手机可以根据第一文件的标识信息从HMS core中直接拉起对应的第一文件,并根据第一文件显示对应的第三方页面。
同样以手机的操作系统为安卓TM系统、第一文件的格式为apk格式为例,图20为本申请实施例提供的上传第一文件至HMS core的示意图。如图20所示,第三方页面的提供方可以包括商家1、商家2、…、商家N(N为大于0的整数)。其中,商家1可以提供的第三方页面为page1,商家1根据page1制作的第一文件可以是page1 apk,商家1可以将page1 apk上传至HMS core。商家2可以提供的第三方页面为page2,商家2根据page2制作的第一文件可以是page2 apk,商家2可以将page2 apk上传至HMS core。以此类推,商家N可以提供的第三方页面为pageN,商家N根据pageN制作的第一文件可以是pageN apk,商家N可以将pageN apk上传至HMS core。
当手机与NFC标签进行第一交互操作,获取到NFC标签中包含的page apk的标识信息后,手机可以根据page apk的标识信息从HMS core中直接拉起对应的page apk, 并根据page apk显示对应的page。
示例性地,图21为本申请实施例提供的手机从HMS core中拉起page2 apk的示意图。如图21所示,HMS core中可以预配置一个第一组件,如:page kit。手机可以通过page kit,根据page2 apk的标识信息从HMS core中拉起page2 apk。然后,virtual App中的base apk可以通过反射修改classloader的方式,将HMS core中拉起的page2 apk加载到classloader中,并调用routeractivity跳转显示对应的第三方页面:page2。
相比于前述实施例中手机从应用市场下载page apk后执行跳转的方式,本实施例中,手机直接从HMS Core中拉起page apk后执行跳转的方式,整体耗时更短、效率更高。另外,手机直接从HMS Core中拉起page apk后执行跳转,还可以实现部分场景下的脱网跳转。
可选地,当HMS core中不包括与NFC标签中包含的page apk的标识信息所对应的page apk时,page kit无法根据NFC标签中包含的page apk的标识信息匹配到相应的page apk。此时,手机可以按照前述实施例中所述的方式,通过virtual App从应用市场中下载相应的page apk。
例如,以第一文件为page apk为例,图22为本申请实施例提供的页面展示方法的另一流程示意图。如图22所示,该方法可以包括:S2201-S2204。
S2201、手机与NFC标签进行第一交互操作,获取NFC标签中包含的page apk的标识信息。
S2202、当HMS core中包括与page apk的标识信息对应的page apk时,手机通过page kit,根据page apk的标识信息从HMS core中拉起对应的page apk,并根据page apk显示page。
S2203、当HMS core中不包括与page apk的标识信息对应的page apk时,手机通过virtual App,根据page apk的标识信息从应用市场中下载对应的page apk。
S2204、手机通过virtual App,缓存page apk并根据page apk显示page。
可选地,还有一些实施例中,前述实施例中所述的virtual App中的base apk从应用市场中下载并更新page apk的功能,也可以在HMS core中的page kit上实现。
例如,当手机与NFC标签进行第一交互操作,获取到NFC标签中包含的page apk的标识信息后,HMS core中不包括与NFC标签中包含的page apk的标识信息所对应的page apk时,手机也可以通过page kit根据page apk的标识信息从应用市场中下载相应的page apk。
又例如,图23为本申请实施例提供的page kit从应用市场更新page apk的示意图。如图23所示,假设HMS core中的page kit已经缓存的page1 apk为1.0版本。而应用市场中的page1 apk已经更新到了2.0版本。则,page kit可以按照预设周期在手机后台通过接口去查询应用市场中的page1 apk的版本信息时,及时监听到page1 apk的page状态已经由1.0版本转变为了2.0版本。
当page kit监听到page1 apk的page状态已经由1.0版本转变为了2.0版本时,可以自动从应用市场下载2.0版本的page1 apk,并将HMS core中的1.0版本的page1 apk更新为2.0版本的page1 apk。
对应于前述实施例中所述的页面展示方法,本申请实施例还提供一种页面展示系 统,该页面展示系统可以包括终端设备、服务器、以及第一对象;所述终端设备与服务器连接,所述服务器包括至少一个第一文件,第一文件与第一页面相关;所述第一对象为NFC标签、或包括NFC标签的设备、或二维码标签、或可显示二维码的设备、或与所述终端设备无线通信的第一电子设备。例如,该页面展示系统的结构可以参考上述图4所示的应用场景中包括的结构。该页面展示系统中,终端设备用于执行前述实施例中所述的页面展示方法。
可选地,本申请实施例还提供一种页面展示装置,可以应用于上述终端设备,实现本申请实施例所述的页面展示方法。该装置的功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个与上述功能相对应的模块或单元。例如,图24为本申请实施例提供的页面展示装置的结构示意图。如图24所示,本申请实施例提供的页面展示装置可以包括:交互单元2401,收发单元2402,处理单元2403和显示单元2404。
交互单元2401,用于与第一对象之间进行第一交互操作,获取第一对象中包含的第一文件的标识信息。例如,交互单元2401可以是NFC芯片。
处理单元2403,用于通过收发单元2402,根据第一文件的标识信息从服务器下载对应的第一文件。
处理单元2403,还用于保存第一文件,并通过显示单元2404根据第一文件显示对应的第一页面。
处理单元2403,还用于接收第一操作,并响应于所述第一操作,再次通过显示单元2404显示第一页面。第一操作为用户打开第一页面的操作。
其中,第一对象可以为NFC标签、或包括NFC标签的设备、或二维码标签、或可显示二维码的设备、或与终端设备无线通信的第一电子设备。
示例性地,第一文件中可以包括第一文件的标识信息,第一文件的标识信息可以是第一的页面名称、页面ID等。
第一页面可以是第三方页面,如:第一页面可以包括以下任意一种:商品购买页面、广告页面、网页页面、支付页面、公众号页面、视频展示页面、文章展示页面。
一些实施例中,处理单元2403,还用于通过收发单元2402,根据第一文件的标识信息从服务器获取第一文件是否更新。当第一文件有更新时,处理单元2403通过显示单元2404显示第一文件的更新提醒。
可选地,处理单元2403,还用于接收第二操作,并响应于第二操作,通过收发单元2402,从服务器下载第二文件,并用第二文件替换第一文件。第二文件为对第一文件更新后的文件。
另外一些实施例中,处理单元2403,还用于通过收发单元2402,根据第一文件的标识信息从服务器获取第一文件是否更新。当第一文件有更新时,处理单元2403自动通过收发单元2402从服务器下载第二文件,并用第二文件替换第一文件。第二文件为对第一文件更新后的文件。
可选地,终端设备包括静默升级开关;处理单元2403,具体用于当静默升级开关开启时,自动通过收发单元2402从服务器下载第二文件。
一些实施例中,处理单元2403还用于通过显示单元2404显示第一界面,第一界 面包括第一页面对应的第一卡片;第一卡片包括第一页面的页面标识,和/或,第一页面的页面类型的标识。第一操作为在第一界面点击或触摸第一卡片的操作。
另外一些实施例中,处理单元2403还用于通过显示单元2404显示第一界面,第一界面包括第一文件夹;第一文件夹包括至少一个卡片,第一卡片是至少一个卡片中的一个;第一卡片包括第一页面的页面标识,和/或,第一页面的页面类型的标识。处理单元2403还用于接收第三操作,并响应于第三操作,通过显示单元2404显示第二界面,第二界面包括第一文件夹中的卡片。第三操作为用户打开第一文件夹的操作。第一操作为在第二界面中点击或触摸第一卡片的操作。
可选地,第一文件夹中包括的卡片的页面类型相同;第一界面还包括第二文件夹,第二文件夹包括至少一个卡片;第二文件夹中包括的卡片的页面类型与第一文件夹中包括的卡片的页面类型不同。
可选地,处理单元2403还用于接收第四操作,并响应于第四操作,删除第一卡片、以及第一文件。第四操作为用户删除第一卡片的操作。
可选地,处理单元2403还用于通过显示单元2404显示第三界面,第三界面包括第一界面的启动入口对应的功能控件;第三界面为负一屏、或桌面、或下拉界面。处理单元2403接收第五操作,并响应于第五操作,通过显示单元2404显示第一界面。第五操作为用户点击第一界面的启动入口对应的功能控件的操作。
一些实施例中,服务器和第一对象中还分别包括第一文件的校验信息;交互单元2401具体用于与第一对象之间进行第一交互操作,获取第一对象中包含的第一文件的标识信息、以及第一文件的校验信息。
处理单元2403具体用于,通过收发单元2402根据第一文件的标识信息,从服务器下载对应的第一文件、以及第一文件的校验信息。当处理单元2403校验得到从服务器下载的第一文件的校验信息,与第一对象中包含的第一文件的校验信息一致时,处理单元2403保存第一文件,并通过显示单元2404根据第一文件显示对应的第一页面。
第一文件的校验信息可以包括第一文件的校验签名、包名等。
可选地,当处理单元2403校验得到从服务器下载的第一文件的校验信息,与第一对象中包含的第一文件的校验信息不一致时,处理单元2403通过显示单元2404显示第一文件校验失败的提示信息。
另外一些实施例中,服务器包括的第一文件为加密后的文件;第一对象还包括第一文件的密钥。交互单元2401具体用于与第一对象之间进行第一交互操作,获取第一对象中包含的第一文件的标识信息、以及第一文件的密钥。
当处理单元2403能够根据第一对象中包含的第一文件的密钥,对第一文件进行解密时,保存第一文件,并通过显示单元2404根据第一文件显示对应的第一页面。
可选地,终端设备包括第一模块;第一模块包括至少一个第一文件,第一文件与第一页面相关;处理单元2403,还用于当第一模块包括与第一文件的标识信息对应的第一文件时,从第一模块中直接拉起对应的第一文件,并通过显示单元2404根据第一文件显示对应的第一页面。
例如,第一模块可以为华为移动核心服务(huawei mobile services core,HMS core)。
可选地,处理单元2403具体用于,当第一模块不包括与第一文件的标识信息对应 的第一文件时,通过收发单元2402根据第一文件的标识信息从服务器下载对应的第一文件。
可以理解的,通过该页面展示装置,可以实现本申请前述实施例所述的页面展示方法对应的全部功能,在此不再一一赘述。
应理解以上装置中单元(或称为模块)的划分仅仅是一种逻辑功能的划分,实际实现时可以全部或部分集成到一个物理实体上,也可以物理上分开。且装置中的单元可以全部以软件通过处理元件调用的形式实现;也可以全部以硬件的形式实现;还可以部分单元以软件通过处理元件调用的形式实现,部分单元以硬件的形式实现。
例如,各个单元可以为单独设立的处理元件,也可以集成在装置的某一个芯片中实现,此外,也可以以程序的形式存储于存储器中,由装置的某一个处理元件调用并执行该单元的功能。此外这些单元全部或部分可以集成在一起,也可以独立实现。这里所述的处理元件又可以称为处理器,可以是一种具有信号的处理能力的集成电路。在实现过程中,上述方法的各步骤或以上各个单元可以通过处理器元件中的硬件的集成逻辑电路实现或者以软件通过处理元件调用的形式实现。
在一个例子中,以上装置中的单元可以是被配置成实施以上方法的一个或多个集成电路,例如:一个或多个专用集成电路(application specific integrated circuit,ASIC),或,一个或多个数字信号处理器(digital signal process,DSP),或,一个或者多个现场可编辑逻辑门阵列(field programmable gate array,FPGA),或这些集成电路形式中至少两种的组合。
再如,当装置中的单元可以通过处理元件调度程序的形式实现时,该处理元件可以是通用处理器,例如中央处理器(central processing unit,CPU)或其它可以调用程序的处理器。再如,这些单元可以集成在一起,以片上系统(system-on-a-chip,SOC)的形式实现。
在一种实现中,以上装置实现以上方法中各个对应步骤的单元可以通过处理元件调度程序的形式实现。例如,该装置可以包括处理元件和存储元件,处理元件调用存储元件存储的程序,以执行以上方法实施例所述的方法。存储元件可以为与处理元件处于同一芯片上的存储元件,即片内存储元件。
在另一种实现中,用于执行以上方法的程序可以在与处理元件处于不同芯片上的存储元件,即片外存储元件。此时,处理元件从片外存储元件调用或加载程序于片内存储元件上,以调用并执行以上方法实施例所述的方法。
例如,本申请实施例还可以提供一种装置,如:电子设备,可以包括:处理器;存储器;以及计算机程序;其中,所述计算机程序存储在所述存储器上,当所述计算机程序被所述处理器执行时,使得所述电子设备实现如前述实施例所述的页面展示方法。该存储器可以位于该电子设备之内,也可以位于该电子设备之外。且该处理器包括一个或多个。
该电子设备可以是手机、平板电脑、可穿戴设备(例如智能手表、智能手环器等)、车载设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)等。
在又一种实现中,该装置实现以上方法中各个步骤的单元可以是被配置成一个或多个处理元件,这里的处理元件可以为集成电路,例如:一个或多个ASIC,或,一个或多个DSP,或,一个或者多个FPGA,或者这些类集成电路的组合。这些集成电路可以集成在一起,构成芯片。
例如,本申请实施例还提供一种芯片,该芯片可以应用于上述电子设备。芯片包括一个或多个接口电路和一个或多个处理器;接口电路和处理器通过线路互联;处理器通过接口电路从电子设备的存储器接收并执行计算机指令,以实现如前述实施例所述的页面展示方法。
本申请实施例还提供一种计算机程序产品,包括计算机可读代码,当计算机可读代码在电子设备中运行时,使得电子设备实现如前述实施例所述的页面展示方法。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。
基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,如:程序。该软件产品存储在一个程序产品,如计算机可读存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
例如,本申请实施例还可以提供一种计算机可读存储介质,所述计算机可读存储介质包括计算机程序,当所述计算机程序在电子设备上运行时,使得所述电子设备实现如前述实施例所述的页面展示方法。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任 何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (23)

  1. 一种页面展示方法,其特征在于,所述方法应用于终端设备,所述终端设备与服务器连接,所述服务器包括至少一个第一文件,第一文件与第一页面相关;所述方法包括:
    所述终端设备与第一对象之间进行第一交互操作,获取所述第一对象中包含的第一文件的标识信息,所述第一对象为NFC标签、或包括NFC标签的设备、或二维码标签、或可显示二维码的设备、或与所述终端设备无线通信的第一电子设备;
    所述终端设备根据所述第一文件的标识信息,从所述服务器下载对应的第一文件;
    所述终端设备保存所述第一文件,并根据所述第一文件显示对应的第一页面;
    所述终端设备接收第一操作,所述第一操作为用户打开所述第一页面的操作;
    响应于所述第一操作,所述终端设备再次显示所述第一页面。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    所述终端设备根据所述第一文件的标识信息,从所述服务器获取所述第一文件是否更新;
    当所述第一文件有更新时,所述终端设备显示所述第一文件的更新提醒。
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:
    所述终端设备接收第二操作;
    所述终端设备响应于所述第二操作,从所述服务器下载第二文件,所述第二文件为对所述第一文件更新后的文件;
    所述终端设备用所述第二文件替换所述第一文件。
  4. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    所述终端设备根据所述第一文件的标识信息,从所述服务器获取所述第一文件是否更新;
    当所述第一文件有更新时,所述终端设备自动从所述服务器下载第二文件,所述第二文件为对所述第一文件更新后的文件;
    所述终端设备用所述第二文件替换所述第一文件。
  5. 根据权利要求4所述的方法,其特征在于,所述终端设备包括静默升级开关;所述终端设备自动从所述服务器下载第二文件,包括:
    当所述静默升级开关开启时,所述终端设备自动从所述服务器下载第二文件。
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述终端设备保存所述第一文件之后,所述方法还包括:
    所述终端设备显示第一界面,所述第一界面包括第一卡片;所述第一卡片与所述第一页面关联;所述第一卡片包括所述第一页面的页面标识,和/或,所述第一页面的页面类型的标识;
    所述第一操作为在所述第一界面点击或触摸所述第一卡片的操作。
  7. 根据权利要求1-5任一项所述的方法,其特征在于,所述终端设备保存所述第一文件之后,所述方法还包括:
    所述终端设备显示第一界面,所述第一界面包括第一文件夹;所述第一文件夹包括至少一个卡片,所述至少一个卡片中包括第一卡片;所述第一卡片与所述第一页面 关联;所述第一卡片包括所述第一页面的页面标识,和/或,所述第一页面的页面类型的标识;
    所述终端设备接收第三操作,所述第三操作为用户打开所述第一文件夹的操作;
    所述终端设备响应于所述第三操作,显示第二界面,所述第二界面包括所述第一文件夹中的卡片;
    所述第一操作为在所述第二界面中点击或触摸所述第一卡片的操作。
  8. 根据权利要求7所述的方法,其特征在于,所述第一文件夹中包括的卡片的页面类型相同;
    所述第一界面还包括第二文件夹,所述第二文件夹包括至少一个卡片;所述第二文件夹中包括的卡片的页面类型与所述第一文件夹中包括的卡片的页面类型不同。
  9. 根据权利要求6-8任一项所述的方法,其特征在于,所述方法还包括:
    所述终端设备接收第四操作,所述第四操作为用户删除所述第一卡片的操作;
    所述终端设备响应于所述第四操作,删除所述第一卡片、以及所述第一文件。
  10. 根据权利要求6-9任一项所述的方法,其特征在于,所述终端设备显示第一界面之前,所述方法还包括:
    所述终端设备显示第三界面,所述第三界面包括所述第一界面的启动入口对应的功能控件;所述第三界面为负一屏、或桌面、或下拉界面;
    所述终端设备显示第一界面,包括:
    所述终端设备接收第五操作,所述第五操作为用户点击所述第一界面的启动入口对应的功能控件的操作;
    所述终端设备响应于所述第五操作,显示所述第一界面。
  11. 根据权利要求1-10任一项所述的方法,其特征在于,所述第一页面包括以下任意一种:商品购买页面、广告页面、网页页面、支付页面、公众号页面、视频展示页面、文章展示页面。
  12. 根据权利要求1-11任一项所述的方法,其特征在于,所述服务器和所述第一对象中还分别包括第一文件的校验信息;所述终端设备与第一对象之间进行第一交互操作,获取所述第一对象中包含的第一文件的标识信息,包括:
    所述终端设备与第一对象之间进行第一交互操作,获取所述第一对象中包含的第一文件的标识信息、以及第一文件的校验信息;
    所述终端设备根据所述第一文件的标识信息,从所述服务器下载对应的第一文件,包括:
    所述终端设备根据所述第一文件的标识信息,从所述服务器下载对应的第一文件、以及第一文件的校验信息;
    所述终端设备保存所述第一文件,并根据所述第一文件显示对应的第一页面,包括:
    当所述终端设备校验得到从所述服务器下载的第一文件的校验信息,与所述第一对象中包含的第一文件的校验信息一致时,所述终端设备保存所述第一文件,并根据所述第一文件显示对应的第一页面。
  13. 根据权利要求12所述的方法,其特征在于,所述方法还包括:
    当所述终端设备校验得到从所述服务器下载的第一文件的校验信息,与所述第一对象中包含的第一文件的校验信息不一致时,所述终端设备显示所述第一文件校验失败的提示信息。
  14. 根据权利要求1-11任一项所述的方法,其特征在于,所述服务器包括的第一文件为加密后的文件;所述第一对象还包括第一文件的密钥;
    所述终端设备与第一对象之间进行第一交互操作,获取所述第一对象中包含的第一文件的标识信息,包括:
    所述终端设备与第一对象之间进行第一交互操作,获取所述第一对象中包含的第一文件的标识信息、以及第一文件的密钥;
    所述终端设备保存所述第一文件,并根据所述第一文件显示对应的第一页面,包括:
    当所述终端设备能够根据所述第一对象中包含的第一文件的密钥,对所述第一文件进行解密时,所述终端设备保存所述第一文件,并根据所述第一文件显示对应的第一页面。
  15. 根据权利要求1-14任一项所述的方法,其特征在于,所述终端设备包括第一模块;所述第一模块包括至少一个第一文件,第一文件与第一页面相关;
    所述终端设备与第一对象之间进行第一交互操作,获取所述第一对象中包含的第一文件的标识信息之后,所述方法还包括:
    当所述第一模块包括与所述第一文件的标识信息对应的第一文件时,所述终端设备从所述第一模块中直接拉起对应的所述第一文件,并根据所述第一文件显示对应的第一页面;
    所述终端设备根据所述第一文件的标识信息,从所述服务器下载对应的第一文件,包括:
    当所述第一模块不包括与所述第一文件的标识信息对应的第一文件时,所述终端设备根据所述第一文件的标识信息,从所述服务器下载对应的第一文件。
  16. 一种电子设备,其特征在于,包括:处理器;存储器;以及计算机程序;其中,所述计算机程序存储在所述存储器上,当所述计算机程序被所述处理器执行时,使得所述电子设备实现如权利要求1-15任一项所述的方法。
  17. 一种计算机可读存储介质,所述计算机可读存储介质包括计算机程序,其特征在于,当所述计算机程序在电子设备上运行时,使得所述电子设备实现如权利要求1-15任一项所述的方法。
  18. 一种页面展示系统,其特征在于,包括:终端设备、服务器、以及第一对象;所述终端设备与服务器连接,所述服务器包括至少一个第一文件,第一文件与第一页面相关;所述第一对象为NFC标签、或包括NFC标签的设备、或二维码标签、或可显示二维码的设备、或与所述终端设备无线通信的第一电子设备;
    当所述终端设备与所述第一对象之间进行第一交互操作时:
    所述终端设备获取所述第一对象中包含的第一文件的标识信息;
    所述终端设备根据所述第一文件的标识信息,从所述服务器下载对应的第一文件;
    所述终端设备保存所述第一文件,并根据所述第一文件显示对应的第一页面;
    所述终端设备接收第一操作,所述第一操作为用户打开所述第一页面的操作;
    响应于所述第一操作,所述终端设备再次显示所述第一页面。
  19. 根据权利要求18所述的系统,其特征在于,所述终端设备还用于,根据所述第一文件的标识信息,从所述服务器获取所述第一文件是否更新;当所述第一文件有更新时,显示所述第一文件的更新提醒。
  20. 根据权利要求19所述的系统,其特征在于,所述终端设备还用于,接收第二操作,响应于所述第二操作从所述服务器下载第二文件,所述第二文件为对所述第一文件更新后的文件;并用所述第二文件替换所述第一文件。
  21. 根据权利要求18-20任一项所述的系统,其特征在于,所述终端设备还用于,显示第一界面,所述第一界面包括第一卡片;所述第一卡片与所述第一页面关联;所述第一卡片包括所述第一页面的页面标识,和/或,所述第一页面的页面类型的标识;
    所述第一操作为在所述第一界面点击或触摸所述第一卡片的操作。
  22. 根据权利要求21所述的系统,其特征在于,所述终端设备还用于,接收第四操作,所述第四操作为用户删除所述第一卡片的操作;响应于所述第四操作,删除所述第一卡片、以及所述第一文件。
  23. 根据权利要求21或22所述的系统,其特征在于,所述终端设备还用于,显示第三界面,所述第三界面包括所述第一界面的启动入口对应的功能控件;所述第三界面为负一屏、或桌面、或下拉界面;
    所述终端设备,具体用于接收第五操作,所述第五操作为用户点击所述第一界面的启动入口对应的功能控件的操作;响应于所述第五操作,显示所述第一界面。
PCT/CN2022/089108 2021-04-30 2022-04-25 页面展示方法及装置 Ceased WO2022228403A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US18/558,127 US12468495B2 (en) 2021-04-30 2022-04-25 Page display method and apparatus
EP22794873.4A EP4318258A4 (en) 2021-04-30 2022-04-25 PAGE DISPLAY METHOD AND APPARATUS

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110486390.8 2021-04-30
CN202110486390.8A CN115270015A (zh) 2021-04-30 2021-04-30 页面展示方法及装置

Publications (1)

Publication Number Publication Date
WO2022228403A1 true WO2022228403A1 (zh) 2022-11-03

Family

ID=83745001

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/089108 Ceased WO2022228403A1 (zh) 2021-04-30 2022-04-25 页面展示方法及装置

Country Status (4)

Country Link
US (1) US12468495B2 (zh)
EP (1) EP4318258A4 (zh)
CN (1) CN115270015A (zh)
WO (1) WO2022228403A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119311181A (zh) * 2023-11-17 2025-01-14 中国工商银行股份有限公司 分屏显示方法、装置、设备、存储介质和程序产品

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116523207A (zh) * 2023-04-07 2023-08-01 北京建工集团有限责任公司 一种建设工程信息管理方法、装置、设备及可读介质
CN118503545B (zh) * 2024-07-17 2024-12-03 北京达佳互联信息技术有限公司 信息推送方法及装置、电子设备、存储介质、计算机程序
US20260106013A1 (en) * 2024-10-16 2026-04-16 Shl Medical Ag Medication container with applet-based drug delivery parameter configuration
CN119904278B (zh) * 2025-03-28 2025-10-03 支付宝(杭州)信息技术有限公司 一种显示信息的方法、装置、设备及介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102665127A (zh) * 2012-04-23 2012-09-12 中山大学 一种数字电视的浏览器系统
CN102831186A (zh) * 2012-08-02 2012-12-19 深圳市同洲电子股份有限公司 一种存储及查找网页的方法及装置
CN102917023A (zh) * 2012-09-19 2013-02-06 腾讯科技(深圳)有限公司 一种基于二维码访问网页的方法和移动终端
US20140164149A1 (en) * 2012-12-07 2014-06-12 Danny Ray Huff Computerized Product Marketing and Promotional Method and System Using Two-Dimensional Code
CN104318194A (zh) * 2014-09-28 2015-01-28 美的集团武汉制冷设备有限公司 基于二维码的访问家电的页面的方法、服务器及移动终端

Family Cites Families (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5978828A (en) * 1997-06-13 1999-11-02 Intel Corporation URL bookmark update notification of page content or location changes
CN2925294Y (zh) 2006-07-22 2007-07-25 吴乃丰 自动吸水杯
CN201422690Y (zh) 2009-04-14 2010-03-17 赵轶楠 一种内置吸管的饮料杯
US10958740B2 (en) * 2011-03-03 2021-03-23 Life In Mobile Innovations, Inc. Method and apparatus for dynamically presenting content using an interface for setting conditional network destinations
US9826049B2 (en) * 2011-03-03 2017-11-21 Life In Mobile Innovations, Inc. Method and apparatus for dynamically presenting content using an interface for setting conditional network destinations
GB201109339D0 (en) * 2011-06-03 2011-07-20 Firestorm Lab Ltd Computing device interface
US20130090131A1 (en) * 2011-10-08 2013-04-11 Thinglink Oy Nfc tag location
US8954004B1 (en) * 2012-09-20 2015-02-10 Trend Micro Incorporated Systems and methods for accessing websites using smartphones
CN102902761B (zh) * 2012-09-25 2015-07-15 腾讯科技(深圳)有限公司 一种跨终端的云浏览方法及系统
US20140093171A1 (en) * 2012-10-02 2014-04-03 Michael Archuleta System and method for generating machine readable medium
US9451389B2 (en) * 2012-10-21 2016-09-20 Kadeer Beg Methods and systems for communicating greeting and informational content using NFC devices
US9208494B2 (en) * 2013-06-13 2015-12-08 Tamarian Carpets, Llc Code based product tracking methods and apparatus
US11182821B2 (en) * 2013-07-26 2021-11-23 Exxcelon Corporation System and method of saving deal offers to be applied at a point-of-sale (POS) of a retail store
US20150310421A1 (en) * 2014-04-23 2015-10-29 Rfcyber Corporation Electronic payment transactions without POS terminals
US10055505B2 (en) * 2015-09-22 2018-08-21 International Business Machines Corporation Maintaining continuous access to web content
GB2552931A (en) * 2016-07-21 2018-02-21 Moo Print Ltd Business card with associated digital content
CN107329985B (zh) * 2017-05-31 2021-01-12 北京安云世纪科技有限公司 一种页面的收藏方法、装置和移动终端
CN110008423B (zh) * 2017-08-25 2023-01-06 腾讯科技(深圳)有限公司 动态网页页面的离线处理方法、输出终端及存储介质
CN107578296A (zh) * 2017-09-08 2018-01-12 上海巧夺网络科技有限公司 广告播放设备、广告发布和运营系统
US11418621B2 (en) * 2018-09-21 2022-08-16 Microsoft Technology Licensing, Llc Cloud-based composable data layer
CN109408086A (zh) * 2018-09-28 2019-03-01 平安普惠企业管理有限公司 App的界面更新方法、装置、计算机设备及存储介质
CN111127032A (zh) * 2018-10-31 2020-05-08 黄世纬 一种运用于商品原材料溯源的系统及方法
US11652689B2 (en) * 2019-04-25 2023-05-16 Elo Touch Solutions, Inc. Zero touch deployment and dynamic configuration
US11250414B2 (en) * 2019-08-02 2022-02-15 Omnyway, Inc. Cloud based system for engaging shoppers at or near physical stores
US11468432B2 (en) * 2019-08-09 2022-10-11 Omnyway, Inc. Virtual-to-physical secure remote payment to a physical location
CN110391914B (zh) * 2019-09-18 2019-12-31 尤尼泰克(嘉兴)信息技术有限公司 一种基于二维码的文件获取方法及设备、二维码生成方法
CN111061540B (zh) 2019-11-27 2023-05-23 北京计算机技术及应用研究所 一种基于容器技术的应用虚拟化方法及系统
US20220188804A1 (en) * 2020-12-14 2022-06-16 Strike Technology Limited Method and system for facilitating mobile contactless payments

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102665127A (zh) * 2012-04-23 2012-09-12 中山大学 一种数字电视的浏览器系统
CN102831186A (zh) * 2012-08-02 2012-12-19 深圳市同洲电子股份有限公司 一种存储及查找网页的方法及装置
CN102917023A (zh) * 2012-09-19 2013-02-06 腾讯科技(深圳)有限公司 一种基于二维码访问网页的方法和移动终端
US20140164149A1 (en) * 2012-12-07 2014-06-12 Danny Ray Huff Computerized Product Marketing and Promotional Method and System Using Two-Dimensional Code
CN104318194A (zh) * 2014-09-28 2015-01-28 美的集团武汉制冷设备有限公司 基于二维码的访问家电的页面的方法、服务器及移动终端

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4318258A4

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119311181A (zh) * 2023-11-17 2025-01-14 中国工商银行股份有限公司 分屏显示方法、装置、设备、存储介质和程序产品

Also Published As

Publication number Publication date
EP4318258A4 (en) 2024-06-12
US12468495B2 (en) 2025-11-11
EP4318258A1 (en) 2024-02-07
US20240220177A1 (en) 2024-07-04
CN115270015A (zh) 2022-11-01

Similar Documents

Publication Publication Date Title
WO2022228403A1 (zh) 页面展示方法及装置
WO2020211709A1 (zh) 一种添加批注的方法及电子设备
CN112347048B (zh) 电子装置及其共享数据的方法
CN111045969A (zh) 利用用户移动设备的附件设备操作
CN106339405A (zh) 用于显示网络内容的方法和支持其的电子装置
WO2023109764A1 (zh) 一种壁纸显示方法及电子设备
CN111680232A (zh) 页面展示方法、装置、设备以及存储介质
WO2022194010A1 (zh) 应用程序的分享方法和分享装置
CN115729495A (zh) 一种显示方法、装置、设备及存储介质
CN114816463B (zh) 升级提示方法、终端设备及计算机可读存储介质
WO2022111664A1 (zh) 打补丁的方法、相关设备及系统
WO2022160999A1 (zh) 显示方法和电子设备
WO2021197242A1 (zh) 复制粘贴的方法、电子设备及系统
WO2026056659A1 (zh) 数据传输的方法、系统和电子设备
WO2022179319A1 (zh) 媒体资源收藏方法、电子设备及存储介质
WO2023160512A1 (zh) 应用程序推广方法、相关装置及通信系统
CN116048830A (zh) 提醒软件版本升级的方法、电子设备及可读存储介质
WO2024041367A1 (zh) 一种广告展示的方法、终端、服务器及系统
CN115576623A (zh) 一种应用程序启动方法及装置
CN114138293A (zh) 一种终端及外接存储卡便携系统升级方法
CN117707563B (zh) 应用资源处理方法及相关设备
US20250190089A1 (en) Visualization method for application icon and device
CN119903488A (zh) 一种卡片渲染的方法及装置
CN119536612A (zh) 窗口的显示方法及电子设备
WO2025139399A1 (zh) 一种处理推送消息的方法以及电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22794873

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2022794873

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 18558127

Country of ref document: US

ENP Entry into the national phase

Ref document number: 2022794873

Country of ref document: EP

Effective date: 20231025

NENP Non-entry into the national phase

Ref country code: DE

WWG Wipo information: grant in national office

Ref document number: 18558127

Country of ref document: US