CN116108070A - Method and device for opening equipment detail page, storage medium and electronic device - Google Patents

Method and device for opening equipment detail page, storage medium and electronic device Download PDF

Info

Publication number
CN116108070A
CN116108070A CN202310104251.3A CN202310104251A CN116108070A CN 116108070 A CN116108070 A CN 116108070A CN 202310104251 A CN202310104251 A CN 202310104251A CN 116108070 A CN116108070 A CN 116108070A
Authority
CN
China
Prior art keywords
target application
equipment
opening
application
detail page
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.)
Pending
Application number
CN202310104251.3A
Other languages
Chinese (zh)
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.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Haier Uplus Intelligent Technology Beijing Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Haier Uplus Intelligent Technology Beijing 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 Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd, Haier Uplus Intelligent Technology Beijing Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202310104251.3A priority Critical patent/CN116108070A/en
Publication of CN116108070A publication Critical patent/CN116108070A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0029Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement being specially adapted for wireless interrogation of grouped or bundled articles tagged with wireless record carriers

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses an opening method and device of a device detail page, a storage medium and an electronic device, and relates to the technical field of smart families, wherein the opening method of the device detail page comprises the following steps: receiving a download address sent by a first device and device information of the first device under the condition that the first device and a second device interact through Near Field Communication (NFC), wherein the download address is used for downloading a target application corresponding to the first device, and the device information comprises: application ID, device model code; determining whether the second device has installed the target application according to the application ID, and downloading the target application according to the download address under the condition that the second device is determined to not install the target application; acquiring a device list from a device server, and searching a device ID in the device list, wherein the device list is used for storing the device ID of the bound device; and opening a device detail page of the first device according to the device model code under the condition that the device ID included in the device information is found.

Description

