CN114090139A - Page processing method and device, electronic equipment and computer readable storage medium - Google Patents

Page processing method and device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN114090139A
CN114090139A CN202010746910.XA CN202010746910A CN114090139A CN 114090139 A CN114090139 A CN 114090139A CN 202010746910 A CN202010746910 A CN 202010746910A CN 114090139 A CN114090139 A CN 114090139A
Authority
CN
China
Prior art keywords
target
page
target page
server
identifier
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
CN202010746910.XA
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.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202010746910.XA priority Critical patent/CN114090139A/en
Publication of CN114090139A publication Critical patent/CN114090139A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading

Abstract

The disclosure provides a page processing method and device, electronic equipment and a computer readable storage medium, and relates to the technical field of page management. The method comprises the following steps: acquiring a target page to be loaded; if the target page is determined to be a page to be checked, generating a target page link of the target page, wherein the target page link comprises a target equipment identifier, and the target equipment identifier is an equipment identifier of development end equipment of the target page; and sending the target page link to a target server corresponding to the development end equipment of the target page according to the target equipment identification. The present disclosure improves the efficiency of page acceptance.

Description

Page processing method and device, electronic equipment and computer readable storage medium
Technical Field
The present disclosure relates to the field of page management technologies, and in particular, to a page processing method and apparatus, an electronic device, and a computer-readable storage medium.
Background
With the rapid development of computer technology, various application program systems are developed by developers, and are generally required to be updated and upgraded to meet the increasing user demands and business demands.
In the prior art, when the checking personnel check the pages, a bag grabbing tool Charles needs to be utilized, and the various pages developed by the developers are mapped to the server corresponding to the product preview environment through manual configuration.
Disclosure of Invention
The disclosure provides a page processing method and device, electronic equipment and a computer readable storage medium, which can solve the problem of complex configuration. The technical scheme is as follows:
in a first aspect, a method for processing a page is provided, where the method includes:
acquiring a target page to be loaded;
if the target page is determined to be a page to be checked, generating a target page link of the target page, wherein the target page link comprises a target equipment identifier which is an equipment identifier of development end equipment of the target page;
and sending the target page link to a target server corresponding to the development end equipment of the target page according to the target equipment identification.
In a second aspect, an apparatus for page processing is provided, the apparatus comprising:
the acquisition module is used for acquiring a target page to be loaded;
the generating module is used for generating a target page link of the target page if the target page is determined to be a page to be checked, wherein the target page link comprises a target device identifier which is a device identifier of development end equipment of the target page;
and the sending module is used for sending the target page link to a target server corresponding to the development end equipment of the target page according to the target equipment identification.
In a third aspect, an electronic device is provided, which includes:
one or more processors;
a memory;
one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform operations corresponding to the method of page processing as illustrated in the first aspect of the present disclosure.
In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, which when executed by a processor, implements the method of page processing shown in the first aspect of the disclosure.
The technical scheme provided by the disclosure has the following beneficial effects:
according to the method and the device, the target page link of the target page is generated under the condition that the target page to be loaded is the page to be checked and received, and the target page link is sent to the target server corresponding to the development end device of the target page according to the condition that the target page link comprises the device identification of the development end device of the target page, so that the process of mapping the target page to the target server is automatic, data do not need to be manually configured, and the checking and receiving efficiency of the target page is improved.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
Fig. 1 is a schematic flowchart of a page processing method according to an embodiment of the disclosure;
fig. 2 is a schematic diagram of a target page successfully connecting to a target server according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a target page unsuccessfully connecting to a target server according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a page processing apparatus according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing the devices, modules or units, and are not used for limiting the devices, modules or units to be different devices, modules or units, and also for limiting the sequence or interdependence relationship of the functions executed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
To make the objects, technical solutions and advantages of the present disclosure more apparent, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings.
The present disclosure provides a page processing method, a page processing apparatus, an electronic device, and a computer-readable storage medium, which aim to solve the above technical problems in the prior art.
The following describes the technical solutions of the present disclosure and how to solve the above technical problems in specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present disclosure will be described below with reference to the accompanying drawings.
The embodiment of the present disclosure provides a method for processing a page, as shown in fig. 1, the method includes:
step S101: and acquiring a target page to be loaded.
When the acceptance device accepts a page, it usually first acquires a series of target pages. The target page may be a page having a development point when a developer develops a function of an application, or may be a secondary page in a development process, that is, the secondary page may not include the development point and only plays an auxiliary role.
Step S102: and if the target page is determined to be a page to be checked, generating a target page link of the target page, wherein the target page link comprises a target equipment identifier, and the target equipment identifier is an equipment identifier of development end equipment of the target page.
When the target page is determined to be a page to be checked, that is, the current target page includes the development point, a target page link of the target page may be generated for the target page at this time, so as to facilitate checking. And the target page link of the target page may further include a target device identifier, where the target device identifier may be a device identifier of a development device when a developer performs development, and the source of the target page may be determined by including the target page development origin device identifier in the generated target page link.
In one embodiment of the present disclosure, determining that the target page is a page to be checked includes:
and if the initial page link of the target page comprises any identifier in the identifier list, and the identifier list comprises the page identifier of at least one page to be checked, determining that the target page is the page to be checked corresponding to any identifier.
The identification list may be a preconfigured list, and the identification list may include a page identification of at least one page to be checked, and it can be understood that the page identification of at least one page to be checked included in the identification list is related to the development point.
In the process of determining whether the target page to be loaded is the page to be checked, the determination may be made according to whether the initial page link of the target page includes any identifier in the identifier list, that is, when the initial page link of the target page includes any identifier in the identifier list, the target page is determined to be the page to be checked.
Step S103: and sending the target page link to a target server corresponding to the development end equipment of the target page according to the target equipment identification.
The target server corresponding to the development end device can be a server with a PPE (Product Preview Environment) function, the target page link is sent to the target server corresponding to the development end device of the target page according to the target device identification, the target page can be automatically connected to the PPE server, the target page can be displayed in the acceptance device, and the acceptance of an acceptance person is facilitated.
According to the method and the device, the target page link of the target page is generated under the condition that the target page to be loaded is the page to be checked and received, and the target page link is sent to the target server corresponding to the development end device of the target page according to the condition that the target page link comprises the device identification of the development end device of the target page, so that the process of mapping the target page to the target server is automatic, data do not need to be manually configured, and the checking and receiving efficiency of the target page is improved.
In an embodiment of the present disclosure, the "sending the target page link to the target server corresponding to the development end device of the target page according to the target device identifier" in step 103 may include:
according to the target equipment identification and the pre-established corresponding relation information, the target page link is sent to a target server corresponding to the development end equipment of the target page;
the corresponding relation information comprises a corresponding relation between the equipment identification of the at least one development end equipment and the server identification of the at least one server.
It is understood that the correspondence between the development-side device and the server may be preset, for example, the device identifier of the development-side device may be associated with the server identifier of the server, and the association ratio of the development-side device to the server may be 1: 1.
Because the corresponding relation between the development end equipment and the server is preset, when the target page link is sent to the server, the target page link can be sent to the target server corresponding to the development end equipment according to the incidence relation between the development end equipment identification and the server identification in the target page link, so that the target page is displayed in the acceptance equipment.
In an embodiment of the present disclosure, after "sending the target page link to the target server corresponding to the development end device of the target page according to the target device identifier" in step 103, the method further includes:
step S104: and displaying first prompt information, wherein the first prompt information is used for prompting that the target page is successfully loaded to the target server.
It can be understood that, after the target page link is sent to the target server corresponding to the development end device of the target page, the target page may be considered to have been mapped into the PPE server, and the first prompt information that the target device has been successfully loaded into the target server may be displayed in the acceptance device, so that the target page is determined in the PPE server, so as to facilitate troubleshooting of the problem.
In an embodiment of the present disclosure, if the identifier of the target server is added to the target page link, "display first prompt information" in step S104 includes steps S104a-S104 b:
step S104a, if the target page link includes the identifier of the target server, the target page is loaded to the target server for display.
It can be understood that, in order to ensure that the target page link is successfully sent to the target server corresponding to the development end device of the target page, the acceptance device may receive the feedback of the target server after sending the target page link, and the feedback information of the target server includes the identifier of the target server, and then add the identifier of the target server to the target page link.
Therefore, after the preset time for sending the target page link to the target server, for example, after 2 seconds, if the target page link is detected to include the identifier of the target server, the target page is loaded to the target server for display, that is, the target page can be displayed in the acceptance check device.
Step S104b, and displaying the first prompt information in the display page of the target page.
In addition, first prompt information can be displayed in the target page, namely the target page is prompted to be loaded to the target server successfully.
In an actual use scene, an acceptance button may be set in the acceptance device, and an acceptance person may display the connection condition of the target page by triggering the acceptance button of the acceptance device, as shown in fig. 2, when the acceptance person clicks the acceptance button to perform acceptance, if the link of the target page includes the identifier of the target server, the target page and the first prompt information of the page connected to the PPE server may be displayed in the acceptance device, and the server name of the connected PPE server may also be displayed.
In an embodiment of the present disclosure, after "sending the target page link to the target server corresponding to the development end device of the target page according to the target device identifier" in step 103, the method further includes:
step S105, if the target page link does not contain the identification of the target server, loading the target page to a specified server other than the target server for display, and displaying second prompt information in the display page of the target page;
and the second prompt message is used for prompting that the target page is not loaded to the target server successfully.
It can be understood that, if the acceptance check device does not receive the feedback of the target server after sending the target page link, or the received feedback information of the server is not the feedback information of the target server, that is, the target page link is sent to a server other than the target server. At this time, the identifier of the target server cannot be obtained, and the identifier of the target server cannot be added to the link of the target page.
Therefore, after a preset time, for example, 2 seconds, for sending the target page link to the target server, if the target page link is detected not to include the identifier of the target server, the second prompt message that the target device is not successfully loaded to the target server may be displayed in the acceptance device.
In addition, if the feedback information of the server received at this time is feedback information of other servers except the target server, the target page may be displayed on the acceptance equipment corresponding to the other servers.
In an actual use scene, an acceptance button may be set in the acceptance device, and an acceptance person may display the connection condition of the target page by triggering the acceptance button of the acceptance device, as shown in fig. 3, when the acceptance person clicks the acceptance button to perform acceptance, if the link of the target page does not include the identifier of the target server, the second prompt information that the specific page and the target page are not connected to the PPE server may be displayed in the acceptance device.
An embodiment of the present disclosure provides a page processing apparatus, and as shown in fig. 4, the page processing apparatus 40 may include: an acquisition module 401, a generation module 402, and a sending module 403, wherein,
an obtaining module 401, configured to obtain a target page to be loaded;
when the acceptance device accepts a page, it usually first acquires a series of target pages. The target page may be a page having a development point when a developer develops a function of an application, or may be a secondary page in a development process, that is, the secondary page may not include the development point and only plays an auxiliary role.
A generating module 402, configured to generate a target page link of the target page if it is determined that the target page is a to-be-checked page, where the target page link includes a target device identifier, and the target device identifier is a device identifier of a development end device of the target page;
when the target page is determined to be a page to be checked, that is, the current target page includes the development point, a target page link of the target page may be generated for the target page at this time, so as to facilitate checking. And the target page link of the target page may further include a target device identifier, where the target device identifier may be a device identifier of a development device when a developer performs development, and the source of the target page may be determined by including the target page development origin device identifier in the generated target page link.
In an embodiment of the present disclosure, the generating module 402 may include:
and the determining submodule is used for determining that the target page is the page to be checked and accepted corresponding to any identifier if the initial page link of the target page comprises any identifier in the identifier list, and the identifier list comprises the page identifier of at least one page to be checked and accepted.
The identification list may be a preconfigured list, and the identification list may include a page identification of at least one page to be checked, and it can be understood that the page identification of at least one page to be checked included in the identification list is related to the development point.
In the process of determining whether the target page to be loaded is the page to be checked, the determination may be made according to whether the initial page link of the target page includes any identifier in the identifier list, that is, when the initial page link of the target page includes any identifier in the identifier list, the target page is determined to be the page to be checked.
The sending module 403 is configured to send the target page link to a target server corresponding to the development end device of the target page according to the target device identifier.
The target server corresponding to the development end device can be a server with a PPE (Product Preview Environment) function, the target page link is sent to the target server corresponding to the development end device of the target page according to the target device identification, the target page can be automatically connected to the PPE server, the target page can be displayed in the acceptance device, and the acceptance of an acceptance person is facilitated.
According to the method and the device, the target page link of the target page is generated under the condition that the target page to be loaded is the page to be checked and received, and the target page link is sent to the target server corresponding to the development end device of the target page according to the condition that the target page link comprises the device identification of the development end device of the target page, so that the process of mapping the target page to the target server is automatic, data do not need to be manually configured, and the checking and receiving efficiency of the target page is improved.
In one embodiment of the present disclosure, the sending module 403 may include:
the sending submodule is used for sending the target page link to a target server corresponding to the development end equipment of the target page according to the target equipment identification and the pre-established corresponding relation information;
the corresponding relation information comprises a corresponding relation between the equipment identification of the at least one development end equipment and the server identification of the at least one server.
It is understood that the correspondence between the development-side device and the server may be preset, for example, the device identifier of the development-side device may be associated with the server identifier of the server, and the association ratio of the development-side device to the server may be 1: 1.
Because the corresponding relation between the development end equipment and the server is preset, when the target page link is sent to the server, the target page link can be sent to the target server corresponding to the development end equipment according to the incidence relation between the development end equipment identification and the server identification in the target page link, so that the target page is displayed in the acceptance equipment.
In an embodiment of the present disclosure, the page processing apparatus 40 may further include:
the first display module is used for displaying first prompt information, wherein the first prompt information is used for prompting that the target page is successfully loaded to the target server.
It can be understood that, after the target page link is sent to the target server corresponding to the development end device of the target page, the target page may be considered to have been mapped into the PPE server, and the first prompt information that the target device has been successfully loaded into the target server may be displayed in the acceptance device, so that the target page is determined in the PPE server, so as to facilitate troubleshooting of the problem.
In one embodiment of the present disclosure, the first display module may include:
and the first display first sub-module is used for loading the target page to the target server for display if the target page link contains the identification of the target server.
It can be understood that, in order to ensure that the target page link is successfully sent to the target server corresponding to the development end device of the target page, the acceptance device may receive the feedback of the target server after sending the target page link, and the feedback information of the target server includes the identifier of the target server, and then add the identifier of the target server to the target page link.
Therefore, after the target page link is sent to the target server for a preset time, for example, 2 seconds, if the target page link is detected to include the identifier of the target server, the target page is loaded to the target server for display, that is, the target page can be displayed in the acceptance equipment.
And the first display second sub-module is used for displaying the first prompt message in the display page of the target page.
In addition, first prompt information can be displayed in the target page, namely the target page is prompted to be loaded to the target server successfully.
In an actual use scene, an acceptance button may be set in the acceptance device, and an acceptance person may display the connection condition of the target page by triggering the acceptance button of the acceptance device, as shown in fig. 2, when the acceptance person clicks the acceptance button to perform acceptance, if the link of the target page includes the identifier of the target server, the target page and the first prompt information of the page connected to the PPE server may be displayed in the acceptance device, and the server name of the connected PPE server may also be displayed.
In an embodiment of the present disclosure, the page processing apparatus 40 further includes:
the second display module is used for loading the target page to a specified server other than the target server for display if the target page link does not contain the identifier of the target server, and displaying second prompt information in the display page of the target page;
and the second prompt message is used for prompting that the target page is not loaded to the target server successfully.
It can be understood that, if the acceptance check device does not receive the feedback of the target server after sending the target page link, or the received feedback information of the server is not the feedback information of the target server, that is, the target page link is sent to a server other than the target server. At this time, the identifier of the target server cannot be obtained, and the identifier of the target server cannot be added to the link of the target page.
Therefore, after the target page link is sent to the target server for a preset time, for example, 2 seconds, if the target page link is detected not to include the identifier of the target server, the second prompt message that the target device is not successfully loaded to the target server may be displayed in the acceptance device.
In addition, if the feedback information of the server received at this time is feedback information of other servers except the target server, the target page may be displayed on the acceptance equipment corresponding to the other servers.
In an actual use scene, an acceptance button may be set in the acceptance device, and an acceptance person may display the connection condition of the target page by triggering the acceptance button of the acceptance device, as shown in fig. 3, when the acceptance person clicks the acceptance button to perform acceptance, if the link of the target page does not include the identifier of the target server, the second prompt information that the specific page and the target page are not connected to the PPE server may be displayed in the acceptance device.
Referring now to FIG. 5, a block diagram of an electronic device 500 suitable for use in implementing embodiments of the present disclosure is shown. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., car navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
The electronic device includes: a memory and a processor, wherein the processor may be referred to as a processing device 501 described below, and the memory may include at least one of a Read Only Memory (ROM)502, a Random Access Memory (RAM)503, and a storage device 508, which are described below:
as shown in fig. 5, electronic device 500 may include a processing means (e.g., central processing unit, graphics processor, etc.) 501 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage means 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the electronic apparatus 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
Generally, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 507 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; storage devices 508 including, for example, magnetic tape, hard disk, etc.; and a communication device 509. The communication means 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 illustrates an electronic device 500 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 509, or installed from the storage means 508, or installed from the ROM 502. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 501.
It should be noted that the computer readable medium in the present disclosure 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 present disclosure, 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 contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also 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: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to:
acquiring a target page to be loaded;
if the target page is determined to be a page to be checked, generating a target page link of the target page, wherein the target page link comprises a target equipment identifier which is an equipment identifier of development end equipment of the target page;
and sending the target page link to a target server corresponding to the development end equipment of the target page according to the target equipment identification.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
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 disclosure. 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 and/or flowchart illustration, and combinations of blocks in the block diagrams and/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 modules or units described in the embodiments of the present disclosure may be implemented by software or hardware. Wherein the designation of a module or unit does not in some cases constitute a limitation of the unit itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on 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.
According to one or more embodiments of the present disclosure, there is provided a page processing method, including:
acquiring a target page to be loaded;
if the target page is determined to be a page to be checked, generating a target page link of the target page, wherein the target page link comprises a target equipment identifier which is an equipment identifier of development end equipment of the target page;
and sending the target page link to a target server corresponding to the development end equipment of the target page according to the target equipment identification.
In one embodiment of the present disclosure, determining that the target page is a page to be checked includes:
and if the initial page link of the target page comprises any identifier in the identifier list, and the identifier list comprises the page identifier of at least one page to be checked, determining that the target page is the page to be checked corresponding to any identifier.
In an embodiment of the present disclosure, sending a target page link to a target server corresponding to a development end device of a target page according to a target device identifier includes:
according to the target equipment identification and the pre-established corresponding relation information, the target page link is sent to a target server corresponding to the development end equipment of the target page;
the corresponding relation information comprises a corresponding relation between the equipment identification of the at least one development end equipment and the server identification of the at least one server.
In an embodiment of the present disclosure, after sending the target page link to the target server corresponding to the development end device of the target page, the method further includes:
and displaying first prompt information, wherein the first prompt information is used for prompting that the target page is successfully loaded to the target server.
In an embodiment of the present disclosure, if an identifier of a target server is added to a link of a target page, displaying a first prompt message, including:
and if the target page link contains the identifier of the target server, loading the target page to the target server for display, and displaying the first prompt information in the display page of the target page.
In one embodiment of the disclosure, if the target page link does not contain the identifier of the target server, the target page is loaded to a specified server other than the target server for display, and second prompt information is displayed in the display page of the target page;
and the second prompt message is used for prompting that the target page is not loaded to the target server successfully.
According to one or more embodiments of the present disclosure, there is provided a page processing apparatus including:
the acquisition module is used for acquiring a target page to be loaded;
the generating module is used for generating a target page link of the target page if the target page is determined to be a page to be checked, wherein the target page link comprises a target device identifier which is a device identifier of development end equipment of the target page;
and the sending module is used for sending the target page link to a target server corresponding to the development end equipment of the target page according to the target equipment identification.
In one embodiment of the disclosure, the generating module includes:
and the determining submodule is used for determining that the target page is the page to be checked and accepted corresponding to any identifier if the initial page link of the target page comprises any identifier in the identifier list, and the identifier list comprises the page identifier of at least one page to be checked and accepted.
In one embodiment of the present disclosure, the transmitting module includes:
the sending submodule is used for sending the target page link to a target server corresponding to the development end equipment of the target page according to the target equipment identification and the pre-established corresponding relation information;
the corresponding relation information comprises a corresponding relation between the equipment identification of the at least one development end equipment and the server identification of the at least one server.
In one embodiment of the present disclosure, the page processing apparatus further includes:
the first display module is used for displaying first prompt information, wherein the first prompt information is used for prompting that the target page is successfully loaded to the target server.
In one embodiment of the present disclosure, the first display module includes:
and the first display sub-module is used for loading the target page to the target server for display if the target page link contains the identifier of the target server, and displaying the first prompt message in the display page of the target page.
In one embodiment of the present disclosure, the page processing apparatus further includes:
the second display module is used for loading the target page to a specified server other than the target server for display if the target page link does not contain the identifier of the target server, and displaying second prompt information in the display page of the target page;
and the second prompt message is used for prompting that the target page is not loaded to the target server successfully.
According to one or more embodiments of the present disclosure, there is provided a page processing electronic device including:
one or more processors;
a memory;
one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform operations corresponding to the method of page processing as shown in the present disclosure.
According to one or more embodiments of the present disclosure, there is provided a page processing storable medium having stored thereon a computer program that, when executed by a processor, implements the page processing method shown in the present disclosure.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (10)

