CN112445987B - Webpage updating method, device and system - Google Patents

Webpage updating method, device and system Download PDF

Info

Publication number
CN112445987B
CN112445987B CN202011384378.8A CN202011384378A CN112445987B CN 112445987 B CN112445987 B CN 112445987B CN 202011384378 A CN202011384378 A CN 202011384378A CN 112445987 B CN112445987 B CN 112445987B
Authority
CN
China
Prior art keywords
hardware
client
identifier
hardware equipment
label
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.)
Active
Application number
CN202011384378.8A
Other languages
Chinese (zh)
Other versions
CN112445987A (en
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.)
CCB Finetech Co Ltd
Original Assignee
CCB Finetech 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 CCB Finetech Co Ltd filed Critical CCB Finetech Co Ltd
Priority to CN202011384378.8A priority Critical patent/CN112445987B/en
Publication of CN112445987A publication Critical patent/CN112445987A/en
Application granted granted Critical
Publication of CN112445987B publication Critical patent/CN112445987B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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; CALCULATING OR 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/9566URL specific, e.g. using aliases, detecting broken or misspelled links
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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
    • 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/0025Methods 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 consisting of a wireless interrogation device in combination with a device for optically marking the record carrier

Landscapes

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

Abstract

The invention discloses a method, a device and a system for updating a webpage, and relates to the technical field of computers. One embodiment of the method comprises: receiving an access request sent by a client; the access request is sent by a client through scanning a graphic code arranged on a hardware device, and the access request carries an identifier of the hardware device; acquiring a label corresponding to the hardware equipment identifier carried in the access request according to a predetermined corresponding relation between the hardware equipment identifier and a preset label; and returning the page indicated by the target uniform resource locator URL corresponding to the acquired label to the client. The implementation method can realize dynamic update of the access webpage of the graphic code of any specified hardware device on the premise of not increasing hardware cost.

Description