Method and device for opening equipment detail page, storage medium and electronic device
Technical Field
The application relates to the technical field of smart families, in particular to a method and a device for opening a device detail page, a storage medium and an electronic device.
Background
The home appliance control app will now place the NFC chip on the home appliance or other accessory. When the user touches the NFC chip, the app can perform some processing, such as starting the app, entering a device binding procedure and the like; however, the application of NFC functionality in the prior art is not complete.
Aiming at the problems that in the prior art, the application of NFC functions is incomplete, a set of complete NFC function solutions is lacked, and the like, no effective solution is proposed yet.
Disclosure of Invention
The embodiment of the invention provides a method and a device for opening a device detail page, a storage medium and an electronic device, which at least solve the problems that the application of NFC functions is incomplete and a complete NFC function solution is lacking in the prior art.
According to an embodiment of the present invention, there is provided a method for opening a device detail page, including: receiving a download address sent by a first device and device information of the first device under the condition that the first device and a second device interact through Near Field Communication (NFC), wherein the download address is used for downloading a target application corresponding to the first device, and the device information comprises: application ID, device model code; determining whether the second device has installed the target application according to the application ID, and downloading the target application according to the download address under the condition that the second device is determined not to install the target application; acquiring a device list from a device server, and searching the device ID in the device list, wherein the device list is used for storing the device ID of the bound device; and opening a device detail page of the first device according to the device model code under the condition that the device ID included in the device information is searched.
In one exemplary embodiment, determining whether the second device has installed the target application according to the application ID includes: acquiring an identification information list stored by the second device, wherein the identification information list is used for storing identification information of the application installed by the second device; searching the application ID in the identification information list; determining that the second device has installed the target application if the application ID is found; and under the condition that the application ID is not found, determining that the target application is not installed by the second equipment.
In an exemplary embodiment, in a case where it is determined that the second device does not install the target application, downloading the target application according to the download address includes: calling a preset browser of the second device; and accessing the downloading address through the preset browser to instruct the first object to download the target application according to the downloading address.
In an exemplary embodiment, after determining whether the second device has installed the target application according to the application ID, the method further includes: acquiring identification information of a first object from the target application; and opening a first preset page of the target application under the condition that the identification information of the first object is not acquired from the target application, wherein the first preset page is used for indicating the first object to input the identification information of the first object.
In an exemplary embodiment, obtaining a device list from a device server and searching the device ID in the device list includes: acquiring a device list of a second object from the device server according to the identification information of the first object, wherein the second object and the first object are both positioned in the same home account; and under the condition that the equipment ID is not found, opening a second preset page of the target application according to the equipment model code, and binding the second preset page with the first equipment according to the identification information of the first object.
In an exemplary embodiment, in a case where the device ID included in the device information is found, opening a device detail page of the first device according to the device model code, including: acquiring a device object corresponding to the device ID, wherein the device object is used for indicating whether the target application is ready to succeed; under the condition that the equipment object is acquired, determining whether the target application needs to update a resource package according to the equipment model code; and opening the device detail page of the first device according to the device model code under the condition that the target application does not need to update the resource package.
In an exemplary embodiment, after determining whether the target application needs to update a resource package according to the device model code, the method further includes: downloading the updated resource package under the condition that the target application needs to update the resource package; and importing the updated resource package, and opening the equipment detail page indicated by the updated resource package according to the equipment model code.
According to another embodiment of the present invention, there is also provided an apparatus for opening a device detail page, including: the device comprises a receiving module, a receiving module and a processing module, wherein the receiving module is used for receiving a download address sent by a first device and device information of the first device under the condition that the first device and a second device interact through near field communication NFC, the download address is used for downloading a target application corresponding to the first device, and the device information comprises: application ID, device model code; a downloading module, configured to determine, according to the application ID, whether a second device has installed the target application, and in case it is determined that the second device has not installed the target application, download the target application according to the download address; the device comprises an acquisition module, a storage module and a storage module, wherein the acquisition module is used for acquiring a device list from a device server and searching the device ID in the device list, wherein the device list is used for storing the device ID of the bound device; and the opening module is used for opening the equipment detail page of the first equipment according to the equipment model code under the condition that the equipment ID included in the equipment information is searched.
According to a further aspect of the embodiments of the present invention, there is also provided a computer readable storage medium having a computer program stored therein, wherein the computer program is configured to perform the above-described method of opening a device detail page when run.
According to still another aspect of the embodiment of the present invention, there is further provided an electronic apparatus including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the above-mentioned method for opening the device detail page through the computer program.
In the embodiment of the application, when the first device and the second device interact through Near Field Communication (NFC), a download address sent by the first device and device information of the first device are received, wherein the download address is used for downloading a target application corresponding to the first device, and the device information comprises an application ID, the device ID and a device model code; determining whether the second device has installed the target application according to the application ID, and downloading and installing the target application according to the download address under the condition that the second device is determined to not install the target application; then obtaining a device list for storing the device IDs of the bound devices from the device server, and searching the device IDs in the device list; opening a device detail page of the first device according to a device model code under the condition of searching the device ID; by adopting the technical scheme, the problems that the NFC function is not fully applied and a complete NFC function solution is lacked in the related technology are solved; the technical effect of providing a complete set of home appliance app with a solution of NFC function is achieved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a schematic diagram of a hardware environment of an alternative method of opening a device detail page according to an embodiment of the present application;
FIG. 2 is a flow chart of an alternative method of opening a device detail page according to an embodiment of the invention;
FIG. 3 is a flow chart of an alternative device binding method according to an embodiment of the invention;
FIG. 4 is a flow chart of an alternative method of opening a device detail page according to an embodiment of the invention;
fig. 5 is a block diagram of the structure of an alternative device detail page opening apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the present application solution better understood by those skilled in the art, the following description will be made in detail and with reference to the accompanying drawings in the embodiments of the present application, it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to one aspect of the embodiment of the application, a method for opening a device detail page is provided. The method for opening the equipment detail page is widely applied to full-house intelligent digital control application scenes such as Smart Home (Smart Home), intelligent Home equipment ecology, intelligent Home (Intelligence House) ecology and the like. Alternatively, in the present embodiment, the above-described opening method of the device detail page may be applied to a hardware environment constituted by the terminal device 102 and the server 104 as shown in fig. 1. As shown in fig. 1, the server 104 is connected to the terminal device 102 through a network, and may be used to provide services (such as application services and the like) for a terminal or a client installed on the terminal, a database may be set on the server or independent of the server, for providing data storage services for the server 104, and cloud computing and/or edge computing services may be configured on the server or independent of the server, for providing data computing services for the server 104.
The network may include, but is not limited to, at least one of: wired network, wireless network. The wired network may include, but is not limited to, at least one of: a wide area network, a metropolitan area network, a local area network, and the wireless network may include, but is not limited to, at least one of: WIFI (Wireless Fidelity ), bluetooth. The terminal device 102 may not be limited to a PC, a mobile phone, a tablet computer, an intelligent air conditioner, an intelligent smoke machine, a refrigerator device, an intelligent oven, an intelligent cooking range, an intelligent washing machine, an intelligent water heater, an intelligent washing device, an intelligent dish washer, an intelligent projection device, an intelligent television, an intelligent clothes hanger, an intelligent curtain, an intelligent video, an intelligent socket, an intelligent sound box, an intelligent fresh air device, an intelligent kitchen and toilet device, an intelligent bathroom device, an intelligent sweeping robot, an intelligent window cleaning robot, an intelligent mopping robot, an intelligent air purifying device, an intelligent steam box, an intelligent microwave oven, an intelligent kitchen appliance, an intelligent purifier, an intelligent water dispenser, an intelligent door lock, and the like.
In this embodiment, a method for opening a device detail page is provided and applied to the above computer terminal, and fig. 2 is a flowchart of an alternative method for opening a device detail page according to an embodiment of the present invention, where the flowchart includes the following steps:
Step S202, receiving a download address sent by a first device and device information of the first device, where the download address is used to download a target application corresponding to the first device, where the device information includes: application ID, device model code;
step S204, determining whether the second device has installed the target application according to the application ID, and downloading the target application according to the download address under the condition that the second device is determined not to install the target application;
step S206, obtaining a device list from a device server, and searching the device ID in the device list, wherein the device list is used for storing the device ID of the bound device;
step S208, in the case of finding the device ID included in the device information, opening a device detail page of the first device according to the device model code.
In the embodiment of the application, when the first device and the second device interact through Near Field Communication (NFC), a download address sent by the first device and device information of the first device are received, wherein the download address is used for downloading a target application corresponding to the first device, and the device information comprises an application ID, the device ID and a device model code; determining whether the second device has installed the target application according to the application ID, and downloading and installing the target application according to the download address under the condition that the second device is determined to not install the target application; then obtaining a device list for storing the device IDs of the bound devices from the device server, and searching the device IDs in the device list; opening a device detail page of the first device according to a device model code under the condition of searching the device ID; by adopting the technical scheme, the problems that the NFC function is not fully applied and a complete NFC function solution is lacked in the related technology are solved; the technical effect of providing a complete set of home appliance app with a solution of NFC function is achieved.
Optionally, step S204: determining whether the target application has been installed by the second device according to the application ID may be achieved by: acquiring an identification information list stored by the second device, wherein the identification information list is used for storing identification information of the application installed by the second device; searching the application ID in the identification information list; determining that the second device has installed the target application if the application ID is found; and under the condition that the application ID is not found, determining that the target application is not installed by the second equipment.
The user's equipment (corresponding to the second equipment) stores the identification information of all installed applications, so that a stored identification information list can be obtained from the equipment, the received application ID is searched in the identification information list, and if the application ID is searched, the second equipment is determined to have installed the target application; if the application ID is not found, determining that the target application is not installed by the second device.
Based on the above steps, the above download step S204 is performed: in the case that the second device is determined not to install the target application, downloading the target application according to the download address may be achieved by the steps including: calling a preset browser of the second device; and accessing the downloading address through the preset browser to instruct the first object to download the target application according to the downloading address.
If the second device is determined to not install the target application, a preset browser of the second device is directly called according to the received download address, and the download address is accessed through the preset browser, so that the first object is prompted to download the target application according to the download address. Through the steps, a user does not need to carry out complex operation, and the downloading and the installation of the target application matched with the first equipment can be directly carried out according to the prompt, so that the user experience is improved.
Optionally, the above step S204 is performed: after determining whether the second device has installed the target application according to the application ID, the method further includes: acquiring identification information of a first object from the target application; and opening a first preset page of the target application under the condition that the identification information of the first object is not acquired from the target application, wherein the first preset page is used for indicating the first object to input the identification information of the first object.
If the second device is determined to have installed the target application, acquiring identification information of the first object from the target application; if the identification information of the first object is not obtained from the target application, a first preset page of the target application is automatically opened to prompt the first object to input the identification information of the first object on the first preset page so as to facilitate subsequent use.
Optionally, the above-mentioned obtaining step is implemented: the device list is obtained from the device server, and the device ID is searched in the device list, which is realized by the following scheme that: acquiring a device list of a second object from the device server according to the identification information of the first object, wherein the second object and the first object are both positioned in the same home account; and under the condition that the equipment ID is not found, opening a second preset page of the target application according to the equipment model code, and binding the second preset page with the first equipment according to the identification information of the first object.
According to the obtained identification information of the first object, obtaining a device list of all second objects from a device server, wherein the second objects are located in the same family account as the first object; only one person in the family is required to bind the first equipment, and other users in the family can directly pull up the equipment detail page of the APP; if the equipment ID is not found in the equipment list, a second preset page of the target application is opened according to the equipment model code, so that automatic binding is carried out on the second preset page and the first equipment according to the identification information of the first object.
It should be noted that, the information required for performing automatic binding may be information such as a WIFI account number, a password, etc. used for a distribution network, or may be identity information used for identifying a user identity, and specifically, the information is correspondingly adjusted according to different devices, which is not limited in this application.
Optionally, the above step S208 is performed: and opening a device detail page of the first device according to the device model code under the condition that the device ID included in the device information is searched, wherein the method comprises the following steps: acquiring a device object corresponding to the device ID, wherein the device object is used for indicating whether the target application is ready to succeed; under the condition that the equipment object is acquired, determining whether the target application needs to update a resource package according to the equipment model code; and opening the device detail page of the first device according to the device model code under the condition that the target application does not need to update the resource package.
The process of automatically opening the device detail page includes: acquiring a device object corresponding to the device ID, wherein the device object is used for indicating whether the target application is ready to succeed; if the equipment object is acquired, determining whether the target application needs to update a resource package according to the equipment model code; if the resource package does not need to be updated, the device detail page corresponding to the first device is directly encoded according to the device model.
Based on the above steps, the above determination step is performed: after determining whether the target application needs to update a resource package according to the device model code, the method further comprises: downloading the updated resource package under the condition that the target application needs to update the resource package; and importing the updated resource package, and opening the equipment detail page indicated by the updated resource package according to the equipment model code.
If the target application is determined to need to update the resource package, automatically downloading the updated resource package, and importing the target application for updating; and then opening the updated device detail page according to the device model code. Through the steps, under the condition that the updated resources exist in the target application resource package, the resource updating is automatically completed, so that the user can complete the resource updating without sense, and the latest resources are enjoyed.
In this embodiment, an optional device binding manner is provided, and fig. 3 is a flowchart of an optional device binding method according to an embodiment of the present invention, as shown in fig. 3, specifically including the following steps:
step 1: the user mobile phone is close to the NFC chip;
step 2: the NFC chip returns information to a mobile phone user, the information comprises an app link, a device model code and a device mac;
Step 3: if the user does not install the app, downloading and installing the app according to the downloading address in the NFC return information;
step 4: if the user installs the app, starting the app, and transmitting the device model code and the device mac information in the NFC into the app;
step 5: the app pulls the device list from the server;
step 6: the server returns a user equipment list to the app;
step 7: according to the device list information, searching whether the user contains the device of the device mac so as to determine whether the user is bound with the device;
step 8: if the user binds the equipment, finding a display page of the equipment according to the equipment mac, a specific algorithm and a processing flow;
step 9: loading and displaying the page;
step 10: if the user does not bind the equipment, a binding page of the equipment is found according to a specific algorithm and a specific processing flow;
step 11: and loading a device binding page, and carrying out device binding according to the prompt of the binding page.
Through the steps, the user can automatically finish the processes of downloading and installing the app matched with the equipment, binding the equipment and the like by only enabling the mobile phone to be close to the NFC chip arranged on the equipment, the user does not need to learn to use, and the user experience is improved.
The embodiment of the invention also provides a flow chart of an optional method for opening the equipment detail page, as shown in fig. 4, comprising the following steps:
Step 1: obtaining a deviceid parameter;
step 2: determining whether the deviceid parameter is acquired, if not, prompting that the parameter is wrong, and if so, executing the step 3;
step 3: determining whether a deviceid object exists, turning around for prompting if the deviceid object does not exist, asynchronously refreshing a device list, judging whether the deviceid object exists again, prompting that the device information is lost if the deviceid object does not exist, and attempting to try again later; if yes, executing the step 4;
step 4: determining whether the equipment model is missing, if so, stopping the toast circle and jumping to the number missing page; if not, executing the step 5;
step 5: determining whether OTA upgrading is carried out, if so, stopping the toast circle and jumping over an OTA upgrading page; if not, executing the step 6;
step 6: determining whether the doorbell camera equipment is adopted, if so, stopping the toast turn and jumping the detail page of the doorbell camera; if not, executing the step 7;
step 7: determining whether to start Bluetooth scanning, if yes, starting the Bluetooth scanning, and if not, executing the step 8;
step 8: determining whether the logic engine equipment is the logic engine equipment, if so, executing the step 9, and if not, executing the step 13;
step 9: determining whether the logic engine equipment is ready or not, if not, performing a task turn prompt, subscribing to equipment state change, and executing step 10; if so, executing step 11;
Step 10: determining whether NFC or shortcut starting is performed, if so, putting the device on top from the preparation queue, and executing step 12; if not, executing step 12;
step 11: determining whether the device is an unsupported device, if so, jumping to a default detail page; if not, executing the step 13;
step 12: determining if the logic engine device is ready within 15 seconds; if yes, executing the step 11; if not, the subscription of the equipment is released, the rotation of the blast is stopped, the equipment is prompted to be not ready, and the later try is requested;
step 13: calling and acquiring a device resource information interface;
step 14: determining whether equipment resource information is acquired, if not, performing jump failure dotting (remote resource information is not found), and calling an asynchronous acquisition equipment resource information interface;
step 15: confirming whether the equipment resource information is acquired again, and executing step 16 if the equipment resource information is not acquired; if so, executing step 20;
step 16: determining whether a resource packet corresponding to the equipment major class exists; if yes, executing step 17; if not, prompting jump failure;
step 17: calling an interface for acquiring resource information according to the package name;
step 18: determining whether deep resource information is acquired; if yes, go to step 20; if not, calling asynchronization to acquire a resource information interface according to the packet name;
Step 19: determining whether equipment resource information is acquired; if yes, go to step 20; if not, prompting jump failure;
step 20: transfer the mpass container.
Through the steps, the user can automatically open the corresponding equipment detail page according to the equipment model code by only making the mobile phone close to the NFC chip on the equipment, so that the user does not need to learn to use the equipment app, the user does not need to manually operate, and the use experience of the user is improved.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method of the various embodiments of the present invention.
In this embodiment, an apparatus for opening a device detail page is further provided, and the apparatus for opening a device detail page is used to implement the foregoing embodiments and preferred embodiments, which are already described and will not be described in detail. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
FIG. 5 is a block diagram of an alternative apparatus details page opening device according to an embodiment of the present invention; as shown in fig. 5, includes:
a receiving module 52, configured to receive, when a first device and a second device interact through near field communication NFC, a download address sent by the first device and device information of the first device, where the download address is used to download a target application corresponding to the first device, where the device information includes: application ID, device model code;
a downloading module 54, configured to determine whether the target application is installed on the second device according to the application ID, and download the target application according to the download address if it is determined that the target application is not installed on the second device;
An obtaining module 56, configured to obtain a device list from a device server, and find the device ID in the device list, where the device list is used to store the device ID of the bound device;
an opening module 58, configured to open a device detail page of the first device according to the device model code if the device ID included in the device information is found.
Through the device, when the first equipment and the second equipment interact through near field communication NFC, a download address sent by the first equipment and equipment information of the first equipment are received, wherein the download address is used for downloading a target application corresponding to the first equipment, and the equipment information comprises an application ID, the equipment ID and an equipment model code; determining whether the second device has installed the target application according to the application ID, and downloading and installing the target application according to the download address under the condition that the second device is determined to not install the target application; then obtaining a device list for storing the device IDs of the bound devices from the device server, and searching the device IDs in the device list; opening a device detail page of the first device according to a device model code under the condition of searching the device ID; by adopting the technical scheme, the problems that the NFC function is not fully applied and a complete NFC function solution is lacked in the related technology are solved; the technical effect of providing a complete set of home appliance app with a solution of NFC function is achieved.
Optionally, the downloading module 54 is further configured to obtain an identification information list stored by the second device, where the identification information list is used to store identification information of an installed application of the second device; searching the application ID in the identification information list; determining that the second device has installed the target application if the application ID is found; and under the condition that the application ID is not found, determining that the target application is not installed by the second equipment.
The user's equipment (corresponding to the second equipment) stores the identification information of all installed applications, so that a stored identification information list can be obtained from the equipment, the received application ID is searched in the identification information list, and if the application ID is searched, the second equipment is determined to have installed the target application; if the application ID is not found, determining that the target application is not installed by the second device.
Optionally, the download module 54 is further configured to invoke a preset browser of the second device; and accessing the downloading address through the preset browser to instruct the first object to download the target application according to the downloading address.
If the second device is determined to not install the target application, a preset browser of the second device is directly called according to the received download address, and the download address is accessed through the preset browser, so that the first object is prompted to download the target application according to the download address. Through the steps, a user does not need to carry out complex operation, and the downloading and the installation of the target application matched with the first equipment can be directly carried out according to the prompt, so that the user experience is improved.
Optionally, the downloading module 54 is further configured to obtain, from the target application, identification information of the first object after determining, according to the application ID, whether the target application has been installed by the second device; and opening a first preset page of the target application under the condition that the identification information of the first object is not acquired from the target application, wherein the first preset page is used for indicating the first object to input the identification information of the first object.
If the second device is determined to have installed the target application, acquiring identification information of the first object from the target application; if the identification information of the first object is not obtained from the target application, a first preset page of the target application is automatically opened to prompt the first object to input the identification information of the first object on the first preset page so as to facilitate subsequent use.
Optionally, the obtaining module 56 is further configured to obtain, from the device server, a device list of a second object according to the identification information of the first object, where the second object and the first object are both located in the same home account; and under the condition that the equipment ID is not found, opening a second preset page of the target application according to the equipment model code, and binding the second preset page with the first equipment according to the identification information of the first object.
According to the obtained identification information of the first object, obtaining a device list of all second objects from a device server, wherein the second objects are located in the same family account as the first object; only one person in the family is required to bind the first equipment, and other users in the family can directly pull up the equipment detail page of the APP; if the equipment ID is not found in the equipment list, a second preset page of the target application is opened according to the equipment model code, so that automatic binding is carried out on the second preset page and the first equipment according to the identification information of the first object.
It should be noted that, the information required for performing automatic binding may be information such as a WIFI account number, a password, etc. used for a distribution network, or may be identity information used for identifying a user identity, and specifically, the information is correspondingly adjusted according to different devices, which is not limited in this application.
Optionally, the opening module 58 is further configured to obtain a device object corresponding to the device ID, where the device object is used to indicate whether the target application is ready to succeed; under the condition that the equipment object is acquired, determining whether the target application needs to update a resource package according to the equipment model code; and opening the device detail page of the first device according to the device model code under the condition that the target application does not need to update the resource package.
The process of automatically opening the device detail page includes: acquiring a device object corresponding to the device ID, wherein the device object is used for indicating whether the target application is ready to succeed; if the equipment object is acquired, determining whether the target application needs to update a resource package according to the equipment model code; if the resource package does not need to be updated, the device detail page corresponding to the first device is directly encoded according to the device model.
In an exemplary embodiment, the opening module 58 is further configured to, after determining whether the target application needs to update the resource package according to the device model code, download the updated resource package if it is determined that the target application needs to update the resource package; and importing the updated resource package, and opening the equipment detail page indicated by the updated resource package according to the equipment model code.
If the target application is determined to need to update the resource package, automatically downloading the updated resource package, and importing the target application for updating; and then opening the updated device detail page according to the device model code. Through the steps, under the condition that the updated resources exist in the target application resource package, the resource updating is automatically completed, so that the user can complete the resource updating without sense, and the latest resources are enjoyed.
An embodiment of the present invention also provides a storage medium including a stored program, wherein the program executes the method of any one of the above.
Alternatively, in the present embodiment, the above-described storage medium may be configured to store program code for performing the steps of:
s1, receiving a download address sent by a first device and device information of the first device under the condition that the first device and a second device interact through near field communication NFC, wherein the download address is used for downloading a target application corresponding to the first device, and the device information comprises: application ID, device model code;
s2, determining whether the second equipment installs the target application according to the application ID, and downloading the target application according to the download address under the condition that the second equipment is determined not to install the target application;
s3, acquiring a device list from a device server, and searching the device ID in the device list, wherein the device list is used for storing the device ID of the bound device;
and S4, opening the equipment detail page of the first equipment according to the equipment model code under the condition that the equipment ID included in the equipment information is searched.
An embodiment of the invention also provides an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, where the transmission device is connected to the processor, and the input/output device is connected to the processor.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
s1, receiving a download address sent by a first device and device information of the first device under the condition that the first device and a second device interact through near field communication NFC, wherein the download address is used for downloading a target application corresponding to the first device, and the device information comprises: application ID, device model code;
s2, determining whether the second equipment installs the target application according to the application ID, and downloading the target application according to the download address under the condition that the second equipment is determined not to install the target application;
S3, acquiring a device list from a device server, and searching the device ID in the device list, wherein the device list is used for storing the device ID of the bound device;
and S4, opening the equipment detail page of the first equipment according to the equipment model code under the condition that the equipment ID included in the equipment information is searched.
Alternatively, in the present embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Alternatively, specific examples in this embodiment may refer to examples described in the foregoing embodiments and optional implementations, and this embodiment is not described herein.
It will be appreciated by those skilled in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may alternatively be implemented in program code executable by computing devices, so that they may be stored in a memory device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps within them may be fabricated into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for opening a device detail page, comprising:
receiving a download address sent by a first device and device information of the first device under the condition that the first device and a second device interact through Near Field Communication (NFC), wherein the download address is used for downloading a target application corresponding to the first device, and the device information comprises: application ID, device model code;
determining whether the second device has installed the target application according to the application ID, and downloading the target application according to the download address under the condition that the second device is determined not to install the target application;
acquiring a device list from a device server, and searching the device ID in the device list, wherein the device list is used for storing the device ID of the bound device;
And opening a device detail page of the first device according to the device model code under the condition that the device ID included in the device information is searched.
2. The method of opening a device detail page according to claim 1, wherein determining whether the second device has installed the target application according to the application ID comprises:
acquiring an identification information list stored by the second device, wherein the identification information list is used for storing identification information of the application installed by the second device;
searching the application ID in the identification information list;
determining that the second device has installed the target application if the application ID is found;
and under the condition that the application ID is not found, determining that the target application is not installed by the second equipment.
3. The method for opening a device detail page according to claim 1, wherein, in a case where it is determined that the second device does not install the target application, downloading the target application according to the download address includes:
calling a preset browser of the second device;
and accessing the downloading address through the preset browser to instruct the first object to download the target application according to the downloading address.
4. The method of opening a device detail page according to claim 1, wherein after determining whether the second device has installed the target application according to the application ID, the method further comprises:
acquiring identification information of a first object from the target application;
and opening a first preset page of the target application under the condition that the identification information of the first object is not acquired from the target application, wherein the first preset page is used for indicating the first object to input the identification information of the first object.
5. The method for opening a device detail page according to claim 4, wherein obtaining a device list from a device server and searching the device ID in the device list, comprises:
acquiring a device list of a second object from the device server according to the identification information of the first object, wherein the second object and the first object are both positioned in the same home account;
and under the condition that the equipment ID is not found, opening a second preset page of the target application according to the equipment model code, and binding the second preset page with the first equipment according to the identification information of the first object.
6. The method of opening a device detail page according to claim 1, wherein, in a case where a device ID included in the device information is found, opening the device detail page of the first device according to the device model code, comprises:
acquiring a device object corresponding to the device ID, wherein the device object is used for indicating whether the target application is ready to succeed;
under the condition that the equipment object is acquired, determining whether the target application needs to update a resource package according to the equipment model code;
and opening the device detail page of the first device according to the device model code under the condition that the target application does not need to update the resource package.
7. The method for opening a device detail page according to claim 6, wherein after determining whether the target application needs to update a resource package according to the device model code, the method further comprises:
downloading the updated resource package under the condition that the target application needs to update the resource package;
and importing the updated resource package, and opening the equipment detail page indicated by the updated resource package according to the equipment model code.
8. An apparatus for opening a device detail page, comprising:
the device comprises a receiving module, a receiving module and a processing module, wherein the receiving module is used for receiving a download address sent by a first device and device information of the first device under the condition that the first device and a second device interact through near field communication NFC, the download address is used for downloading a target application corresponding to the first device, and the device information comprises: application ID, device model code;
a downloading module, configured to determine, according to the application ID, whether a second device has installed the target application, and in case it is determined that the second device has not installed the target application, download the target application according to the download address;
the device comprises an acquisition module, a storage module and a storage module, wherein the acquisition module is used for acquiring a device list from a device server and searching the device ID in the device list, wherein the device list is used for storing the device ID of the bound device;
and the opening module is used for opening the equipment detail page of the first equipment according to the equipment model code under the condition that the equipment ID included in the equipment information is searched.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored program, wherein the program, when run, performs the method of any one of claims 1 to 7.
10. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method according to any of the claims 1 to 7 by means of the computer program.
CN202310104251.3A 2023-01-29 2023-01-29 Method and device for opening equipment detail page, storage medium and electronic device Pending CN116108070A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310104251.3A CN116108070A (en) 2023-01-29 2023-01-29 Method and device for opening equipment detail page, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310104251.3A CN116108070A (en) 2023-01-29 2023-01-29 Method and device for opening equipment detail page, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN116108070A true CN116108070A (en) 2023-05-12