1. A page processing method is characterized by comprising the following steps:
acquiring a target page to be loaded;
if the target page is determined to be a page to be checked, generating a target page link of the target page, wherein the target page link comprises a target equipment identifier, and the target equipment identifier is an equipment identifier of development end equipment of the target page;
and sending the target page link to a target server corresponding to the development end equipment of the target page according to the target equipment identification.
2. The method of claim 1, wherein said determining that the target page is a to-be-checked page comprises:
and if the initial page link of the target page comprises any identifier in an identifier list, wherein the identifier list comprises the page identifier of at least one page to be checked, determining that the target page is the page to be checked corresponding to any identifier.
3. The method according to claim 1, wherein the sending the target page link to a target server corresponding to a development end device of the target page according to the target device identifier includes:
sending the target page link to a target server corresponding to the development end equipment of the target page according to the target equipment identification and the pre-established corresponding relation information;
wherein the correspondence information includes a correspondence between a device identifier of the at least one development-side device and a server identifier of the at least one server.
4. The method according to any one of claims 1 to 3, wherein after the sending the target page link to the target server corresponding to the development end device of the target page, the method further comprises:
and displaying first prompt information, wherein the first prompt information is used for prompting that the target page is successfully loaded to the target server.
5. The method of claim 4, wherein if the identification of the target server is added to the target page link, displaying the first prompt message comprises:
and if the target page link contains the identification of the target server, loading the target page to the target server for display, and displaying the first prompt message in the display page of the target page.
6. The method of claim 5, further comprising:
if the target page link does not contain the identification of the target server, loading the target page to a specified server other than the target server for display, and displaying second prompt information in the display page of the target page;
and the second prompt message is used for prompting that the target page is not loaded to the target server successfully.
7. A page processing apparatus, comprising:
the acquisition module is used for acquiring a target page to be loaded;
the generating module is used for generating a target page link of the target page if the target page is determined to be a page to be checked, wherein the target page link comprises a target device identifier, and the target device identifier is a device identifier of development end equipment of the target page;
and the sending module is used for sending the target page link to a target server corresponding to the development end equipment of the target page according to the target equipment identification.
8. The apparatus of claim 7, further comprising:
and the display module is used for displaying first prompt information, wherein the first prompt information is used for prompting that the target page is successfully loaded to the target server.
9. An electronic device, comprising:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to: executing the page acceptance method according to any one of claims 1 to 6.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the page checking method of any one of claims 1 to 6.
CN202010746910.XA 2020-07-29 2020-07-29 Page processing method and device, electronic equipment and computer readable storage medium Pending CN114090139A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010746910.XA CN114090139A (en) 2020-07-29 2020-07-29 Page processing method and device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010746910.XA CN114090139A (en) 2020-07-29 2020-07-29 Page processing method and device, electronic equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN114090139A true CN114090139A (en) 2022-02-25

Family

ID=80294872

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010746910.XA Pending CN114090139A (en) 2020-07-29 2020-07-29 Page processing method and device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114090139A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100250728A1 (en) * 2009-03-26 2010-09-30 Inventec Corporation Method for controlling web page operation in browser/server architecture
US20110158469A1 (en) * 2009-12-29 2011-06-30 Mastykarz Justin P Methods and apparatus for management of field operations, projects and/or collected samples
CN108228305A (en) * 2018-02-02 2018-06-29 广东欧珀移动通信有限公司 Display methods, device, storage medium and the electronic equipment of five application page
CN108255896A (en) * 2017-02-06 2018-07-06 广州市动景计算机科技有限公司 Webpage pre-head method, Web access method, equipment and electronic equipment
CN110297759A (en) * 2019-05-22 2019-10-01 深圳壹账通智能科技有限公司 A kind of method, apparatus making test page script, equipment and storage medium
CN110362488A (en) * 2019-07-12 2019-10-22 北京字节跳动网络技术有限公司 A kind of page test method, device, electronic equipment and storage medium
CN110633219A (en) * 2019-09-24 2019-12-31 网易(杭州)网络有限公司 Page testing method and device, storage medium and electronic equipment
CN110716850A (en) * 2018-07-11 2020-01-21 腾讯科技(深圳)有限公司 Page testing method, device and system and storage medium
CN111416756A (en) * 2020-03-13 2020-07-14 深圳市腾讯信息技术有限公司 Protocol testing method, device, computer equipment and storage medium
CN111444103A (en) * 2020-03-31 2020-07-24 腾讯音乐娱乐科技(深圳)有限公司 Automatic testing method for Web page and related equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100250728A1 (en) * 2009-03-26 2010-09-30 Inventec Corporation Method for controlling web page operation in browser/server architecture
US20110158469A1 (en) * 2009-12-29 2011-06-30 Mastykarz Justin P Methods and apparatus for management of field operations, projects and/or collected samples
CN108255896A (en) * 2017-02-06 2018-07-06 广州市动景计算机科技有限公司 Webpage pre-head method, Web access method, equipment and electronic equipment
CN108228305A (en) * 2018-02-02 2018-06-29 广东欧珀移动通信有限公司 Display methods, device, storage medium and the electronic equipment of five application page
CN110716850A (en) * 2018-07-11 2020-01-21 腾讯科技(深圳)有限公司 Page testing method, device and system and storage medium
CN110297759A (en) * 2019-05-22 2019-10-01 深圳壹账通智能科技有限公司 A kind of method, apparatus making test page script, equipment and storage medium
CN110362488A (en) * 2019-07-12 2019-10-22 北京字节跳动网络技术有限公司 A kind of page test method, device, electronic equipment and storage medium
CN110633219A (en) * 2019-09-24 2019-12-31 网易(杭州)网络有限公司 Page testing method and device, storage medium and electronic equipment
CN111416756A (en) * 2020-03-13 2020-07-14 深圳市腾讯信息技术有限公司 Protocol testing method, device, computer equipment and storage medium
CN111444103A (en) * 2020-03-31 2020-07-24 腾讯音乐娱乐科技(深圳)有限公司 Automatic testing method for Web page and related equipment

Similar Documents

Publication Publication Date Title
CN111679990B (en) Test data generation method and device, readable medium and electronic equipment
CN115640285B (en) Power abnormality information transmission method, device, electronic equipment and medium
CN111309304B (en) Method, device, medium and electronic equipment for generating IDL file
CN111596992B (en) Navigation bar display method and device and electronic equipment
CN116700907B (en) Service call demand document storage method, device, electronic equipment and readable medium
CN110083768B (en) Information sharing method, device, equipment and medium
CN111798251A (en) Verification method and device of house source data and electronic equipment
CN111444457B (en) Data release method and device, storage medium and electronic equipment
CN114090139A (en) Page processing method and device, electronic equipment and computer readable storage medium
CN113518183A (en) Camera calling method and device and electronic equipment
CN112732457A (en) Image transmission method, image transmission device, electronic equipment and computer readable medium
CN112346661A (en) Data processing method and device and electronic equipment
CN113704079A (en) Interface testing method and device based on Protobuf
CN113391860A (en) Service request processing method and device, electronic equipment and computer storage medium
CN111163156A (en) Data processing method, device and storage medium based on block chain
CN111314021A (en) Data transmission method and device, electronic equipment and computer readable storage medium
CN111400322B (en) Method, apparatus, electronic device and medium for storing data
CN114253520B (en) Interface code generation method and device
CN113157365B (en) Program running method, program running device, electronic equipment and computer readable medium
CN114356788B (en) Application program detection method, device, equipment and medium based on user information
CN111581305B (en) Feature processing method, device, electronic equipment and medium
CN112084440B (en) Data verification method, device, electronic equipment and computer readable medium
CN112486826B (en) Test method, test device, electronic equipment and computer readable medium
CN110855767B (en) Method, device, equipment and storage medium for responding operation request
CN111078259B (en) Audio packaging method and device, electronic equipment and storage medium

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant after: Tiktok vision (Beijing) Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant before: BEIJING BYTEDANCE NETWORK TECHNOLOGY Co.,Ltd.

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant after: Douyin Vision Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant before: Tiktok vision (Beijing) Co.,Ltd.