Webpage updating method, device and system
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, and a system for updating a web page.
Background
Two-dimensional codes, also known as two-dimensional bar codes, are a popular encoding method in recent years on mobile devices. In a scenario in which a related web page is accessed by scanning a two-dimensional code arranged on a hardware device, there is a need to update web pages in batches. In the prior art, there are mainly the following three ways:
1. the method has the advantages that the two-dimensional code containing the new URL (Uniform Resource Locator) is generated in batch through a computer, and then is manually updated to hardware equipment from the off-line, and the method has the defects that the batch quick replacement cannot be realized, and the replacement cost is higher for the hardware equipment with wide distribution and large quantity;
2. the method has the advantages that the whole amount of webpage contents of URLs corresponding to the two-dimension codes is replaced by target contents, and the method has the defects that the webpage contents of the two-dimension codes of any appointed hardware equipment cannot be rapidly adjusted according to scenes because the webpage contents cannot be updated aiming at the appointed hardware equipment;
3. install the display additional on hardware equipment, the display show contains the two-dimensional code of new URL after the two-dimensional code updates every time, its shortcoming be need put into the cost of installing the display additional, and the display has extra energy consumption.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, an apparatus, and a system for updating a web page, which can implement dynamic update of an access web page of a graphic code of any specified hardware device without increasing hardware cost.
To achieve the above object, according to one aspect of the present invention, a web page updating method is provided.
The webpage updating method of the embodiment of the invention comprises the following steps: receiving an access request sent by a client; the access request is sent by a client through scanning a graphic code arranged on a hardware device, and the access request carries an identifier of the hardware device; acquiring a label corresponding to the hardware equipment identifier carried in the access request according to a predetermined corresponding relation between the hardware equipment identifier and a preset label; and returning the page indicated by the target uniform resource locator URL corresponding to the acquired label to the client.
Optionally, the graphic code disposed on any hardware device is generated according to a preset relay URL and an identifier of the hardware device, and the graphic codes disposed on different hardware devices correspond to the same relay URL.
Optionally, the method further comprises: and when the page indicated by the target URL corresponding to the acquired tag is returned to the client, returning the hardware equipment identifier corresponding to the acquired tag to the client.
Optionally, the method further comprises: receiving a hardware work request sent by a client; the hardware work request is sent by a client based on a page indicated by a target URL, and the hardware work request carries a hardware equipment identifier; and sending a working instruction to the corresponding hardware equipment according to the hardware equipment identifier carried in the hardware working request.
Optionally, the graphic code comprises a two-dimensional code.
To achieve the above object, according to another aspect of the present invention, there is provided a web page updating apparatus.
The web page updating device of the embodiment of the invention can comprise: the receiving unit is used for receiving an access request sent by a client; the access request is sent by a client through scanning a graphic code arranged on hardware equipment, and the access request carries an identifier of the hardware equipment; a tag obtaining unit, configured to obtain, according to a predetermined correspondence between a hardware device identifier and a preset tag, a tag corresponding to the hardware device identifier carried in the access request; and the webpage returning unit is used for returning the page indicated by the target uniform resource locator URL corresponding to the acquired label to the client.
To achieve the above object, according to still another aspect of the present invention, a web page updating system is provided.
The web page updating system of the embodiment of the invention can comprise: the system comprises a client, a service control module, a database module and hardware equipment; the service control module receives an access request sent by a client; the access request is sent by a client through scanning a graphic code arranged on hardware equipment, and the access request carries an identifier of the hardware equipment; the service control module acquires a label corresponding to the hardware equipment identifier carried in the access request and a target Uniform Resource Locator (URL) corresponding to the label by using a corresponding relation between the hardware equipment identifier pre-stored in the database module and a preset label; and the service control module returns the page indicated by the target URL to the client.
Optionally, the graphic code disposed on any hardware device is generated according to a preset relay URL and an identifier of the hardware device, and the graphic codes disposed on different hardware devices correspond to the same relay URL.
Optionally, when the page indicated by the target URL is returned to the client, the service control module returns the hardware device identifier corresponding to the acquired tag to the client.
Optionally, the service control module receives a hardware work request sent by the client; the hardware work request is sent by a client based on a page indicated by a target URL, and the hardware work request carries a hardware equipment identifier; and the service control module sends a working instruction to the corresponding hardware equipment according to the hardware equipment identifier carried in the hardware working request.
Optionally, the graphic code comprises a two-dimensional code.
To achieve the above object, according to still another aspect of the present invention, there is provided an electronic apparatus.
An electronic device of the present invention includes: one or more processors; the storage device is used for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors realize the webpage updating method provided by the invention.
To achieve the above object, according to still another aspect of the present invention, there is provided a computer-readable storage medium.
A computer-readable storage medium of the present invention stores thereon a computer program, which when executed by a processor implements the web page updating method provided by the present invention.
According to the technical scheme of the invention, the embodiment of the invention has the following advantages or beneficial effects: the method comprises the steps that the corresponding relation between each hardware equipment identification and a label and the corresponding relation between each label and a target URL are pre-established at a server side, and a graphic code corresponding to each hardware equipment is generated according to a uniform transfer URL and the hardware equipment identification which can access the server side; when a client scans the graphic code of certain hardware equipment, an access request is sent to a server, the server acquires a corresponding label and a target URL according to the hardware equipment identifier carried in the access request, and returns a page indicated by the target URL to the client; and then, when the client operates on the target URL page, the client sends a hardware work request to the server, and the server can send a work instruction to corresponding hardware equipment according to the hardware equipment identifier carried in the hardware work request, so that the interaction between the client and the hardware equipment is realized. When the webpage content of any one or more hardware equipment graphic codes needs to be updated, the label corresponding to the hardware equipment identifier and/or the target URL corresponding to the label can be adjusted at the server side without changing the two-dimensional code, so that the dynamic updating of the access webpage aiming at any specified hardware equipment is realized at lower cost.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a schematic diagram illustrating the main steps of a web page updating method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a main portion of a web page update apparatus according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of components of a web page update system according to an embodiment of the invention;
FIG. 4 is a schematic view of a workflow of a web page update system according to an embodiment of the present invention;
FIG. 5 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
fig. 6 is a schematic structural diagram of an electronic device for implementing a web page updating method in an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
It should be noted that embodiments of the present invention and technical features in the embodiments may be combined with each other without conflict.
Fig. 1 is a schematic diagram illustrating main steps of a web page updating method according to an embodiment of the present invention.
As shown in fig. 1, the web page updating method according to the embodiment of the present invention may be specifically executed according to the following steps:
step S101: and the server receives an access request sent by the client.
In this step, the access request is sent by the client through scanning a graphics code disposed on the hardware device, and it is understood that the client may be a mobile intelligent terminal with a communication function, and the client may scan the graphics code through a browser or an application (for example, a mobile APP) installed therein to access the server. The graphic code refers to a graphic containing website or web page access path information, such as a two-dimensional code. In the embodiment of the invention, the graphic code can be arranged on the surface of the hardware equipment as a printed product, in a sticking way and the like, and can also be displayed in a display of the hardware equipment as a digital image; the graphic code arranged in any hardware device may be generated according to a preset relay URL for accessing the server and an identifier of the hardware device, and the graphic codes arranged in different hardware devices may correspond to the same relay URL. In addition, the hardware device in the embodiment of the present invention may be any device that relates to accessing a service end scene by scanning a graphic code, for example, a banking self-service terminal, an article sharing self-service terminal, and the like.
In specific application, after scanning a graphic code of a certain hardware device, a client sends an access request to a server, the access request carries an identifier of the hardware device, and the server receives the access request and analyzes the identifier of the hardware device from the access request to execute subsequent processing.
Step S102: and the server acquires the label corresponding to the hardware equipment identifier carried in the access request according to the predetermined corresponding relation between the hardware equipment identifier and the preset label.
In the embodiment of the present invention, the server may determine in advance a correspondence between each hardware device identifier and a tag and a correspondence between each tag and a target URL. In a specific application, the tags may be categories divided for the hardware devices according to client types, areas where the hardware devices are located, industries to which the hardware devices belong, and/or locations where the hardware devices are located, for example, the tags of each hardware device may be determined according to the industries to which the hardware devices belong, such as hospitals, banks, factories, and the like. The target URL refers to a webpage URL which is finally displayed to a user and corresponds to a certain hardware device or a certain label, and the webpage can be displayed through redirection of a transfer URL on a target URL page of a client.
In this step, the server may obtain a tag corresponding to the hardware device identifier carried in the access request according to a correspondence between the pre-stored hardware device identifier and the preset tag, and further obtain a corresponding target URL according to a correspondence between the pre-stored tag and the target URL.
Step S103: and the server returns the page indicated by the target URL corresponding to the acquired label to the client.
In this step, the server sends a response to the client, and returns the target URL corresponding to the hardware device identifier to the client, so that the client displays the target URL page. It is to be appreciated that the target URL page can be a browser page or an application page (e.g., an APP page). Based on the above arrangement, when the webpage content of any one or more hardware device graphic codes needs to be updated, the label corresponding to the hardware device identifier and/or the target URL corresponding to the label can be adjusted at the server side without changing the two-dimensional code, so that the dynamic update of the access webpage for any specified hardware device is realized at a lower cost.
As a preferred scheme, the response sent by the server to the client may also carry a corresponding hardware device identifier, that is, the hardware device identifier carried in the access request, so as to facilitate subsequent control. When the client displays a target URL page in a browser or an APP, relevant operations can be executed based on the target URL page so as to send a hardware work request (namely a request for enabling hardware equipment to start working) to the server, wherein a hardware equipment identifier can be carried in the hardware work request; and the server receives the hardware work request and sends a work instruction to the corresponding hardware equipment according to the hardware equipment identifier carried in the hardware work request so as to enable the hardware equipment to execute the related function.
By taking a hardware device as an example of an article sharing self-service terminal, after a target URL page is displayed on a client, a user can perform operations such as WeChat public account attention on the page, and can click a related button after the user selects the required number of shared articles on the page after identity verification is completed, so that a hardware work request is sent to a server. After receiving the hardware work request, the server analyzes the hardware equipment identifier from the hardware work request, and sends a work instruction to the corresponding hardware equipment, so that the hardware equipment provides the shared article for the user.
In the technical scheme of the embodiment of the invention, the server side identifies the hardware equipment identifier contained in the transfer URL and classifies the hardware equipment identifier into different labels (each label corresponds to a different target URL), so that the access content of code scanning of different hardware equipment is redirected, the web page content of the static two-dimensional code on any appointed hardware equipment is dynamically updated in batches, a large amount of manual work is not needed, and the configuration of a display is not needed to be additionally added.
It should be noted that, for the convenience of description, the foregoing method embodiments are described as a series of acts, but those skilled in the art will appreciate that the present invention is not limited by the order of acts described, and that some steps may in fact be performed in other orders or concurrently. Moreover, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no acts or modules are necessarily required to implement the invention.
To facilitate a better implementation of the above-described aspects of embodiments of the present invention, the following also provides relevant means for implementing the above-described aspects.
Referring to fig. 2, a web page updating apparatus 200 according to an embodiment of the present invention may include: a receiving unit 201, a tag obtaining unit 202 and a web page returning unit 203.
The receiving unit 201 may be configured to receive an access request sent by a client; the access request is sent by a client through scanning a graphic code arranged on a hardware device, and the access request carries an identifier of the hardware device; the tag obtaining unit 202 may be configured to obtain, according to a predetermined correspondence between a hardware device identifier and a preset tag, a tag corresponding to the hardware device identifier carried in the access request; the web page returning unit 203 may be configured to return the page indicated by the target uniform resource locator URL corresponding to the obtained tag to the client.
In the embodiment of the invention, the graphic codes arranged on any hardware device are generated according to the preset relay URL and the identifier of the hardware device, and the graphic codes arranged on different hardware devices correspond to the same relay URL.
As a preferred solution, the web page returning unit 203 may further be configured to: and when the page indicated by the target URL corresponding to the acquired tag is returned to the client, returning the hardware equipment identifier corresponding to the acquired tag to the client.
Preferably, the web page updating apparatus 200 may further include a hardware driving unit for: receiving a hardware work request sent by a client; the hardware work request is sent by a client based on a page indicated by a target URL, and the hardware work request carries a hardware equipment identifier; and sending a working instruction to the corresponding hardware equipment according to the hardware equipment identification carried in the hardware working request.
Furthermore, in the embodiment of the present invention, the graphic code includes a two-dimensional code.
In the technical scheme of the embodiment of the invention, the server side identifies the hardware equipment identifier contained in the transfer URL and classifies the hardware equipment identifier into different labels (each label corresponds to a different target URL), so that the access content of code scanning of different hardware equipment is redirected, the web page content of the static two-dimensional code on any appointed hardware equipment is dynamically updated in batches, a large amount of manual work is not needed, and the configuration of a display is not needed to be additionally added.
Fig. 3 is a schematic diagram of components of a web page updating system in an embodiment of the present invention, and as shown in fig. 3, the web page updating system in the embodiment of the present invention may include: the system comprises a client, a service control module, a database module and hardware equipment.
Specifically, the service control module receives an access request sent by a client; the access request is sent by a client through scanning a graphic code (such as a two-dimensional code) arranged on a hardware device, and the access request carries an identifier of the hardware device; the service control module acquires a label corresponding to the hardware equipment identifier carried in the access request and a target Uniform Resource Locator (URL) corresponding to the label by using a corresponding relation between the hardware equipment identifier pre-stored in the database module and a preset label; and the service control module returns the page indicated by the target URL to the client.
In the embodiment of the invention, the graphic codes arranged on any hardware device are generated according to the preset relay URL and the identifier of the hardware device, and the graphic codes arranged on different hardware devices correspond to the same relay URL.
As a preferred scheme, when the service control module returns the page indicated by the target URL to the client, the service control module returns the hardware device identifier corresponding to the acquired tag to the client.
In some embodiments, the service control module receives a hardware work request sent by a client; the hardware work request is sent by a client based on a page indicated by a target URL, and the hardware work request carries a hardware equipment identifier; and the service control module sends a working instruction to the corresponding hardware equipment according to the hardware equipment identifier carried in the hardware working request.
Fig. 4 is a schematic view of a workflow of the web page updating system in the embodiment of the present invention, and as shown in fig. 4, the workflow of the web page updating system in the embodiment of the present invention includes a server configuration part and a web page access part.
In the server configuration part, an operator firstly needs to register information such as hardware equipment identification, hardware equipment name and the like at a background management end, and requests registration information to a service control module after completing information input. And then, the service control module acquires information such as hardware equipment identification and the like and sends a data insertion instruction to the database module, and the database module checks the validity of the data and stores the data after the data is passed. And then, the operator executes the operation of generating the two-dimension code of the hardware equipment, the service control module generates the two-dimension code according to the uniform transfer URL and different hardware equipment identifiers and returns the two-dimension code to the background management end, and the two-dimension code can be printed or pasted on the surface of the hardware equipment. Then, the operator can add a custom label, wherein the label can be the type of the client, the area where the hardware equipment is located, the industry to which the hardware equipment belongs, the place where the hardware equipment is located, and the like, and each type of label corresponds to a unique target URL, and after the input is finished, the operator sends a related request and data to the service control module; the service control module sends a data insertion instruction to the database module after acquiring the data; the database module checks the legality after acquiring the insertion instruction and the related data, and stores the data after the legality passes; finally, the operator selects a label for the hardware equipment identifier to be associated, and sends the related request and data to the service control module; and the service control module sends a data insertion instruction to the database module after acquiring the request and the data, and the database module stores the corresponding relation among the hardware equipment identifier, the tag and the target URL after verifying the validity of the data.
In the webpage access part, a user scans a two-dimensional code of hardware equipment through mobile phone WeChat, an external browser or other APP and sends an access control request to a service control module; the service control module acquires a hardware equipment identifier in the access request, acquires a corresponding label and a target URL according to the hardware equipment identifier access database module, and returns a target URL page and a corresponding hardware equipment identifier to the client; the user sends a hardware work request to the service control module after finishing specified data operation on the target URL page, the service control end obtains specified data and sends a work instruction to corresponding hardware equipment after ensuring the integrity of the data, and after a communication module in the hardware equipment obtains the work instruction, the hardware control module controls the hardware work module to carry out corresponding work.
According to the technical scheme of the embodiment of the invention, the corresponding relation between each hardware equipment identifier and the label and the corresponding relation between each label and the target URL are pre-established at the server side, and the graphic code corresponding to each hardware equipment is generated according to the uniform transfer URL and the hardware equipment identifier which can access the server side; when a client scans the graphic code of certain hardware equipment, an access request is sent to a server, the server acquires a corresponding label and a target URL according to the hardware equipment identifier carried in the access request, and returns a page indicated by the target URL to the client; and then, when the client operates on the target URL page, the client sends a hardware work request to the server, and the server can send a work instruction to corresponding hardware equipment according to the hardware equipment identifier carried in the hardware work request, so that the interaction between the client and the hardware equipment is realized. When the webpage content of any one or more hardware equipment graphic codes needs to be updated, the label corresponding to the hardware equipment identifier and/or the target URL corresponding to the label can be adjusted at the server side without changing the two-dimensional code, so that the dynamic updating of the access webpage aiming at any specified hardware equipment is realized at lower cost.
Fig. 5 illustrates an exemplary system architecture 500 to which a web page updating method or web page updating apparatus according to an embodiment of the present invention may be applied.
As shown in fig. 5, the system architecture 500 may include terminal devices 501, 502, 503, a network 504, and a server 505 (this architecture is merely an example, and the components included in a particular architecture may be adapted according to the application specific circumstances). The network 504 serves to provide a medium for communication links between the terminal devices 501, 502, 503 and the server 505. Network 504 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 501, 502, 503 to interact with a server 505 over a network 504 to receive or send messages or the like. The terminal devices 501, 502, 503 may have various client applications installed thereon, such as an application for accessing a web page by scanning a two-dimensional code, and the like (for example only).
The terminal devices 501, 502, 503 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 505 may be a server providing various services, such as a background server (just an example) providing support for an application operated by a user using the terminal device 501, 502, 503 to access a web page by scanning a two-dimensional code. The backend server may process the received access request and feed back the processing result (e.g., the page indicated by the target URL-just an example) to the terminal device 501, 502, 503.
It should be noted that the web page updating method provided by the embodiment of the present invention is generally executed by the server 505, and accordingly, the web page updating apparatus is generally disposed in the server 505.
It should be understood that the number of terminal devices, networks, and servers in fig. 5 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
The invention also provides the electronic equipment. The electronic device of the embodiment of the invention comprises: one or more processors; the storage device is used for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors realize the webpage updating method provided by the invention.
Referring now to FIG. 6, shown is a block diagram of a computer system 600 suitable for use with the electronic device implementing an embodiment of the present invention. The electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 6, the computer system 600 includes a Central Processing Unit (CPU) 601 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. In the RAM603, various programs and data necessary for the operation of the computer system 600 are also stored. The CPU601, ROM 602, and RAM603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output portion 607 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. A driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted in the storage section 608 as necessary.
In particular, the processes described in the main step diagrams above may be implemented as computer software programs, according to embodiments of the present disclosure. For example, embodiments of the invention include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the main step diagram. In the above-described embodiment, the computer program can be downloaded and installed from the network through the communication section 609, and/or installed from the removable medium 611. The computer program performs the above-described functions defined in the system of the present invention when executed by the central processing unit 601.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present invention may be implemented by software or hardware. The described units may also be provided in a processor, which may be described as: a processor includes a receiving unit, a tag obtaining unit, and a web page returning unit. Where the names of these units do not in some cases constitute a limitation of the unit itself, for example, the receiving unit may also be described as a "unit providing an access request to the tag obtaining unit".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not assembled into the device. The computer readable medium carries one or more programs which, when executed by the apparatus, cause the apparatus to perform steps comprising: receiving an access request sent by a client; the access request is sent by a client through scanning a graphic code arranged on a hardware device, and the access request carries an identifier of the hardware device; acquiring a label corresponding to the hardware equipment identifier carried in the access request according to a predetermined corresponding relation between the hardware equipment identifier and a preset label; and returning the page indicated by the target uniform resource locator URL corresponding to the acquired label to the client.
According to the technical scheme of the embodiment of the invention, the corresponding relation between each hardware equipment identifier and the label and the corresponding relation between each label and the target URL are pre-established at the server side, and the graphic code corresponding to each hardware equipment is generated according to the uniform transfer URL and the hardware equipment identifier which can access the server side; when a client scans the graphic code of certain hardware equipment, an access request is sent to a server, the server acquires a label and a target URL corresponding to the hardware equipment according to the hardware equipment identifier carried in the access request, and returns a page indicated by the target URL to the client; and then, when the client operates on the target URL page, the client sends a hardware work request to the server, and the server can send a work instruction to corresponding hardware equipment according to the hardware equipment identifier carried in the hardware work request, so that the interaction between the client and the hardware equipment is realized. When the webpage content of any one or more hardware equipment graphic codes needs to be updated, the label corresponding to the hardware equipment identifier and/or the target URL corresponding to the label can be adjusted at the server side without changing the two-dimensional code, so that the dynamic update of the access webpage aiming at any specified hardware equipment is realized at lower cost.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (13)

1. A method for updating a web page, comprising:
receiving an access request sent by a client; the access request is sent by a client through scanning a graphic code arranged on a hardware device, and the access request carries an identifier of the hardware device;
acquiring a label corresponding to the hardware equipment identifier carried in the access request according to a predetermined corresponding relation between the hardware equipment identifier and a preset label; the tag is a category divided for the hardware device;
returning a page indicated by a target Uniform Resource Locator (URL) corresponding to the acquired label to the client;
and when the graphical coded webpage content of the hardware equipment is updated, changing the label corresponding to the identifier of the hardware equipment and/or the target URL corresponding to the label.
2. The method of claim 1, wherein the graphic code disposed on any one hardware device is generated according to a preset relay URL and an identifier of the hardware device, and the graphic codes disposed on different hardware devices correspond to the same relay URL.
3. The method of claim 2, further comprising:
and when the page indicated by the target URL corresponding to the acquired tag is returned to the client, returning the hardware equipment identifier corresponding to the acquired tag to the client.
4. The method of claim 3, further comprising:
receiving a hardware work request sent by a client; the hardware work request is sent by a client based on a page indicated by a target URL, and the hardware work request carries a hardware equipment identifier;
and sending a working instruction to the corresponding hardware equipment according to the hardware equipment identification carried in the hardware working request.
5. The method of any of claims 1-4, wherein the graphical code comprises a two-dimensional code.
6. A web page update apparatus, comprising:
the receiving unit is used for receiving an access request sent by a client; the access request is sent by a client through scanning a graphic code arranged on a hardware device, and the access request carries an identifier of the hardware device;
a tag obtaining unit, configured to obtain, according to a predetermined correspondence between a hardware device identifier and a preset tag, a tag corresponding to the hardware device identifier carried in the access request; the tag is a category that is classified for the hardware device;
the webpage returning unit is used for returning the page indicated by the target uniform resource locator URL corresponding to the acquired label to the client; and when the webpage content of the graphic code of the hardware equipment is updated, changing the label corresponding to the identifier of the hardware equipment and/or the target URL corresponding to the label.
7. A web page update system, comprising: the system comprises a client, a service control module, a database module and hardware equipment; wherein the content of the first and second substances,
the service control module receives an access request sent by a client; the access request is sent by a client through scanning a graphic code arranged on a hardware device, and the access request carries an identifier of the hardware device;
the service control module acquires a label corresponding to the hardware equipment identifier carried in the access request and a target Uniform Resource Locator (URL) corresponding to the label by using a corresponding relation between the hardware equipment identifier pre-stored in the database module and a preset label; the tag is a category that is classified for the hardware device;
the service control module returns the page indicated by the target URL to the client; and when the graphical coded webpage content of the hardware equipment is updated, changing the label corresponding to the identifier of the hardware equipment and/or the target URL corresponding to the label.
8. The system of claim 7, wherein the graphic code disposed on any one hardware device is generated according to a preset relay URL and an identifier of the hardware device, and the graphic codes disposed on different hardware devices correspond to the same relay URL.
9. The system according to claim 8, wherein the service control module returns the hardware device identifier corresponding to the acquired tag to the client when returning the page indicated by the target URL to the client.
10. The system of claim 9, wherein the service control module receives a hardware work request sent by the client; the hardware work request is sent by a client based on a page indicated by a target URL, and the hardware work request carries a hardware equipment identifier;
and the service control module sends a working instruction to the corresponding hardware equipment according to the hardware equipment identifier carried in the hardware working request.
11. The system of any of claims 7-10, wherein the graphical code comprises a two-dimensional code.
12. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-5.
13. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-5.
CN202011384378.8A 2020-11-30 2020-11-30 Webpage updating method, device and system Active CN112445987B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011384378.8A CN112445987B (en) 2020-11-30 2020-11-30 Webpage updating method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011384378.8A CN112445987B (en) 2020-11-30 2020-11-30 Webpage updating method, device and system

Publications (2)

Publication Number Publication Date
CN112445987A CN112445987A (en) 2021-03-05
CN112445987B true CN112445987B (en) 2022-11-01

Family

ID=74738936

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011384378.8A Active CN112445987B (en) 2020-11-30 2020-11-30 Webpage updating method, device and system

Country Status (1)

Country Link
CN (1) CN112445987B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113656093A (en) * 2021-08-02 2021-11-16 珠海格力电器股份有限公司 Plug-in configuration method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105468350A (en) * 2014-09-10 2016-04-06 阿里巴巴集团控股有限公司 Object tag processing method and apparatus
CN105912736A (en) * 2016-06-28 2016-08-31 迈普通信技术股份有限公司 URL classifying method and device
CN109074406A (en) * 2018-06-29 2018-12-21 阿里巴巴集团控股有限公司 Manage service relevant to the two dimensional code based on URL

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101296255B (en) * 2008-06-30 2012-09-05 腾讯科技(深圳)有限公司 Web page browsing method, system, proxy server and mobile phone browser
US9178994B2 (en) * 2011-04-12 2015-11-03 Teletech Holdings, Inc. Methods for providing self-support services using information from a viral source
CN106776989B (en) * 2016-12-02 2020-05-12 武汉斗鱼网络科技有限公司 Webpage information display method and device
CN108052674A (en) * 2017-12-28 2018-05-18 惠州Tcl家电集团有限公司 Quick Response Code uses processing method, device, system and readable storage medium storing program for executing
CN109800842A (en) * 2018-12-06 2019-05-24 珠海西山居移动游戏科技有限公司 A kind of assets unique identification code generating method and system
CN109918590A (en) * 2019-02-18 2019-06-21 武汉天喻聚联网络有限公司 A kind of label long-distance management system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105468350A (en) * 2014-09-10 2016-04-06 阿里巴巴集团控股有限公司 Object tag processing method and apparatus
CN105912736A (en) * 2016-06-28 2016-08-31 迈普通信技术股份有限公司 URL classifying method and device
CN109074406A (en) * 2018-06-29 2018-12-21 阿里巴巴集团控股有限公司 Manage service relevant to the two dimensional code based on URL

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
标签管理的演进:从管理标签到分发数字客户数据;周祺;《电脑与电信》;20140510;全文 *

Also Published As

Publication number Publication date
CN112445987A (en) 2021-03-05

Similar Documents

Publication Publication Date Title
US10635735B2 (en) Method and apparatus for displaying information
CN107665225B (en) Information pushing method and device
US20120234907A1 (en) System and process for managing hosting and redirecting the data output of a 2-D QR barcode
WO2015101313A1 (en) Information push method, server, user terminal and system
US11244153B2 (en) Method and apparatus for processing information
RU2753450C1 (en) Method and device for fast order processing
CN111324786A (en) Method and device for processing consultation problem information
CN112445987B (en) Webpage updating method, device and system
CN114297476A (en) Questionnaire survey method, system, electronic equipment and storage medium based on user tags
CN112817562A (en) Service processing method and device
CN110956417A (en) Store commodity processing method and device
CN110941401A (en) Printing method and device
CN114756228A (en) Page processing method, device, equipment and storage medium
CN110647327A (en) Method and device for dynamic control of user interface based on card
CN110807610A (en) Distribution method and device
CN111506285B (en) Electronic price tag updating method and device, electronic equipment and readable medium
CN110751455B (en) Method and device for processing joint service
CN113822745A (en) Article display method and device
CN112836201A (en) Method, device, equipment and computer readable medium for multi-platform information intercommunication
CN113222680A (en) Method and device for generating order
CN111325621A (en) Protocol processing method, device, computer system and medium
CN113741888A (en) Service processing method and device
CN113760279A (en) Method and device for generating page
CN108696472B (en) Request processing method and device
CN111861293A (en) Method and apparatus for transmitting information

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
GR01 Patent grant
GR01 Patent grant