Family

ID=86263533

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310104251.3A Pending CN116108070A (en) 2023-01-29 2023-01-29 Method and device for opening equipment detail page, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN116108070A (en)

Similar Documents

Publication Publication Date Title
US20190109894A1 (en) System and method for appliance detection and app configuration
CN115167164A (en) Method and device for determining equipment scene, storage medium and electronic device
CN114697150B (en) Command issuing method and device, storage medium and electronic device
CN111459043A (en) Method, equipment and storage medium for triggering smart home application scene
CN116108070A (en) Method and device for opening equipment detail page, storage medium and electronic device
CN116107975A (en) Control method and device of equipment, storage medium and electronic device
CN116347563A (en) Method for accessing equipment to network
CN115277412B (en) Edge gateway upgrading method and device, storage medium and electronic device
CN115484119B (en) Control method and device of equipment, storage medium and electronic device
CN114697345B (en) Information updating method and device, storage medium and electronic device
CN115484116B (en) Processing method and device of equipment data, storage medium and electronic device
CN116257281A (en) Firmware upgrading method of intelligent household appliance, storage medium and electronic device
CN115525309A (en) Version updating method and device, storage medium and electronic device
CN115296947B (en) Control command response method and device, storage medium and electronic device
CN117376042A (en) Functional platform configuration method and device of intelligent equipment and electronic device
CN116450229A (en) Pre-starting method and device of application software, storage medium and electronic device
CN116339850A (en) Method and device for starting target application, storage medium and electronic device
CN116980439A (en) Label data adjusting method and device, storage medium and electronic device
CN115001885A (en) Device control method and apparatus, storage medium, and electronic apparatus
CN116301511A (en) Equipment interaction method and device, storage medium and electronic device
CN118226764A (en) Control method and device of mobile terminal equipment, storage medium and electronic device
CN114885315A (en) Equipment binding method and device, storage medium and electronic device
CN116132209A (en) Scene construction method and device, storage medium and electronic device
CN116225456A (en) Program deployment method, device, storage medium and terminal
CN116009438A (en) Control scene generation method and device, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination