Movatterモバイル変換


[0]ホーム

URL:


CN111309323A - Parameter initialization method and device and electronic equipment - Google Patents

Parameter initialization method and device and electronic equipment
Download PDF

Info

Publication number
CN111309323A
CN111309323ACN202010062205.8ACN202010062205ACN111309323ACN 111309323 ACN111309323 ACN 111309323ACN 202010062205 ACN202010062205 ACN 202010062205ACN 111309323 ACN111309323 ACN 111309323A
Authority
CN
China
Prior art keywords
page
code file
parameter
transmitted
predefined format
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.)
Granted
Application number
CN202010062205.8A
Other languages
Chinese (zh)
Other versions
CN111309323B (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.)
Beijing Youzhuju Network Technology Co Ltd
Original Assignee
Beijing Infinite Light Field 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 Infinite Light Field Technology Co LtdfiledCriticalBeijing Infinite Light Field Technology Co Ltd
Priority to CN202010062205.8ApriorityCriticalpatent/CN111309323B/en
Publication of CN111309323ApublicationCriticalpatent/CN111309323A/en
Application grantedgrantedCritical
Publication of CN111309323BpublicationCriticalpatent/CN111309323B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The embodiment of the disclosure discloses a parameter initialization method, a parameter initialization device and electronic equipment. One embodiment of the method comprises: according to annotation information in a predefined format contained in the code file of the first page, determining parameters to be initialized in the code file of the first page; generating parameter information to be transmitted of the second page to the first page according to annotation information in a predefined format contained in a code file of the second page; and initializing the parameters to be initialized in the code file of the first page according to the parameter information to be transmitted. The implementation reduces the complexity of initializing the parameter to be initialized in the code file of the first page.

Description

Parameter initialization method and device and electronic equipment
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a parameter initialization method, an apparatus, and an electronic device.
Background
With the development of internet technology, a web application (web application) or a client application (client application) may provide more complex functions. Meaning that the code file of the web application or the code file of the client application needs to carry more code to implement more complex functions.
In the development process of a web application or a client application, related parameters contained in a code file of a page generally need to be initialized.
Disclosure of Invention
This disclosure is provided to introduce concepts in a simplified form that are further described below in the detailed description. This disclosure is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
The embodiment of the disclosure provides a parameter initialization method, a parameter initialization device and electronic equipment, which reduce the complexity of initializing parameters to be initialized in a code file of a first page.
In a first aspect, an embodiment of the present disclosure provides a parameter initialization method, including: according to annotation information in a predefined format contained in the code file of the first page, determining parameters to be initialized in the code file of the first page; generating parameter information to be transmitted of the second page to the first page according to annotation information in a predefined format contained in a code file of the second page; and initializing the parameters to be initialized in the code file of the first page according to the parameter information to be transmitted.
In a second aspect, an embodiment of the present disclosure provides a parameter initialization apparatus, including: the determining unit is used for determining parameters to be initialized in the code file of the first page according to the annotation information in the predefined format contained in the code file of the first page; the first generating unit is used for generating parameter information to be transmitted from the second page to the first page according to the annotation information in the predefined format contained in the code file of the second page; and the initialization unit is used for initializing the parameters to be initialized in the code file of the first page according to the parameter information to be transmitted.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: one or more processors; storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to carry out the parameter initialization method as described in the first aspect.
In a fourth aspect, the disclosed embodiments provide a computer readable medium, on which a computer program is stored, which when executed by a processor, implements the steps of the parameter initialization method according to the first aspect.
According to the parameter initialization method, the parameter initialization device and the electronic equipment, firstly, the parameter to be initialized in the code file of the first page is determined according to the annotation information in the predefined format contained in the code file of the first page, then the parameter information to be transmitted of the second page to be transmitted to the first page is generated according to the annotation information in the predefined format contained in the code file of the second page, and then the parameter to be initialized in the code file of the first page is initialized according to the generated parameter information to be transmitted. Therefore, the initialization of the parameter to be initialized in the code file of the first page is realized on the premise of not needing to additionally analyze the code file. The complexity of initializing the parameters to be initialized in the code file of the first page is further reduced.
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 flow diagram of one embodiment of a parameter initialization method according to the present disclosure;
FIG. 2 is a schematic diagram of one application scenario of a parameter initialization method according to the present disclosure;
FIG. 3 is a flow diagram of yet another embodiment of a parameter initialization method according to the present disclosure;
FIG. 4 is a schematic diagram illustrating an embodiment of a parameter initialization apparatus according to the present disclosure;
FIG. 5 is an exemplary system architecture to which the parameter initialization method of one embodiment of the present disclosure may be applied;
fig. 6 is a schematic diagram of a basic structure of an electronic device provided 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 different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed 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.
Referring to fig. 1, a flow diagram of one embodiment of a parameter initialization method according to the present disclosure is shown. The parameter initialization method as shown in fig. 1 includes the following steps:
step 101, according to the annotation information in the predefined format contained in the code file of the first page, determining the parameter to be initialized in the code file of the first page.
In this embodiment, the electronic device executing the parameter initialization method may determine annotation information in a predefined format contained in the code file of the first page.
The code file may be a file in which the code encoding the page is located. It will be appreciated that the code file for the first page may be the file in which the code encoding the first page is located.
The annotation information may be information explaining parameters and parameter values in the code file. It will be appreciated that the annotation information may be information contained in the code file, rather than information contained in other files. The predefined format may be a predefined format.
In some scenarios, the electronic device performing the parameter initialization method may first determine annotation information contained in the code file of the first page and then determine annotation information in a predefined format therefrom.
In this embodiment, after determining the annotation information in the predefined format contained in the code file of the first page, the electronic device executing the parameter initialization method may further determine the parameter to be initialized in the code file of the first page.
In some scenarios, the annotation information in the predefined format may include information on whether the parameter needs to be initialized. At this time, the electronic device executing the parameter initialization method may determine the parameter to be initialized in the code file of the first page according to the annotation information in the predefined format included in the code file of the first page. In some implementations, in response to detecting a trigger operation of jumping from the second page to the first page, the electronic device executing the parameter initialization method may determine the parameter to be initialized in the code file of the first page according to annotation information in a predefined format contained in the code file of the first page.
The triggering operation may be a single-machine operation, a double-click operation, a sliding operation, or the like performed by a technician on a control pre-specified in the second page during the page opening process. It is understood that after the technician performs the operation on the pre-specified control in the second page, the second page may be triggered to jump to the first page.
In these implementations, in response to detecting a trigger operation of the second page jumping to the first page, the parameter to be initialized in the code file of the first page is determined, which means that the parameter to be initialized in the code file of the first page is determined at a timing when the second page jumps to the first page. Therefore, the initialization of the parameter to be initialized in the code file of the first page is realized according to the parameter information to be transmitted from the second page to the first page at the time when the second page jumps to the first page.
And 102, generating parameter information to be transmitted of the second page to the first page according to the annotation information in the predefined format contained in the code file of the second page.
In this embodiment, the electronic device executing the parameter initialization method may determine annotation information in a predefined format contained in the code file of the second page in a manner similar to that described instep 101. And will not be described in detail herein.
In this embodiment, after determining the annotation information in the predefined format included in the code file of the second page, the electronic device executing the parameter initialization method may generate the parameter information to be transferred, of the second page to the first page according to the determined annotation information in the predefined format.
The parameter information to be transmitted may be information including a parameter to be transmitted and a corresponding parameter value to be transmitted. In practice, the first page may be a page displayed on the basis of the second page. Therefore, before the first page is displayed, the relevant parameters and corresponding parameter values of the second page need to be transferred to the first page.
In some scenarios, the electronic device executing the parameter initialization method may combine the parameter indicated by the parameter information to be transferred and the corresponding parameter value into a key-value pair, and then use the information including the key-value pair as the generated parameter information to be transferred.
It should be noted that the electronic device executing the parameter initialization method may executestep 101 and step 102 in parallel, or may executestep 101 and step 102 respectively according to a certain sequence. And is not particularly limited herein.
Step 103, initializing the parameter to be initialized in the code file of the first page according to the parameter information to be transmitted.
In this embodiment, the electronic device executing the parameter initialization method may initialize the parameter to be initialized in the code file of the first page according to the parameter information to be transmitted.
In some scenarios, for a parameter to be initialized in a code file of a first page, the electronic device executing the parameter initialization method may determine a parameter value corresponding to the parameter from the determined parameter information to be transmitted, and then use the determined parameter value as an initial value of the parameter.
In some implementations, after performingstep 103, the electronic device performing the parameter initialization method may display the first page according to the code file after the initialization parameter of the first page.
In the implementation manners, firstly, the parameter to be initialized in the code file of the first page is initialized according to the parameter information to be transferred from the second page to the first page, and then the first page is displayed according to the code file after the parameter is initialized. Therefore, the display of the first page is realized on the basis of the second page.
Referring to fig. 2, an application scenario of a parameter initialization method according to an embodiment of the present disclosure is shown. As shown in fig. 2, theterminal device 201 may determine theparameter 203 to be initialized in thecode file 202 of the first page according to theannotation information 2021 in a predetermined format contained in thecode file 202 of the first page. Theterminal device 201 may further generateparameter information 205 to be transferred from the second page to the first page according to theannotation information 2041 in the predefined format included in thecode file 204 of the second page. Further, theterminal device 201 may initialize theparameter 203 to be initialized in the code file of the first page according to theparameter information 205 to be transmitted.
In order to initialize the parameters to be initialized contained in the code file of the page, in the related technology, parameter information for initializing the parameters to be initialized contained in the code file of the page is analyzed by analyzing the analysis codes contained in the code file, and then the parameters to be initialized in the code file of the page are initialized according to the analyzed parameter information.
In this embodiment, the parameter to be initialized in the code file of the first page is determined through the annotation information in the predefined format in the code file of the first page, the parameter information to be transferred from the second page to the first page is determined through the annotation information in the predefined format in the code file of the second page, and further, the determined parameter to be initialized is initialized according to the determined parameter information to be transferred. Therefore, on the premise of not needing to additionally analyze the code file, the initialization of the parameter to be initialized in the code file of the first page is realized through the parameter information to be transmitted from the second page to the first page. On one hand, the analysis code file does not need to be additionally analyzed, so that the complexity of initializing the parameters to be initialized in the code file of the first page is reduced. On the other hand, the analysis code file does not need to be additionally stored, so that the occupation of storage space is reduced.
Continuing to refer to fig. 3, a flow diagram of yet another embodiment of a parameter initialization method in accordance with the present disclosure is shown. As shown in fig. 3, the parameter initialization method includes the following steps:
step 301, processing the annotation information in the predefined format contained in the code file of the second page to generate the target class.
In this embodiment, the execution subject of the parameter initialization method may generate a target class (class) according to the annotation information in the predefined format included in the code file of the second page.
The target class may be used to determine a parameter to be transferred of the second page and a corresponding parameter value to be transferred. Here, the target class may be a carrier encapsulating the parameter to be transferred of the second page and the corresponding parameter value to be transferred.
In some scenarios, the execution subject of the parameter initialization method may embed a program for generating a target class in advance, and further, the program processes annotation information in a predefined format included in the code file of the second page to generate a target.
In some implementations, the execution body of the parameter initialization method may perform step 301 as follows.
Specifically, the execution subject of the parameter initialization method may process annotation information in a predefined format included in the code file of the second page by a compiler that compiles the code file of the second page, and generate the target class.
In these implementations, the target class may be generated during compilation of the code file of the second page. Meaning that the target class may be generated on the basis of the compilation result of the code file in conjunction with the second page. Thereby improving the accuracy of generating the target class.
Step 302, according to the annotation information in the predefined format contained in the code file of the first page, determining the parameter to be initialized in the code file of the first page.
Step 302 may be performed in a similar manner asstep 101 in the embodiment shown in fig. 1, and the above description forstep 101 also applies to step 302, which is not described herein again.
Step 303, determining a parameter to be transmitted of the second page to the first page and a corresponding parameter value to be transmitted through the target class.
In this embodiment, the execution body of the parameter initialization method may call the target class, and determine the parameter to be transferred of the second page to the first page and the corresponding parameter value to be transferred.
Step 304, generating parameter information to be transmitted according to the parameter to be transmitted to the first page and the corresponding parameter value to be transmitted.
In this embodiment, the execution body of the parameter initialization method may generate the parameter information to be transmitted according to the parameter to be transmitted to the first page and the corresponding parameter value to be transmitted.
In some scenarios, the electronic device executing the parameter initialization method may combine the determined parameter to be transferred and the corresponding parameter value to be transferred into a key-value pair, and then use information including the key-value pair as the generated parameter information to be transferred.
Step 305, initializing the parameter to be initialized in the code file of the first page according to the parameter information to be transmitted.
Step 305 may be performed in a similar manner asstep 103 in the embodiment shown in fig. 1, and the above description forstep 103 also applies to step 305, which is not described herein again.
In this embodiment, a target class is generated through annotation information in a predefined format included in a code file of a second page, a parameter to be transferred of the second page to a first page and a corresponding parameter value to be transferred are determined by calling the target class, and parameter information to be transferred of the second page to the first page is generated through the determined parameter to be transferred and the corresponding parameter value to be transferred. Therefore, the parameter information to be transmitted of the second page to the first page can be generated on the basis of calling the target class. When the number of the parameters to be transmitted (or the parameter values to be transmitted) is large, the target class is called, so that the complexity of generating the parameter information to be transmitted can be reduced, and the complexity of initializing the parameters to be initialized in the code file of the first page is further reduced.
With further reference to fig. 4, as an implementation of the methods shown in the above-mentioned figures, the present disclosure provides an embodiment of a parameter initialization apparatus, which corresponds to the embodiment of the method shown in fig. 1, and which can be applied in various electronic devices.
As shown in fig. 4, the parameter initialization apparatus of the present embodiment includes:determination section 401,first generation section 402, andinitialization section 403. Wherein the determiningunit 401 may be configured to: and determining parameters to be initialized in the code file of the first page according to the annotation information in the predefined format contained in the code file of the first page. Thefirst generating unit 402 may be configured to: and generating parameter information to be transmitted of the second page to the first page according to the annotation information in the predefined format contained in the code file of the second page. Theinitialization unit 403 may be configured to: and initializing the parameters to be initialized in the code file of the first page according to the parameter information to be transmitted.
In this embodiment, the specific processes of the determiningunit 401, thefirst generating unit 402, and the initializingunit 403 of the parameter initialization apparatus and the technical effects thereof can refer to the related descriptions ofstep 101,step 102, and step 103 in the corresponding embodiment of fig. 1, which are not described herein again.
In some implementations, the parameter initialization may further include a second generation unit (not shown in the figure). The second generating unit may be to: and processing the annotation information in the predefined format contained in the code file of the second page to generate a target class, wherein the target class is used for determining the parameters to be transmitted and the corresponding parameter values to be transmitted of the second page. Thefirst generating unit 402 may be further configured to: determining a parameter to be transmitted of a second page to a first page and a corresponding parameter value to be transmitted through a target class; and generating parameter information to be transmitted according to the parameter to be transmitted to the first page and the corresponding parameter value to be transmitted.
In some implementations, the second generating unit may be further to: and processing the annotation information in the predefined format contained in the code file of the second page through a compiler which compiles the code file of the second page.
In some implementations, the determiningunit 401 may be further configured to: and in response to the trigger operation of detecting that the second page jumps to the first page, determining the parameter to be initialized in the code file of the first page according to the annotation information in the predefined format contained in the code file of the first page.
In some implementations, the parameter initialization apparatus may further include: a display unit (not shown in the figure). The display unit may be configured to: and displaying the first page according to the code file after the initialization parameters of the first page.
With further reference to fig. 5, fig. 5 illustrates an exemplary system architecture to which the parameter initialization method of one embodiment of the present disclosure may be applied.
As shown in fig. 5, the system architecture may include aterminal device 501, anetwork 502, and aserver 503. Thenetwork 502 serves as a medium for providing communication links between theterminal devices 501 and theserver 503.Network 502 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
Terminal device 501 may interact withserver 503 overnetwork 502 to receive or send messages and the like. Various client applications, such as a web browser application, a search-class application, and a code file parsing-class application, may be installed on theterminal device 501. The client application in theterminal device 501 may initialize the parameter to be initialized in the code file of the first page according to the annotation information included in the code file of the second page and the code file of the first page.
Theterminal device 501 may be hardware or software. When theterminal device 501 is hardware, it may be various electronic devices having a display screen and supporting web browsing, including but not limited to a smart phone, a tablet computer, a laptop portable computer, a desktop computer, and the like. When theterminal device 501 is software, it can be installed in the electronic devices listed above. It may be implemented as multiple pieces of software or software modules (e.g., software or software modules used to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
Theserver 503 may be a server that provides various services. For example, theserver 503 may provide theterminal device 501 with a code file of a first page and a code file of a second page.
In some scenarios, theterminal device 501 may retrieve the code file for the first page and the code file for the second page locally. At this time, the system architecture shown in fig. 5 may not include thenetwork 502 and theserver 503.
Theserver 503 may be hardware or software. When theserver 503 is hardware, it may be implemented as a distributed server cluster composed of multiple servers, or may be implemented as a single server. When theserver 503 is software, it may be implemented as multiple pieces of software or software modules (e.g., multiple pieces of software or software modules used to provide distributed services), or as a single piece of software or software module. And is not particularly limited herein.
It should be noted that the parameter initialization method provided by the embodiment of the present disclosure may be executed by theterminal device 501, and accordingly, the parameter initialization apparatus may be disposed in theterminal device 501.
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.
Referring now to fig. 6, shown is a schematic diagram of an electronic device (e.g., the terminal device of fig. 5) suitable for use in implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. 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 disclosure.
As shown in fig. 6, the electronic device may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 601, which may 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 means 608 into a Random Access Memory (RAM) 603. In the RAM603, various programs and data necessary for the operation of the electronic apparatus 600 are also stored. The processing device 601, theROM 602, and the RAM603 are connected to each other via a bus 604. An input/output (I/O)interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605:input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.;output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like;storage 608 including, for example, tape, hard disk, etc.; and acommunication device 609. The communication means 609 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. While fig. 6 illustrates an electronic device 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 609, or may be installed from the storage means 608, or may be installed from theROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
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 be interconnected 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: according to annotation information in a predefined format contained in the code file of the first page, determining parameters to be initialized in the code file of the first page; generating parameter information to be transmitted of the second page to the first page according to annotation information in a predefined format contained in a code file of the second page; and initializing the parameters to be initialized in the code file of the first page according to the parameter information to be transmitted.
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 units described in the embodiments of the present disclosure may be implemented by software or hardware. In this case, the name of the unit does not constitute a limitation to the unit itself, and for example, the determining unit may be further described as a unit that determines the parameter to be initialized in the code file of the first page according to the annotation information in the predefined format included in the code file of the first page.
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.
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 (12)

CN202010062205.8A2020-01-192020-01-19Parameter initialization method and device and electronic equipmentActiveCN111309323B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202010062205.8ACN111309323B (en)2020-01-192020-01-19Parameter initialization method and device and electronic equipment

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202010062205.8ACN111309323B (en)2020-01-192020-01-19Parameter initialization method and device and electronic equipment

Publications (2)

Publication NumberPublication Date
CN111309323Atrue CN111309323A (en)2020-06-19
CN111309323B CN111309323B (en)2023-12-12

Family

ID=71148881

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202010062205.8AActiveCN111309323B (en)2020-01-192020-01-19Parameter initialization method and device and electronic equipment

Country Status (1)

CountryLink
CN (1)CN111309323B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112579061A (en)*2020-12-172021-03-30青岛以萨数据技术有限公司Method, device, system and storage medium for data transmission between android components

Citations (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
KR20030069444A (en)*2002-02-202003-08-27주식회사 벤처브레인System of multipage electronic bulletin board using annotation with web
US20050134606A1 (en)*2003-12-192005-06-23Palo Alto Research Center, IncorporatedSystems and method for annotating pages in a three-dimensional electronic document
US20050223029A1 (en)*2004-04-052005-10-06Bull, S.A.Recognition and referencing method for access to dynamic objects in pages to be browsed on internet
CN103377182A (en)*2012-04-272013-10-30北大方正集团有限公司Streaming page number typesetting method and device
CN103399777A (en)*2013-06-282013-11-20华中科技大学Virtual instrument measuring system and method based on intelligent terminal
CN106528124A (en)*2016-10-262017-03-22广东广新信息产业股份有限公司Page template release method and system
CN106528261A (en)*2016-12-022017-03-22武汉斗鱼网络科技有限公司Application page initialization compiling and controlling device and method
CN107729230A (en)*2017-09-182018-02-23郑州云海信息技术有限公司A kind of WEB automatic test devices and method of testing based under control scheme
CN110704102A (en)*2019-09-122020-01-17北京字节跳动网络技术有限公司Page jump protocol interface document generation method, system, medium and electronic device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
KR20030069444A (en)*2002-02-202003-08-27주식회사 벤처브레인System of multipage electronic bulletin board using annotation with web
US20050134606A1 (en)*2003-12-192005-06-23Palo Alto Research Center, IncorporatedSystems and method for annotating pages in a three-dimensional electronic document
US20050223029A1 (en)*2004-04-052005-10-06Bull, S.A.Recognition and referencing method for access to dynamic objects in pages to be browsed on internet
CN103377182A (en)*2012-04-272013-10-30北大方正集团有限公司Streaming page number typesetting method and device
CN103399777A (en)*2013-06-282013-11-20华中科技大学Virtual instrument measuring system and method based on intelligent terminal
CN106528124A (en)*2016-10-262017-03-22广东广新信息产业股份有限公司Page template release method and system
CN106528261A (en)*2016-12-022017-03-22武汉斗鱼网络科技有限公司Application page initialization compiling and controlling device and method
CN107729230A (en)*2017-09-182018-02-23郑州云海信息技术有限公司A kind of WEB automatic test devices and method of testing based under control scheme
CN110704102A (en)*2019-09-122020-01-17北京字节跳动网络技术有限公司Page jump protocol interface document generation method, system, medium and electronic device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112579061A (en)*2020-12-172021-03-30青岛以萨数据技术有限公司Method, device, system and storage medium for data transmission between android components

Also Published As

Publication numberPublication date
CN111309323B (en)2023-12-12

Similar Documents

PublicationPublication DateTitle
CN111338623B (en)Method, device, medium and electronic equipment for developing user interface
CN111309304B (en)Method, device, medium and electronic equipment for generating IDL file
CN110960855B (en)Communication protocol code updating method and device, electronic equipment and storage medium
CN113392018B (en)Traffic distribution method and device, storage medium and electronic equipment
CN111581555B (en)Document loading method, device, equipment and storage medium
CN111367516B (en)Application interface generation method and device and electronic equipment
CN112684968A (en)Page display method and device, electronic equipment and computer readable medium
CN111459364B (en)Icon updating method and device and electronic equipment
CN113391860A (en)Service request processing method and device, electronic equipment and computer storage medium
EP3846083A1 (en)Method and apparatus for parallel processing of information
CN111596991A (en)Interactive operation execution method and device and electronic equipment
CN111240801A (en)Method, device, medium and electronic equipment for generating heap memory snapshot file
CN112416303B (en)Software development kit hot repair method and device and electronic equipment
CN111324376B (en)Function configuration method, device, electronic equipment and computer readable medium
CN112631590A (en)Component library generation method and device, electronic equipment and computer readable medium
CN111324405A (en)Character display method and device and electronic equipment
CN112230986B (en) Project file generation method, device, electronic device and computer readable medium
CN111290812B (en) Display method, device, terminal and storage medium of application control
CN112256346A (en) Control display method, device and electronic device
CN111309323A (en)Parameter initialization method and device and electronic equipment
CN111459893B (en)File processing method and device and electronic equipment
CN112559328A (en)Method, device, equipment and medium for judging instruction simulation engine
CN116263824A (en) Resource access method, device, storage medium and electronic device
CN112905167A (en)Application operation method and device and electronic equipment
CN112346728B (en)Device adaptation method, apparatus, device and computer readable medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
TA01Transfer of patent application right
TA01Transfer of patent application right

Effective date of registration:20230508

Address after:Room 802, Information Building, 13 Linyin North Street, Pinggu District, Beijing, 101299

Applicant after:Beijing youzhuju Network Technology Co.,Ltd.

Address before:No. 715, 7th floor, building 3, 52 Zhongguancun South Street, Haidian District, Beijing 100081

Applicant before:Beijing infinite light field technology Co.,Ltd.

GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp